crabmail

Static HTML email archive viewer in Rust
git clone git://git.alexwennerberg.com/crabmail
Log | Files | Refs | README | LICENSE

commit 364eee06cac7a7be55d7494ce6390a8f1d024f7c
parent 16d2b88428a9f4609601bbefa76b4cc078e624b5
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Sun, 19 Dec 2021 09:10:40 -0800

Add dark mode

Diffstat:
Msrc/style.css | 11+++++++++++
1 file changed, 11 insertions(+), 0 deletions(-)

diff --git a/src/style.css b/src/style.css @@ -112,6 +112,15 @@ table.core { border-collapse: collapse; } +@media (prefers-color-scheme: dark) { +body, main { background: #1b262c; color: white; } +a { color: #21e6c1 } +a:visited { color: #21e6c1 } +.addr { + color: lightblue; +} +} + @media only screen and (max-width: 600px) { body { font-size: 16px; @@ -121,3 +130,5 @@ table.core { display: none; } } + +