« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/static/css
diff options
context:
space:
mode:
Diffstat (limited to 'src/static/css')
-rw-r--r--src/static/css/site.css14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/static/css/site.css b/src/static/css/site.css
index 99f14e47..824c02ed 100644
--- a/src/static/css/site.css
+++ b/src/static/css/site.css
@@ -1103,6 +1103,20 @@ li:not(:first-child:last-child) .tooltip,
   color: var(--page-primary-color);
 }
 
+s.spoiler {
+  display: inline-block;
+  color: transparent;
+  text-decoration: underline;
+  text-decoration-color: white;
+  text-decoration-style: dashed;
+  text-decoration-skip: none;
+}
+
+s.spoiler::selection {
+  color: black;
+  background: white;
+}
+
 progress {
   accent-color: var(--primary-color);
 }