amber.user.css: actually only apply to light sites

This commit is contained in:
Aminda Suomalainen 2024-05-30 14:00:44 +03:00
parent 5fdec9b16b
commit 08636768d8
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -2,7 +2,7 @@
@name Dark Amber
@updateURL https://gitea.blesmrt.net/mikaela/gist/raw/branch/master/web-browsers/amber.user.css
@namespace eu.aminda
@version 2024.22.2
@version 2024.22.3
@preprocessor stylus
@var select FontSet "Font Set" {
"Liberation Serif, Tinos, Times New Roman, serif": 'serif',
@ -10,28 +10,30 @@
}
==/UserStyle== */
:root {
color-scheme: only dark !important;
}
@media (prefers-color-scheme: light) {
:root {
color-scheme: only dark !important;
}
*:not(a) {
color: revert !important;
overflow-wrap: break-word !important;
hyphens: auto !important;
color: #ffb700 !important;
border-color: #ffb700 !important;
background-color: #000000 !important;
font-family: FontSet !important;
}
*:not(a) {
color: revert !important;
overflow-wrap: break-word !important;
hyphens: auto !important;
color: #ffb700 !important;
border-color: #ffb700 !important;
background-color: #000000 !important;
font-family: FontSet !important;
}
a {
color: revert !important;
text-decoration: underline !important;
font-family: FontSet !important;
}
a {
color: revert !important;
text-decoration: underline !important;
font-family: FontSet !important;
}
code,
pre {
font-family: $monospace-font-family !important;
font-size: 0.8em !important;
code,
pre {
font-family: $monospace-font-family !important;
font-size: 0.8em !important;
}
}