From e3212127e593683ad21c757cd4d2a8d5c6cb301e Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Sat, 29 May 2021 01:18:09 +0200 Subject: [PATCH] Add a dark theme --- style.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/style.css b/style.css index 8277516..bae34d8 100644 --- a/style.css +++ b/style.css @@ -1,3 +1,10 @@ +@media (prefers-color-scheme: dark) { + body { + background-color: black; + filter: invert(1) hue-rotate(180deg) + } +} + body { max-width: 60em; text-align: justify;