mirror of
https://gitea.blesmrt.net/mikaela/gist.git
synced 2024-12-18 08:12:32 +01:00
change-fonts.user.css: don't repeat myself on the monospace fonts
This commit is contained in:
parent
0b4abcb94b
commit
8bb946b79f
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user