usercss/lists-fedoraproject.user.css

43 lines
1.1 KiB
CSS
Raw Normal View History

/* ==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;
}
}