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

github.com/niklasbuschmann/contrast-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'static/css/theme.css')
-rw-r--r--static/css/theme.css8
1 files changed, 7 insertions, 1 deletions
diff --git a/static/css/theme.css b/static/css/theme.css
index 6c67968..c31acee 100644
--- a/static/css/theme.css
+++ b/static/css/theme.css
@@ -1,3 +1,10 @@
+@media (prefers-color-scheme: light) {
+ html {
+ background: #fff;
+ color: #282828;
+ }
+}
+
@media (prefers-color-scheme: dark) {
html {
background: #282828;
@@ -11,7 +18,6 @@ body {
font-size: calc(0.8rem + 0.25vw);
font-weight: 400;
line-height: 1.65;
- color: #282828;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}