- commit
- 3f2f7e56331ab13c408302d56bbf589f87f215da
- parent
- 93a10e588d879f94f7317859bc344bcc7f2248e9
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2023-07-06 06:24
use color-scheme
Diffstat
| M | stack.html | 9 | ++++----- |
1 files changed, 4 insertions, 5 deletions
diff --git a/stack.html b/stack.html
@@ -28,7 +28,7 @@ 28 28 } 29 29 a:hover, 30 30 a:focus {31 -1 background: #eef;-1 31 background: rgba(0,0,0,0.1); 32 32 } 33 33 34 34 .icon { @@ -38,13 +38,12 @@ 38 38 } 39 39 40 40 @media (prefers-color-scheme: dark) {41 -1 html {42 -1 background: black;43 -1 color: white;-1 41 :root { -1 42 color-scheme: dark; 44 43 } 45 44 a:hover, 46 45 a:focus {47 -1 background: #333;-1 46 background: rgba(255,255,255,0.2); 48 47 } 49 48 } 50 49 </style>