From 604dc002bf840619b4554f182f41447cfc3865fc Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sun, 9 May 2021 19:15:11 -0300 Subject: collapsible track groups in sidebar! (ty Niklink) --- src/static/site.css | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'src/static') 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; -- cgit 1.3.0-6-gf8a5