From ec049d0b1a6b4f82a06f668c9abee71a0900fb90 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Thu, 30 May 2024 15:43:11 +0300 Subject: [PATCH] web-browsers/usercss: start from smaller --- web-browsers/amber.user.css | 39 ------------------- web-browsers/revert.user.css | 27 ------------- .../usercss/black-background.user.css | 11 ++++++ web-browsers/usercss/change-fonts.user.css | 21 ++++++++++ 4 files changed, 32 insertions(+), 66 deletions(-) delete mode 100644 web-browsers/amber.user.css delete mode 100644 web-browsers/revert.user.css create mode 100644 web-browsers/usercss/black-background.user.css create mode 100644 web-browsers/usercss/change-fonts.user.css diff --git a/web-browsers/amber.user.css b/web-browsers/amber.user.css deleted file mode 100644 index b565848..0000000 --- a/web-browsers/amber.user.css +++ /dev/null @@ -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; - } -} diff --git a/web-browsers/revert.user.css b/web-browsers/revert.user.css deleted file mode 100644 index c194c78..0000000 --- a/web-browsers/revert.user.css +++ /dev/null @@ -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; -} diff --git a/web-browsers/usercss/black-background.user.css b/web-browsers/usercss/black-background.user.css new file mode 100644 index 0000000..438a5ab --- /dev/null +++ b/web-browsers/usercss/black-background.user.css @@ -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; +} diff --git a/web-browsers/usercss/change-fonts.user.css b/web-browsers/usercss/change-fonts.user.css new file mode 100644 index 0000000..fc6bf59 --- /dev/null +++ b/web-browsers/usercss/change-fonts.user.css @@ -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; +}