2024-05-30 14:43:11 +02:00
|
|
|
/* ==UserStyle==
|
|
|
|
@name Change Fonts
|
2024-05-30 15:03:19 +02:00
|
|
|
@updateURL https://gitea.blesmrt.net/mikaela/gist/raw/branch/master/web-browsers/usercss/change-fonts.user.css
|
2024-05-30 14:43:11 +02:00
|
|
|
@namespace eu.aminda
|
2024-05-30 16:25:08 +02:00
|
|
|
@version 2024.22.4
|
2024-05-30 14:43:11 +02:00
|
|
|
@var select FontSet "Font Set" {
|
2024-05-30 16:25:08 +02:00
|
|
|
"System": "system-ui",
|
2024-05-30 14:43:11 +02:00
|
|
|
"Serif": "Liberation Serif, Tinos, Times New Roman, serif",
|
|
|
|
"Sans Serif": "Liberation Sans, Arimo, Arial, sans-serif"
|
|
|
|
}
|
|
|
|
==/UserStyle== */
|
|
|
|
|
2024-05-30 16:29:46 +02:00
|
|
|
:root {
|
|
|
|
--a-monospace-fonts: "Liberation Mono", "Cousine", "Courier New", monospace;
|
|
|
|
}
|
|
|
|
|
2024-05-30 16:25:08 +02:00
|
|
|
/* Use the variable from above. */
|
2024-05-30 14:43:11 +02:00
|
|
|
* {
|
2024-05-30 15:59:01 +02:00
|
|
|
font-family: var(--FontSet) !important;
|
2024-05-30 14:43:11 +02:00
|
|
|
}
|
|
|
|
|
2024-05-30 15:36:58 +02:00
|
|
|
@font-face {
|
2024-05-30 15:59:01 +02:00
|
|
|
font-family: var(--FontSet) !important;
|
2024-05-30 15:36:58 +02:00
|
|
|
}
|
|
|
|
|
2024-05-30 14:43:11 +02:00
|
|
|
/* Code blocks preferably use monospace font, which is specified here then. */
|
|
|
|
code,
|
|
|
|
pre {
|
2024-05-30 16:29:46 +02:00
|
|
|
font-family: var(--a-monospace-fonts) !important;
|
2024-05-30 15:36:58 +02:00
|
|
|
@font-face {
|
2024-05-30 16:29:46 +02:00
|
|
|
fomt-family: var(--a-monospace-fonts) !important;
|
2024-05-30 15:36:58 +02:00
|
|
|
}
|
2024-05-30 14:43:11 +02:00
|
|
|
}
|