From bb71489be98b6936f43d5e2b030276e928a86741 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sun, 20 Oct 2024 14:46:28 -0300 Subject: css: s.spoiler --- src/static/css/site.css | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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); } -- cgit 1.3.0-6-gf8a5