summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2022-02-06 12:18:22 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2022-02-06 12:18:22 +0100
commitea80a4a9890c82a9c2fba5cea4e2f08d952c987a (patch)
tree744b57221197b27d52eeb7109b1af78d80a87e4f
parent90e3e6508734d555630fc1418a5660beef980f4d (diff)
downloaddotfiles-ea80a4a9890c82a9c2fba5cea4e2f08d952c987a.tar.xz
Add more CSS rules
The body diet continueþ.
-rw-r--r--.config/firefox/userContent.css38
1 files changed, 38 insertions, 0 deletions
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;
+ }
+}