From: Mark Wooding Date: Tue, 2 Jul 2024 12:31:25 +0000 (+0100) Subject: firefox/chrome-userContent.css: Force specific fonts. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/profile/commitdiff_plain/29ba7773fc5fbcf762b653cf4808a8e3ca97ebf0 firefox/chrome-userContent.css: Force specific fonts. For some reason, Firefox doesn't respect the generic names in Reader mode. --- diff --git a/firefox/chrome-userContent.css b/firefox/chrome-userContent.css index a1bc6bd..94300ac 100644 --- a/firefox/chrome-userContent.css +++ b/firefox/chrome-userContent.css @@ -5,7 +5,7 @@ * that's less nice. */ body.serif, body.serif .remove-button - { font-family: serif !important; } + { font-family: TeX Gyre Pagella !important; } /* Fix the background colour. */ body.dark { background-color: #111 !important; } @@ -28,7 +28,7 @@ border-radius: 0 !important; } - h1, h2, h3, h4 { font-family: sans-serif; !important; } + h1, h2, h3, h4 { font-family: Nimbus Sans L; !important; } } @-moz-document url-prefix("about:blank") {