From ea80a4a9890c82a9c2fba5cea4e2f08d952c987a Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Sun, 6 Feb 2022 12:18:22 +0100 Subject: Add more CSS rules MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The body diet continueþ. --- .config/firefox/userContent.css | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/.config/firefox/userContent.css b/.config/firefox/userContent.css index 33b4e6c..fd06a68 100644 --- a/.config/firefox/userContent.css +++ b/.config/firefox/userContent.css @@ -99,3 +99,41 @@ display: none !important; } } + +@-moz-document domain(lore.kernel.org), domain(list.orgmode.org) { + body { + margin: auto; + max-width: 60em; + } + + pre { + white-space: pre !important; + } + + .q { + white-space: pre-wrap !important; + } +} + +@-moz-document domain(cr.yp.to) { + body { + margin: auto; + max-width: 50em; + } +} + +@-moz-document domain(en.wikipedia.org) { + body { + margin: auto !important; + max-width: 60em; + } + + #mw-head { + right: auto !important; + max-width: 60em; + } + + #mw-panel { + left: auto !important; + } +} -- cgit v1.2.3