From ee40b651a9aa9de6cefed616ab2c47f049c9e4e8 Mon Sep 17 00:00:00 2001 From: Tyler Hallada Date: Sat, 31 Jul 2021 23:46:00 -0400 Subject: [PATCH] Fix dark mode --- css/main.css | 2 +- css/main_dark.css | 16 ++++------------ 2 files changed, 5 insertions(+), 13 deletions(-) diff --git a/css/main.css b/css/main.css index 8009d43..40d33aa 100755 --- a/css/main.css +++ b/css/main.css @@ -15,7 +15,7 @@ html { width: 100%; height: 100%; - background: whitesmoke; + background-color: whitesmoke; } body { diff --git a/css/main_dark.css b/css/main_dark.css index 61e07cd..f763a26 100644 --- a/css/main_dark.css +++ b/css/main_dark.css @@ -1,9 +1,5 @@ /* Dark theme */ -html { - background-color: #0F0908; -} - html { filter: invert(90%); } @@ -30,18 +26,14 @@ a:not(.card) img:not(.icon) { } .card { - box-shadow: 0 1px 2px #fff; + box-shadow: 0 1px 2px #fff !important; } .post pre { - background-color: #fff; -} - -.post code { - background-color: #fff; + background-color: #fff !important; } .post a code { - background-color: #222; - border: 1px solid #333; + background-color: #222 !important; + border: 1px solid #333 !important; }