diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2022-02-25 08:06:45 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2022-02-25 08:44:03 +0100 |
| commit | 1a2c3565fa2fd9a4141e9a020169320b7ffc14ea (patch) | |
| tree | fab8075b97d884ddec60b32c8530d0fd72017445 | |
| parent | b1f7987bcf03e0dfea1780b624d0200e689ee563 (diff) | |
| download | dotfiles-1a2c3565fa2fd9a4141e9a020169320b7ffc14ea.tar.xz | |
Sort CSS tweaks by domain name
| -rw-r--r-- | .config/firefox/userContent.css | 90 |
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; } } |
