change-fonts.user.css: variables may be more effective if they are actually used

This commit is contained in:
Aminda Suomalainen 2024-05-30 15:58:39 +03:00
parent 79d4a1c445
commit 4efa34eb99
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -2,7 +2,7 @@
@name Change Fonts @name Change Fonts
@updateURL https://gitea.blesmrt.net/mikaela/gist/raw/branch/master/usercss/change-fonts.user.css @updateURL https://gitea.blesmrt.net/mikaela/gist/raw/branch/master/usercss/change-fonts.user.css
@namespace eu.aminda @namespace eu.aminda
@version 2024.22.0 @version 2024.22.1
@var select FontSet "Font Set" { @var select FontSet "Font Set" {
"Serif": "Liberation Serif, Tinos, Times New Roman, serif", "Serif": "Liberation Serif, Tinos, Times New Roman, serif",
"Sans Serif": "Liberation Sans, Arimo, Arial, sans-serif" "Sans Serif": "Liberation Sans, Arimo, Arial, sans-serif"
@ -11,7 +11,7 @@
/* Either the Serif or Sans-Serif specified above. */ /* Either the Serif or Sans-Serif specified above. */
* { * {
font-family: FontSet !important; font-family: var(FontSet) !important;
} }
/* Code blocks preferably use monospace font, which is specified here then. */ /* Code blocks preferably use monospace font, which is specified here then. */