From 274f692f7018ac746feef734a073d17b80b26010 Mon Sep 17 00:00:00 2001 From: Tanvir Date: Mon, 8 Jul 2024 17:55:26 +0600 Subject: [PATCH] set global font family to fira code --- chrome/userChrome.css | 6 ++++++ chrome/userContent.css | 6 ++++++ readme.md | 1 + 3 files changed, 13 insertions(+) diff --git a/chrome/userChrome.css b/chrome/userChrome.css index 12caa6b..0a5705f 100644 --- a/chrome/userChrome.css +++ b/chrome/userChrome.css @@ -11,6 +11,12 @@ @import "misc/round-items.css"; @import "panel/statuspanel.css"; +/* Global font and font size */ +* { + font-family: "Fira Code" !important; + /* font-size: 10pt !important; */ +} + /* Change the default ugly cyan color in various elements/UI */ :root, panel, diff --git a/chrome/userContent.css b/chrome/userContent.css index 6fd0ca2..7894bcc 100644 --- a/chrome/userContent.css +++ b/chrome/userContent.css @@ -1,3 +1,9 @@ +/* Global font and font size */ +* { + font-family: "Fira Code" !important; + /* font-size: 10pt !important; */ +} + /* Based on: https://github.com/MrOtherGuy/firefox-csshacks/tree/master/content/compact_about_config.css */ /* Compact about:config list */ @-moz-document url("about:config") { diff --git a/readme.md b/readme.md index 9465a78..6ae5c0b 100644 --- a/readme.md +++ b/readme.md @@ -57,6 +57,7 @@ My Tailor-Fitted highly customized and advanced [Firefox](https://www.mozilla.or - Centered text in the url bar - Colored overlay on the url bar based on the type of the connection - RGB animation on the url bar address +- Global font family and size - Other various fixes and tweaks - Custom addons configuration - Userscripts