commit 0e26df03e5ab2387999492c2cc7c8cf379c0536d
parent fad48ffa27af96ee0d9489ded88f80c1eeb238dc
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 15 Mar 2022 16:39:12 +0100
style.css: add dark mode support for example file
This stylesheet is for sfeed_frames and sfeed_html.
Diffstat:
1 file changed, 9 insertions(+), 0 deletions(-)
diff --git a/style.css b/style.css
@@ -57,3 +57,12 @@ body.frame {
body.frame #sidebar br {
display: none;
}
+@media (prefers-color-scheme: dark) {
+ body {
+ background-color: #000;
+ color: #bdbdbd;
+ }
+ a {
+ color: #56c8ff;
+ }
+}