mirror of
https://gitea.blesmrt.net/mikaela/gist.git
synced 2024-12-18 08:12:32 +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
|
||||
@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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user