diff options
author | sijanec <anton@sijanec.eu> | 2021-04-06 00:28:47 +0200 |
---|---|---|
committer | sijanec <anton@sijanec.eu> | 2021-04-06 00:28:47 +0200 |
commit | c06d211388a13adb9fc03afca1f748c612c4680b (patch) | |
tree | 1d17f8e34178f4b23f887085184800946b14a236 | |
parent | še en barvni popravek za input elemente (diff) | |
download | sijanec.eu-c06d211388a13adb9fc03afca1f748c612c4680b.tar sijanec.eu-c06d211388a13adb9fc03afca1f748c612c4680b.tar.gz sijanec.eu-c06d211388a13adb9fc03afca1f748c612c4680b.tar.bz2 sijanec.eu-c06d211388a13adb9fc03afca1f748c612c4680b.tar.lz sijanec.eu-c06d211388a13adb9fc03afca1f748c612c4680b.tar.xz sijanec.eu-c06d211388a13adb9fc03afca1f748c612c4680b.tar.zst sijanec.eu-c06d211388a13adb9fc03afca1f748c612c4680b.zip |
-rw-r--r-- | _sass/main.scss | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/_sass/main.scss b/_sass/main.scss index e04b88b..608e0cc 100644 --- a/_sass/main.scss +++ b/_sass/main.scss @@ -14,12 +14,13 @@ --fgcodec: #aed; --bgcodec: var(--bgc2); --bgclight: darkgray; + --scheme-name: dark; } @media (prefers-color-scheme: light) { :root { --bgc1: white; - --bgc2: gray; + --bgc2: lightgray; --bgc3: darkgray; --fgc1: black; --fgc2: gray; @@ -33,6 +34,7 @@ --fgcodec: var(--bgc1); --bgcodec: var(--fgc1); --bgclight: darkgray; + --scheme-name: light; } } @@ -55,7 +57,7 @@ input, textarea { background: var(--bgc2); - color: var(--fgc2); + color: var(--fgc1); } table { @@ -138,7 +140,7 @@ a:active { /* comments end */ -@media screen and (min-width: 600px) { +@media screen and (min-width: 1000px) { body { margin-left: 10%; margin-right: 10%; @@ -151,6 +153,7 @@ body { font-family: sans-serif; background-color: var(--bgc1); color: var(--fgc1); + scrollbar-color: var(--scheme-name); } code { |