Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/fncnt/vncnt-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfncnt <github@vncnt.eu>2019-05-25 12:07:23 +0300
committerfncnt <github@vncnt.eu>2019-05-25 12:07:23 +0300
commit61e554fa30cec707b2cf890c99331b8cde5fb889 (patch)
tree3fc3a28c049bda598494f781a6b6b18200a35af7
parent4de1dddf3513b0002ac1bda6c120c906a562e9d6 (diff)
Fix darkmode by replacing :html with :root in prefers-color-scheme media query.
-rw-r--r--static/css/vncnt.css2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/css/vncnt.css b/static/css/vncnt.css
index f738adc..63fb563 100644
--- a/static/css/vncnt.css
+++ b/static/css/vncnt.css
@@ -19,7 +19,7 @@ there.
@import url('barebones.css');
@media screen and (prefers-color-scheme: dark) {
- :html {
+ :root {
/* dark theme: light background, dark text, blue accent */
--theme-hue: 0; /* black */
--accent-hue: 194; /* blue */