Design cleanup

This commit is contained in:
2023-02-25 17:44:57 +11:00
parent 58124efde5
commit f5fe1c6f6f
4 changed files with 42 additions and 4 deletions

View File

@@ -12,8 +12,13 @@ div class="prose max-w-prose mx-auto text-gray-800 dark:text-gray-200 grid grid-
div class="mb-8 max-w-screen-md mx-auto border-t-4 border-solid border-gray-400 dark:border-gray-600"
div class="mb-2 max-w-prose mx-auto text-gray-800 dark:text-gray-200 flex"
= "Published #{bookmark.display_published_at}"
div class="max-w-prose mx-auto text-gray-600 dark:text-gray-200 flex"
div class=""
= "Published "
time class="dt-published" datetime=bookmark.machine_published_at
= bookmark.display_published_at
span class="text-right flex-1"
== render :tags, tags: bookmark.tags

View File

@@ -22,7 +22,7 @@ article class="h-entry"
div class="max-w-prose mx-auto text-gray-600 dark:text-gray-200 flex"
div class=""
= "Published "
time class="dt-published" datetime=post.published_at
time class="dt-published" datetime=post.machine_published_at
= post.display_published_at
p
a class="p-author h-card" href=Hanami.app.settings.micropub_site_url

View File

@@ -4,5 +4,5 @@
= "Tagged: "
- tags.each do |tag|
span
a class="p-category rounded p-1 mr-1 text-xsm u-url bg-yellow-200/60 hover:bg-yellow-200 dark:bg-yellow-400 dark:hover:bg-yellow-400/80 dark:text-yellow-800 dark:hover:text-yellow-100 text-gray-600" href="/tagged/#{tag.slug}"
a class="p-category rounded p-1 mr-1 text-xsm u-url bg-yellow-100/60 hover:bg-yellow-200 dark:bg-yellow-400 dark:hover:bg-yellow-400/80 dark:text-yellow-800 dark:hover:text-yellow-100 text-gray-600" href="/tagged/#{tag.slug}"
= tag.label