summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBradley Taunt <brad@bt.ht>2023-12-12 14:02:53 -0500
committerBradley Taunt <brad@bt.ht>2023-12-12 14:02:53 -0500
commit5689bd01f8651dacf5db8d4363b5115472f9eed0 (patch)
tree65112e84c96344663928b979a45c59b966fce0e3
parentd630d03c4f8a9b8c2d571dd2872024911ff1d218 (diff)
Basic dark mode
-rw-r--r--local.css7
1 files changed, 7 insertions, 0 deletions
diff --git a/local.css b/local.css
index a2c0f06..d3d3475 100644
--- a/local.css
+++ b/local.css
@@ -20,3 +20,10 @@ table td{padding:8px;}
.page{display:block;}
.sidebar{float:right;margin:10px;}
}
+
+@media (prefers-color-scheme: dark) {
+ body {background:#2d2d2d;color:white;}
+ a{color:goldenrod;}
+ .pageheader,.sidebar{background:black;color:white;}
+ pre,code{background:black;}
+}