diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-10-20 14:46:28 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-10-20 14:46:28 -0300 |
commit | bb71489be98b6936f43d5e2b030276e928a86741 (patch) | |
tree | 1afd4f72315ab960c2c7eed65f3b208ffc60d3dd | |
parent | 6a4fb4046bed3f6d689dfd22de9e27e9c24b2ee0 (diff) |
css: s.spoiler
-rw-r--r-- | src/static/css/site.css | 14 |
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); } |