summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2023-02-02 13:10:54 (GMT)
committerHolger Weiss <holger@zedat.fu-berlin.de>2023-02-02 13:10:54 (GMT)
commit8a04a916181850af93c6a2d7c9e3cbd591e2c344 (patch)
treea4dc0e1a83253e59a1e4035d4a6d032b04f6d6d8 /web
parent737c2c7afd21c99eab446aea1bb9dd21185757d0 (diff)
downloadsite-8a04a916181850af93c6a2d7c9e3cbd591e2c344.tar.gz
Add an initial dark theme
A proper dark theme would need more work, though.
Diffstat (limited to 'web')
-rw-r--r--web/input/resources/plugins.css19
1 files changed, 19 insertions, 0 deletions
diff --git a/web/input/resources/plugins.css b/web/input/resources/plugins.css
index 6971947..933d00d 100644
--- a/web/input/resources/plugins.css
+++ b/web/input/resources/plugins.css
@@ -311,3 +311,22 @@ img.travis {
311 display: none; 311 display: none;
312 } 312 }
313} 313}
314
315/*
316 * Dark scheme.
317 */
318@media (prefers-color-scheme: dark) {
319 /*
320 * Loosely based on:
321 *
322 * https://material.io/archive/guidelines/style/color.html#color-themes
323 */
324 body {
325 color: #eee;
326 background-color: #212121;
327 }
328
329 h1, h2, h3, h4, h5, h6 {
330 color: #eee;
331 }
332}