commit 1a2c3565fa2fd9a4141e9a020169320b7ffc14ea
parent b1f7987bcf03e0dfea1780b624d0200e689ee563
Author: KΓ©vin Le Gouguec <kevin.legouguec@gmail.com>
Date: Fri, 25 Feb 2022 08:06:45 +0100
Sort CSS tweaks by domain name
Diffstat:
1 file changed, 45 insertions(+), 45 deletions(-)
diff --git 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;
}
}