« get me outta code hell

content, css: wrap name detail in heading nicely - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/static
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2026-06-07 19:31:55 -0300
committer(quasar) nebula <qznebula@protonmail.com>2026-06-07 19:31:55 -0300
commitfd393d953fcd50893e200fc77c95d2ed8cce5801 (patch)
tree8675d41665af1c7d503c8d7f140cabf2cc6d8791 /src/static
parent0585ed7e2c1b631f23fa32ccc599ab7a8b350404 (diff)
content, css: wrap name detail in heading nicely
Diffstat (limited to 'src/static')
-rw-r--r--src/static/css/page.css13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/static/css/page.css b/src/static/css/page.css
index 353ae873..8929dc72 100644
--- a/src/static/css/page.css
+++ b/src/static/css/page.css
@@ -810,12 +810,15 @@
 
   #content h1 {
     font-size: 1.5em;
-  }
 
-  #content h1 .name-detail {
-    opacity: 0.8;
-    margin-left: 0.5ch;
-    font-weight: inherit;
+    .title-part:has(+ .name-detail) {
+      margin-right: 0.5ch;
+    }
+
+    .name-detail {
+      opacity: 0.8;
+      font-weight: inherit;
+    }
   }
 
   #content li {