Stylin' changes

This commit is contained in:
2024-03-11 09:05:17 +11:00
parent 1712d634e5
commit 8c5cd44c52
2 changed files with 12 additions and 9 deletions

View File

@@ -22,17 +22,17 @@ div class="mb-8 max-w-screen-md mx-auto border-t border-solid border-gray-200 da
p See all
div class="flex justify-between max-w-prose mx-auto mb-2"
h2 class="text-xl text-amber-600 dark:text-amber-200" Weekly posts
a class="rounded px-2 text-amber-600 hover:dark:bg-amber-900 hover:dark:text-amber-100 dark:text-amber-200 hover:text-amber-600 hover:bg-amber-100" href="/tagged/weekly" See all →
h2 class="text-xl text-lime-600 dark:text-lime-200" Weekly posts
a class="rounded px-2 text-lime-600 hover:dark:bg-lime-900 hover:dark:text-lime-100 dark:text-lime-200 hover:text-lime-600 hover:bg-lime-100" href="/tagged/weekly" See all →
div class="mb-12 max-w-prose mx-auto bg-amber-100 rounded dark:bg-amber-900 dark:text-gray-100"
div class="mb-12 max-w-prose mx-auto bg-lime-100 rounded dark:bg-lime-900 dark:text-gray-100"
ul class="columns-1"
- week_posts.each do |post|
li class=""
a class="block content-justify hover:bg-amber-200 decoration-wavy rounded py-1.5 px-2" href="/post/#{post.slug}"
a class="block content-justify hover:bg-lime-200 hover:dark:bg-lime-800 decoration-wavy rounded py-1.5 px-2" href="/post/#{post.slug}"
div class="flex justify-between"
span class="grow-0 inline-block pr-2" = post.name
span class="border-b border-amber-400 dark:border-amber-600 -top-3 relative border-dashed grow inline-block"
span class="border-b border-lime-400 dark:border-lime-600 -top-3 relative border-dashed grow inline-block"
span class="grow-0 inline-block pl-2" = post.display_published_at
div class="flex justify-between max-w-prose mx-auto mb-2"