From 0860db73ae6fd9a6f6347219d820bf026a6b8b91 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Sun, 27 Sep 2026 17:38:39 +0200 Subject: * MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Automated-commit-by: dots Signed-off-by: Robert Günzler --- .../chrome/lorekernel.userContent.css | 71 ++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 .librewolf/hibiki.default/chrome/lorekernel.userContent.css (limited to '.librewolf/hibiki.default/chrome/lorekernel.userContent.css') diff --git a/.librewolf/hibiki.default/chrome/lorekernel.userContent.css b/.librewolf/hibiki.default/chrome/lorekernel.userContent.css new file mode 100644 index 0000000..ed4b457 --- /dev/null +++ b/.librewolf/hibiki.default/chrome/lorekernel.userContent.css @@ -0,0 +1,71 @@ +/* + * Firefox users: this goes in $PROFILE_FOLDER/chrome/userContent.css + * where $PROFILE_FOLDER is platform-specific + * + * cf. http://kb.mozillazine.org/UserContent.css + * http://kb.mozillazine.org/Profile_folder_-_Firefox + * + * Users of dillo can remove the entire lines with "moz-only" + * in them and place the resulting file in ~/.dillo/style.css + */ +@-moz-document url-prefix(https://lore.kernel.org/all/) { /* moz-only */ + /* + * CC0-1.0 + * Dark color scheme using 216 web-safe colors, inspired + * somewhat by the default color scheme in mutt. + * It reduces eyestrain for me, and energy usage for all: + * https://en.wikipedia.org/wiki/Light-on-dark_color_scheme + */ + @media (prefers-color-scheme: dark) { + * { font-size: 100% !important; + font-family: monospace !important; + background:#000 !important; + color:#ccc !important } + pre { white-space: pre-wrap !important } + } + + /* + * Underlined links add visual noise which make them hard-to-read. + * Use colors to make them stand out, instead. + */ + a:link { color:#69f !important; + text-decoration:none !important } + a:visited { color:#96f !important } + + /* quoted text in emails gets a different color */ + *.q { color:#09f !important } + + /* + * these may be used with cgit , too. + * (cgit uses
, public-inbox uses ) + */ + *.add { color:#0ff !important } /* diff post-image lines */ + *.del { color:#f0f !important } /* diff pre-image lines */ + *.head { color:#fff !important } /* diff header (metainformation) */ + *.hunk { color:#c93 !important } /* diff hunk-header */ + + /* + * highlight 3.x colors (tested 3.18) for displaying blobs. + * This doesn't use most of the colors available, as I find too + * many colors overwhelming, so the default is commented out. + */ + .hl.num { color:#f30 !important } /* number */ + .hl.esc { color:#f0f !important } /* escape character */ + .hl.str { color:#f30 !important } /* string */ + .hl.ppc { color:#f0f !important } /* preprocessor */ + .hl.pps { color:#f30 !important } /* preprocessor string */ + .hl.slc { color:#09f !important } /* single-line comment */ + .hl.com { color:#09f !important } /* multi-line comment */ + /* .hl.opt { color:#ccc !important } */ /* operator */ + /* .hl.ipl { color:#ccc !important } */ /* interpolation */ + + /* keyword groups kw[a-z] */ + .hl.kwa { color:#ff0 !important } + .hl.kwb { color:#0f0 !important } + .hl.kwc { color:#ff0 !important } + /* .hl.kwd { color:#ccc !important } */ + + /* line-number (unused by public-inbox) */ + /* .hl.lin { color:#ccc !important } */ + +} /* moz-only */ -- cgit 1.4.1