diff options
author | Hiltjo Posthuma <[email protected]> | 2022-03-15 16:58:32 +0100 |
---|---|---|
committer | Hiltjo Posthuma <[email protected]> | 2022-03-19 12:23:16 +0100 |
commit | 7c419a8bac26e491206953bf2646ac634296b160 (patch) | |
tree | 45b50bdd683960325727ae008eb71f4b147d2b7d | |
parent | 037d2c70531b879ced2f013e3d75e95c1b29553b (diff) | |
download | stagit-7c419a8bac26e491206953bf2646ac634296b160.tar.gz stagit-7c419a8bac26e491206953bf2646ac634296b160.zip |
add dark mode support for the example stylesheet
-rw-r--r-- | style.css | 48 |
1 files changed, 48 insertions, 0 deletions
@@ -104,3 +104,51 @@ pre a.i:hover, pre a.d:hover { text-decoration: none; } + +@media (prefers-color-scheme: dark) { + body { + background-color: #000; + color: #bdbdbd; + } + hr { + border-color: #222; + } + a { + color: #56c8ff; + } + a:target { + background-color: #222; + } + .desc { + color: #aaa; + } + #blob a { + color: #555; + } + #blob a:target { + color: #eee; + } + #blob a:hover { + color: #56c8ff; + } + pre a.h { + color: #00cdcd; + } + .A, + span.i, + pre a.i { + color: #00cd00; + } + .D, + span.d, + pre a.d { + color: #cd0000; + } + #branches tr:hover td, + #tags tr:hover td, + #index tr:hover td, + #log tr:hover td, + #files tr:hover td { + background-color: #111; + } +} |