2024-05-30 14:43:11 +02:00
|
|
|
/* ==UserStyle==
|
2024-05-31 20:59:41 +02:00
|
|
|
@name System 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-06-06 05:38:55 +02:00
|
|
|
@version 2024.23.0
|
2024-05-31 20:59:41 +02:00
|
|
|
@var select FontSet "Preferred font set" {
|
2024-06-06 05:38:55 +02:00
|
|
|
"System (no fallback)": "system-ui, emoji",
|
|
|
|
"Serif": "ui-serif, system-ui, Liberation Serif, Tinos, Times New Roman, serif, emoji",
|
|
|
|
"Sans Serif": "ui-sans-serif, system-ui, Liberation Sans, Arimo, Arial, sans-serif, emoji"
|
2024-05-30 14:43:11 +02:00
|
|
|
}
|
|
|
|
==/UserStyle== */
|
|
|
|
|
2024-05-30 16:29:46 +02:00
|
|
|
:root {
|
2024-05-30 16:37:01 +02:00
|
|
|
--a-monospace-fonts: "ui-monospace, Liberation Mono", "Cousine",
|
2024-06-06 05:38:55 +02:00
|
|
|
"Courier New", monospace, emoji;
|
2024-05-30 16:29:46 +02:00
|
|
|
}
|
|
|
|
|
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 18:42:23 +02:00
|
|
|
font-family: var(--a-monospace-fonts) !important;
|
2024-05-30 15:36:58 +02:00
|
|
|
}
|
2024-05-30 14:43:11 +02:00
|
|
|
}
|
2024-05-30 17:23:40 +02:00
|
|
|
|
|
|
|
/* I have Firefox always underlining links and not seeing it on Android etc.
|
|
|
|
bothers me.*/
|
|
|
|
a {
|
|
|
|
text-decoration: underline !important;
|
|
|
|
}
|