« get me outta code hell

content: generateArtTagSidebar: combine boxes into one - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/static/css/site.css
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-10-05 23:52:35 -0300
committer(quasar) nebula <qznebula@protonmail.com>2025-02-25 20:03:26 -0400
commit931f3c0c86a0919ef8ebd8be69a9e081d579b1e6 (patch)
tree68257adb8fc724584a198db2ef08d8a42f0f0b28 /src/static/css/site.css
parent140a757cde7fdb1a72b56c5d39de713595c053ad (diff)
content: generateArtTagSidebar: combine boxes into one
Diffstat (limited to 'src/static/css/site.css')
-rw-r--r--src/static/css/site.css31
1 files changed, 28 insertions, 3 deletions
diff --git a/src/static/css/site.css b/src/static/css/site.css
index cb992d6c..4fdf0fcc 100644
--- a/src/static/css/site.css
+++ b/src/static/css/site.css
@@ -394,12 +394,37 @@ body::before, .wallpaper-part {
   margin-left: 0;
 }
 
-.sidebar dl > dd > dl {
+.sidebar > dl .side {
+  padding-left: 10px;
+}
+
+.sidebar details.has-tree-list[open] summary {
+  font-weight: 800;
+}
+
+.sidebar dl.tree-list {
+  margin-top: 0.25em;
+  line-height: 1.25em;
   padding-left: 15px;
 }
 
-.sidebar > dl .side {
-  padding-left: 10px;
+.sidebar dl.tree-list dt {
+  display: list-item;
+  list-style-type: disc;
+  padding-left: 0;
+  margin-left: 20px;
+}
+
+.sidebar dl.tree-list dl {
+  padding-left: 15px;
+}
+
+.sidebar dl.tree-list dd {
+  margin-left: 0;
+}
+
+.sidebar dl.tree-list .current {
+  font-weight: 800;
 }
 
 .sidebar li.current {