summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/firefox/userContent.css90
1 files changed, 45 insertions, 45 deletions
diff --git a/.config/firefox/userContent.css b/.config/firefox/userContent.css
index 95b7ad9..8a8be67 100644
--- a/.config/firefox/userContent.css
+++ b/.config/firefox/userContent.css
@@ -7,6 +7,13 @@
* https://developer.mozilla.org/en-US/docs/Web/CSS/@document
*/
+@-moz-document domain(cr.yp.to) {
+ body {
+ margin: auto;
+ max-width: 50em;
+ }
+}
+
@-moz-document domain(danluu.com) {
body {
max-width: 40em;
@@ -14,10 +21,34 @@
}
}
-@-moz-document domain(martinfowler.com) {
+@-moz-document domain(en.wikipedia.org) {
body {
- max-width: fit-content;
margin: auto !important;
+ max-width: 60em;
+ }
+
+ #mw-head {
+ right: auto !important;
+ max-width: 60em;
+ }
+
+ #mw-panel {
+ left: auto !important;
+ }
+}
+
+@-moz-document domain(list.orgmode.org), domain(lore.kernel.org) {
+ body {
+ margin: auto;
+ max-width: 60em;
+ }
+
+ pre {
+ white-space: pre !important;
+ }
+
+ .q {
+ white-space: pre-wrap !important;
}
}
@@ -88,59 +119,28 @@
}
}
-@-moz-document domain(reddit.com) {
- #siteTable, .commentarea {
- max-width: 80em;
- margin: auto !important;
- }
-
- section.listingsignupbar, section.commentsignupbar,
- aside.read-next.active {
- display: none !important;
- }
-}
-
-@-moz-document domain(lore.kernel.org), domain(list.orgmode.org) {
+@-moz-document domain(martinfowler.com) {
body {
- margin: auto;
- max-width: 60em;
- }
-
- pre {
- white-space: pre !important;
- }
-
- .q {
- white-space: pre-wrap !important;
+ max-width: fit-content;
+ margin: auto !important;
}
}
-@-moz-document domain(cr.yp.to) {
+@-moz-document domain(pubs.opengroup.org) {
body {
- margin: auto;
- max-width: 50em;
+ max-width: 40em;
+ margin: auto !important;
}
}
-@-moz-document domain(en.wikipedia.org) {
- body {
+@-moz-document domain(reddit.com) {
+ #siteTable, .commentarea {
+ max-width: 80em;
margin: auto !important;
- max-width: 60em;
- }
-
- #mw-head {
- right: auto !important;
- max-width: 60em;
- }
-
- #mw-panel {
- left: auto !important;
}
-}
-@-moz-document domain(pubs.opengroup.org) {
- body {
- max-width: 40em;
- margin: auto !important;
+ section.listingsignupbar, section.commentsignupbar,
+ aside.read-next.active {
+ display: none !important;
}
}