change-fonts.user.css: don't repeat myself on the monospace fonts

This commit is contained in:
Aminda Suomalainen 2024-05-30 17:29:46 +03:00
parent 0b4abcb94b
commit 8bb946b79f
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -10,6 +10,10 @@
}
==/UserStyle== */
:root {
--a-monospace-fonts: "Liberation Mono", "Cousine", "Courier New", monospace;
}
/* Use the variable from above. */
* {
font-family: var(--FontSet) !important;
@ -22,8 +26,8 @@
/* Code blocks preferably use monospace font, which is specified here then. */
code,
pre {
font-family: "Liberation Mono", "Cousine", "Courier New", monospace !important;
font-family: var(--a-monospace-fonts) !important;
@font-face {
font-family: "Liberation Mono", "Cousine", "Courier New", monospace !important;
fomt-family: var(--a-monospace-fonts) !important;
}
}