From 2a65a1af2dd22c91ed3296dbea3809bdd1e988c3 Mon Sep 17 00:00:00 2001 From: grm Date: Thu, 17 Sep 2026 22:12:55 +0300 Subject: Keep the tags off the title when a post shows no date The tags' negative top margin tucks them under the date line; without a date (hidden on the post, or blog-wide) it pulled them into the title. It now applies only when a date precedes them. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01Sd8UPWrvyYCLj97JexNw3A --- internal/web/static/blog.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/web/static/blog.css b/internal/web/static/blog.css index edf92e5..273cf7e 100644 --- a/internal/web/static/blog.css +++ b/internal/web/static/blog.css @@ -118,7 +118,8 @@ img { max-width: 100%; height: auto; } .col .site-nav .mod-title { padding: 0 1em; } .col .site-nav .nav-inner { padding: 0; } .col .site-nav a { display: block; padding: 0.4em 1em; } -.post-tags { margin: -0.5em 0 0.8em; font-size: 0.85em; opacity: 0.8; } +.post-tags { margin: 0.4em 0 0.8em; font-size: 0.85em; opacity: 0.8; } +.post-date + .post-tags { margin-top: -0.5em; } /* tucked under the date line when there is one */ .post-tags a { margin-right: 0.7em; } .tagcloud { margin: 0; line-height: 1.8; } .tagcloud a { display: inline-block; margin-right: 0.5em; text-decoration: none; } -- cgit v1.2.3