« get me outta code hell

css: add color-scheme to page - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2025-01-10 19:06:40 -0400
committer(quasar) nebula <qznebula@protonmail.com>2025-01-10 19:06:40 -0400
commit82310b36a9a5c5321f1dd7c495bff884f588931f (patch)
tree89b760dc3eafedb496d43a363c3b51ab1218d3c0
parent085ab0e889f1a3182dffb9f48cf33aff013f22ec (diff)
css: add color-scheme to page preview
this apparently fixes scrollbar rendering in safari on
overflow: scroll elements lol

blessings to: https://stackoverflow.com/a/75958175
-rw-r--r--src/static/css/site.css4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/static/css/site.css b/src/static/css/site.css
index 6c853161..4d4d6416 100644
--- a/src/static/css/site.css
+++ b/src/static/css/site.css
@@ -228,6 +228,10 @@ body::before, .wallpaper-part {
 
 /* Design & Appearance - Layout elements */
 
+:root {
+  color-scheme: dark;
+}
+
 body {
   background: black;
 }