gist/web-browsers/usercss/change-fonts.user.css

29 lines
817 B
CSS

/* ==UserStyle==
@name Change Fonts
@updateURL https://gitea.blesmrt.net/mikaela/gist/raw/branch/master/web-browsers/usercss/change-fonts.user.css
@namespace eu.aminda
@version 2024.22.2
@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: var(FontSet) !important;
}
@font-face {
font-family: var(FontSet) !important;
}
/* Code blocks preferably use monospace font, which is specified here then. */
code,
pre {
font-family: "Liberation Mono", "Cousine", "Courier New", monospace !important;
@font-face {
font-family: "Liberation Mono", "Cousine", "Courier New", monospace !important;
}
}