web-browsers/usercss: start from smaller

This commit is contained in:
Aminda Suomalainen 2024-05-30 15:43:11 +03:00
parent b469f427db
commit ec049d0b1a
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
4 changed files with 32 additions and 66 deletions

View File

@ -1,39 +0,0 @@
/* ==UserStyle==
@name Dark Amber
@updateURL https://gitea.blesmrt.net/mikaela/gist/raw/branch/master/web-browsers/amber.user.css
@namespace eu.aminda
@version 2024.22.3
@preprocessor stylus
@var select FontSet "Font Set" {
"Liberation Serif, Tinos, Times New Roman, serif": 'serif',
"Liberation Sans, Arimo, Arial, sans-serif": 'sans-serif'
}
==/UserStyle== */
@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;
}
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;
}
}

View File

@ -1,27 +0,0 @@
/* ==UserStyle==
@name Revert
@updateURL https://gitea.blesmrt.net/mikaela/gist/raw/branch/master/web-browsers/revert-serif.user.css
@namespace eu.aminda
@version 2024.22.0
@var select FontSet "Font Set" {
"Liberation Serif, Tinos, Times New Roman, serif": 'serif',
"Liberation Sans, Arimo, Arial, sans-serif": 'sans-serif'
}
==/UserStyle== */
:root {
color-scheme: dark light !important;
}
* {
font-family: FontSet !important;
color: revert !important;
border-color: revert !important;
background-color: revert !important;
}
a {
text-decoration: underline !important;
}
code,
pre {
font-family: "Liberation Mono", "Cousine", "Courier New", monospace !important;
}

View File

@ -0,0 +1,11 @@
/* ==UserStyle==
@name (AMOLED) Black Background
@updateURL https://gitea.blesmrt.net/mikaela/gist/raw/branch/master/usercss/black-background.user.css
@namespace eu.aminda
@version 2024.22.0
==/UserStyle== */
/* Either the Serif or Sans-Serif specified above. */
body {
background-color: "#000000" !important;
}

View File

@ -0,0 +1,21 @@
/* ==UserStyle==
@name Change Fonts
@updateURL https://gitea.blesmrt.net/mikaela/gist/raw/branch/master/usercss/change-fonts.user.css
@namespace eu.aminda
@version 2024.22.0
@var select FontSet "Font Set" {
"Serif": "Liberation Serif, Tinos, Times New Roman, serif",
"Sans Serif": "Liberation Sans, Arimo, Arial, sans-serif"
}
==/UserStyle== */
/* Either the Serif or Sans-Serif specified above. */
* {
font-family: FontSet !important;
}
/* Code blocks preferably use monospace font, which is specified here then. */
code,
pre {
font-family: "Liberation Mono", "Cousine", "Courier New", monospace !important;
}