From 5689bd01f8651dacf5db8d4363b5115472f9eed0 Mon Sep 17 00:00:00 2001 From: Bradley Taunt Date: Tue, 12 Dec 2023 14:02:53 -0500 Subject: Basic dark mode --- local.css | 7 +++++++ 1 file changed, 7 insertions(+) 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;} +} -- cgit v1.2.3-54-g00ecf