From e754bed52740760c91be6b651887980a51cd59cf Mon Sep 17 00:00:00 2001 From: Arne Rief Date: Thu, 18 Sep 2025 21:04:22 +0200 Subject: UI improvements --- assets/css/main.css | 15 +++++++++++++-- layouts/partials/single/next-prev.html | 1 + layouts/partials/single/tags.html | 4 ++-- 3 files changed, 16 insertions(+), 4 deletions(-) diff --git a/assets/css/main.css b/assets/css/main.css index 4d1fb7a..4431c30 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -67,7 +67,7 @@ body { display: grid; grid-template-rows: auto auto 1fr auto; /* Ensure header & navmenu at top, main taking up main space, footer at bottom */ margin: 1.5rem auto; - max-width: 75ch; + max-width: 740px; min-height: 100vh; } @@ -368,6 +368,11 @@ time { margin-bottom: var(--gap-large); } +.post-navigation > hr { + height: 2px; + margin-bottom: var(--gap-large); +} + .post__navigation-list { display: flex; align-items: center; @@ -375,6 +380,8 @@ time { margin: 0 1rem !important; @media (max-width: 768px) { + flex-direction: column; + gap: var(--gap-default); margin: 0 !important; } } @@ -390,7 +397,7 @@ time { height: 2.5rem; width: 2.5rem; position: absolute; - bottom: 5rem; + bottom: 6rem; right: 0; z-index: 1000; @@ -409,6 +416,10 @@ time { margin: var(--margin-padding-Y-big); } +.post__tags-heading { + font-weight: bold; +} + .post__tags-list { display: flex; gap: var(--gap-default); diff --git a/layouts/partials/single/next-prev.html b/layouts/partials/single/next-prev.html index 4d6e962..452ce7e 100644 --- a/layouts/partials/single/next-prev.html +++ b/layouts/partials/single/next-prev.html @@ -1,6 +1,7 @@ {{- /* Navigation for next & previous post and back to top */ -}} {{- if ne .Params.excludeFromLists true }}