Compare commits

...

9 Commits

Author SHA1 Message Date
b469f427db
merge revert usercss 2024-05-30 14:09:34 +03:00
08636768d8
amber.user.css: actually only apply to light sites 2024-05-30 14:00:44 +03:00
5fdec9b16b
amber.user.css: fix the FontSet 2024-05-30 13:56:11 +03:00
97c1e8f92a
amber.user.css: initial commit 2024-05-30 13:51:59 +03:00
877da13c92
revert-s*: add border-color 2024-05-30 13:25:12 +03:00
60b142660f
userstyles: add mandatory namespace, version 2024-05-30 13:21:35 +03:00
745ecae2ab
web-browsers: initial userstyles
These will be merged together once I learn how, but I am not supposed to be playing around with these now. Even if I am just testing how they work.
2024-05-30 13:18:44 +03:00
4d6093e3c5
web-browsers: fix uBO symlink 2024-05-30 13:10:52 +03:00
ee9f9a9348
browsers: symlink to web-browsers/ as I keep forgetting 2024-05-30 13:09:45 +03:00
7 changed files with 70 additions and 2 deletions

1
.gitignore vendored
View File

@ -2,6 +2,7 @@
.~*#
.cache/**
*_original
browsers
# ---> TeX
## Core latex/pdflatex auxiliary files:

1
browsers Symbolic link
View File

@ -0,0 +1 @@
web-browsers

View File

@ -2,4 +2,4 @@ chromium
firefox
init-browser-policies.bash
blocklist.txt
blocklist2.txt
blocklist.ublockorigin.txt

View File

@ -0,0 +1,39 @@
/* ==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

@ -0,0 +1 @@
../DNS/blocklist.ublockorigin.txt

View File

@ -1 +0,0 @@
../DNS/blocklist2.txt

View File

@ -0,0 +1,27 @@
/* ==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;
}