« get me outta code hell

collapsible track groups in sidebar! (ty Niklink) - 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 <towerofnix@gmail.com>2021-05-09 19:15:11 -0300
committer(quasar) nebula <towerofnix@gmail.com>2021-05-09 19:15:11 -0300
commit604dc002bf840619b4554f182f41447cfc3865fc (patch)
treee28be212458ccb86cf04aef5172f7efeba5a1314 /src/static
parent84189c133fa6074dc6b8eb80fdd6def033afb0ca (diff)
collapsible track groups in sidebar! (ty Niklink)
Diffstat (limited to 'src/static')
-rw-r--r--src/static/site.css29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/static/site.css b/src/static/site.css
index ae41f88d..4728410a 100644
--- a/src/static/site.css
+++ b/src/static/site.css
@@ -339,6 +339,35 @@ footer > :last-child {
     overflow-wrap: break-word;
 }
 
+.sidebar > details.current summary {
+    font-weight: 800;
+}
+
+.sidebar > details summary {
+    margin-top: 0.5em;
+    padding-left: 5px;
+    user-select: none;
+}
+
+.sidebar > details summary:hover {
+    cursor: pointer;
+    text-decoration: underline;
+}
+
+.sidebar > details ul,
+.sidebar > details ol {
+    margin-top: 0;
+    margin-bottom: 0;
+}
+
+.sidebar > details:last-child {
+    margin-bottom: 10px;
+}
+
+.sidebar > details[open] {
+    margin-bottom: 1em;
+}
+
 .sidebar article {
     text-align: left;
     margin: 5px 5px 15px 5px;