From 951e8539d292ce899fb239ad7fda4f19a65a50f3 Mon Sep 17 00:00:00 2001 From: Vitaly Zdanevich Date: Sat, 12 Dec 2020 11:11:30 +0300 Subject: [PATCH] Dark theme add --- index.css | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/index.css b/index.css index b602b98..ed71025 100644 --- a/index.css +++ b/index.css @@ -74,3 +74,17 @@ aside#soimort-links #soimort { aside#soimort-toolbar { visibility: hidden; } + +@media (prefers-color-scheme: dark) { + body, + blockquote { + background: #000 !important; + color: #ddd !important; + } + blockquote { + border: 1px solid #222; + } + figure { + filter: invert(1); + } +}