aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgrm <grm@eyesin.space>2026-09-17 22:12:55 +0300
committergrm <grm@eyesin.space>2026-09-17 22:12:55 +0300
commit2a65a1af2dd22c91ed3296dbea3809bdd1e988c3 (patch)
tree53eace8d687d639ab5fcc6d866d37b8b1a6cc8b4
parentb83e241a331d24718527467e70ae9879f16a71d1 (diff)
downloadblogspace-2a65a1af2dd22c91ed3296dbea3809bdd1e988c3.tar.gz
blogspace-2a65a1af2dd22c91ed3296dbea3809bdd1e988c3.tar.bz2
blogspace-2a65a1af2dd22c91ed3296dbea3809bdd1e988c3.zip
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 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Sd8UPWrvyYCLj97JexNw3A
-rw-r--r--internal/web/static/blog.css3
1 files changed, 2 insertions, 1 deletions
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; }