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 18:42:23 +02:00
|
|
|
@version 2024.22.6
|
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 16:37:01 +02:00
|
|
|
"Serif": "ui-serif, Liberation Serif, Tinos, Times New Roman, serif",
|
|
|
|
"Sans Serif": "ui-sans-serif, Liberation Sans, Arimo, Arial, sans-serif"
|
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",
|
|
|
|
"Courier New", monospace;
|
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;
|
|
|
|
}
|