stagit

static git page generator  https://git.ce9e.org
git clone https://git.ce9e.org/stagit.git

commit
6d738e67aa1fc49e0a5e570fadccf996d1c32e29
parent
612b761007538c95b24843ade2df7018882d9046
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2023-08-07 20:00
css: dark mode

Diffstat

M data/style.css 15 ++++++++++++++-

1 files changed, 14 insertions, 1 deletions


diff --git a/data/style.css b/data/style.css

@@ -1,6 +1,6 @@
    1     1 :root {
    2     2 	--bg-tint: #eee;
    3    -1 	--fg-tint: #777;
   -1     3 	--fg-tint: #666;
    4     4 	--bg-ins: #cfd;
    5     5 	--fg-ins: #2b4;
    6     6 	--bg-del: #fde;
@@ -148,3 +148,16 @@ nav {
  148   148 .line a:focus {
  149   149 	color: inherit;
  150   150 }
   -1   151 
   -1   152 @media (prefers-color-scheme: dark) {
   -1   153 	:root {
   -1   154 		--bg-tint: #333;
   -1   155 		--fg-tint: #999;
   -1   156 		--bg-ins: #145;
   -1   157 		--fg-ins: #4b5;
   -1   158 		--bg-del: #611;
   -1   159 		--fg-del: #d33;
   -1   160 		--bg-highlight: #751;
   -1   161 		color-scheme: dark;
   -1   162 	}
   -1   163 }