feat: add lists-fedoraproject style

Signed-off-by: Matej Focko <me@mfocko.xyz>
This commit is contained in:
Matej Focko 2024-08-05 18:32:39 +02:00
parent 63ffab965c
commit 9c2d4cec02
Signed by: mfocko
SSH key fingerprint: SHA256:icm0fIOSJUpy5+1x23sfr+hLtF9UhY8VpMC7H4WFJP8
2 changed files with 43 additions and 0 deletions

View file

@ -4,6 +4,7 @@
* [ismu](./ismu.user.css)
* [jira](./jira.user.css)
* [lists-fedoraproject](./lists-fedoraproject.user.css)
* [mikrotik](./mikrotik.user.css)
* [notion](./notion.user.css)
* [pagure](./pagure.user.css)

View file

@ -0,0 +1,42 @@
/* ==UserStyle==
@name lists.fedoraproject.org
@namespace git.mfocko.xyz/mfocko/usercss
@updateURL https://git.mfocko.xyz/mfocko/usercss/raw/branch/main/lists-fedoraproject.user.css
@version 1.1.6
@description Change default font for the email body.
@author mfocko <me@mfocko.xyz>
@preprocessor stylus
@var select monospace-font "Font" [
"custom*",
"Berkeley Mono Variable",
"Cascadia Code NF",
"Comic Code Ligatures",
"Fira Code",
"Hack",
"IBM Plex Mono",
"Iosevka Term",
"Iosevka Term Slab",
"Iosevka Comfy",
"Pragmasevka",
"JetBrains Mono",
"JuliaMono",
"MonoLisa Variable",
"PragmataPro Liga",
"PragmataPro Mono Liga",
"Rec Mono Linear",
"Roboto Mono",
"SF Mono",
"Source Code Pro",
"Victor Mono",
]
@var text custom-font "Custom font" "monospace"
==/UserStyle== */
if monospace-font=="custom"
monospace-font=custom-font
@-moz-document domain("lists.fedoraproject.org") {
.email-body {
font-family: monospace-font !important;
}
}