diff options
| author | unwox <me@unwox.com> | 2024-11-15 23:57:44 +0600 |
|---|---|---|
| committer | unwox <me@unwox.com> | 2024-11-15 23:57:44 +0600 |
| commit | c7d137923ffa579f6787b2b0615e3185cf0f46f4 (patch) | |
| tree | 819d99ee81cce69c225235a31cbd488fc4de6804 /static/style.css | |
| parent | d1187c13a378a026645d6361f893bcc25d5d2ed2 (diff) | |
add dark theme
Diffstat (limited to 'static/style.css')
| -rw-r--r-- | static/style.css | 34 |
1 files changed, 33 insertions, 1 deletions
diff --git a/static/style.css b/static/style.css index 898d7bf..b7b1683 100644 --- a/static/style.css +++ b/static/style.css @@ -1,5 +1,4 @@ body { - background: #ffffff; margin: 3rem; font-family: sans-serif, monospace, serif; color: #352a2e; @@ -282,3 +281,36 @@ footer { width: 10rem; } } + +@media (prefers-color-scheme: dark) { + body { + background-color: #000000; + color: #ffffff; + } + + .paginator a, + .menu a, + a { + color: burlywood; + } + + .menu a.active { + color: #ffffff; + } + + .logo { + filter: brightness(10); + } + + button, + select, + input { + background-color: #000000; + color: #ffffff; + border: 1px solid #ffffff; + } + + footer { + border-top: 1px solid #444444; + } +} |
