« get me outta code hell

content, css: generateDotSwitcherTemplate - 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>2024-10-15 23:17:05 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-11-02 22:12:48 -0300
commit8c1df54b8b170adf81ffc2bfb5d49704b229647f (patch)
tree8ccbcebcf04ccd5c177c96dce754533f4109b2ef /src/static
parent3fc178e77b076837358274821a148e3047378d45 (diff)
content, css: generateDotSwitcherTemplate
Diffstat (limited to 'src/static')
-rw-r--r--src/static/css/site.css19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/static/css/site.css b/src/static/css/site.css
index b49464e0..d4d9deb1 100644
--- a/src/static/css/site.css
+++ b/src/static/css/site.css
@@ -822,6 +822,25 @@ a:not([href]):hover {
   content: "\0020/\0020";
 }
 
+.dot-switcher > span:not(:first-child)::before {
+  content: "\0020\00b7\0020";
+  font-weight: 800;
+}
+
+.dot-switcher > span.current {
+  font-weight: 800;
+}
+
+.dot-switcher > span:not(.current) a {
+  text-decoration: underline;
+  text-decoration-style: dotted;
+}
+
+.dot-switcher > span.current a {
+  /* Keeping cursor: pointer (the default) is intentional here. */
+  text-decoration: none !important;
+}
+
 #secondary-nav {
   text-align: center;
 }