mirror of
https://gitea.blesmrt.net/mikaela/gist.git
synced 2024-12-18 16:22:30 +01:00
amber.user.css: actually only apply to light sites
This commit is contained in:
parent
5fdec9b16b
commit
08636768d8
@ -2,7 +2,7 @@
|
|||||||
@name Dark Amber
|
@name Dark Amber
|
||||||
@updateURL https://gitea.blesmrt.net/mikaela/gist/raw/branch/master/web-browsers/amber.user.css
|
@updateURL https://gitea.blesmrt.net/mikaela/gist/raw/branch/master/web-browsers/amber.user.css
|
||||||
@namespace eu.aminda
|
@namespace eu.aminda
|
||||||
@version 2024.22.2
|
@version 2024.22.3
|
||||||
@preprocessor stylus
|
@preprocessor stylus
|
||||||
@var select FontSet "Font Set" {
|
@var select FontSet "Font Set" {
|
||||||
"Liberation Serif, Tinos, Times New Roman, serif": 'serif',
|
"Liberation Serif, Tinos, Times New Roman, serif": 'serif',
|
||||||
@ -10,11 +10,12 @@
|
|||||||
}
|
}
|
||||||
==/UserStyle== */
|
==/UserStyle== */
|
||||||
|
|
||||||
:root {
|
@media (prefers-color-scheme: light) {
|
||||||
|
:root {
|
||||||
color-scheme: only dark !important;
|
color-scheme: only dark !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
*:not(a) {
|
*:not(a) {
|
||||||
color: revert !important;
|
color: revert !important;
|
||||||
overflow-wrap: break-word !important;
|
overflow-wrap: break-word !important;
|
||||||
hyphens: auto !important;
|
hyphens: auto !important;
|
||||||
@ -22,16 +23,17 @@
|
|||||||
border-color: #ffb700 !important;
|
border-color: #ffb700 !important;
|
||||||
background-color: #000000 !important;
|
background-color: #000000 !important;
|
||||||
font-family: FontSet !important;
|
font-family: FontSet !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: revert !important;
|
color: revert !important;
|
||||||
text-decoration: underline !important;
|
text-decoration: underline !important;
|
||||||
font-family: FontSet !important;
|
font-family: FontSet !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
code,
|
code,
|
||||||
pre {
|
pre {
|
||||||
font-family: $monospace-font-family !important;
|
font-family: $monospace-font-family !important;
|
||||||
font-size: 0.8em !important;
|
font-size: 0.8em !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user