stagit

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.clttr.info/stagit.git
Log | Files | Refs | README | LICENSE

commit 7c419a8bac26e491206953bf2646ac634296b160
parent 037d2c70531b879ced2f013e3d75e95c1b29553b
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Tue, 15 Mar 2022 16:58:32 +0100

add dark mode support for the example stylesheet

Diffstat:
Mstyle.css | 48++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+), 0 deletions(-)

diff --git a/style.css b/style.css @@ -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; + } +}