dotfiles

🎜 Clone'em, tweak'em, stick'em in your $HOME 🎝
git clone https://git.kevinlegouguec.net/dotfiles
Log | Files | Refs | README

commit 4f871673166ff282b8ab6b7ed4437f36d2b091b8
parent f24b93f2a87e6ce080043014a525f9cf2ce9d544
Author: KΓ©vin Le Gouguec <kevin.legouguec@gmail.com>
Date:   Sun, 14 Nov 2021 17:03:43 +0100

Add user styles for Firefox

> That feels like too much power.
> I like it.

β€” Daniel Floyd
  November 2, 2021

Diffstat:
A.config/firefox/userContent.css | 22++++++++++++++++++++++
1 file changed, 22 insertions(+), 0 deletions(-)

diff --git a/.config/firefox/userContent.css b/.config/firefox/userContent.css @@ -0,0 +1,22 @@ +/* To enable: + * - set toolkit.legacyUserProfileCustomizations.stylesheets + * - move this file to $profiledir/chrome + * + * References: + * https://web.archive.org/web/20211023121642/https://kb.mozillazine.org/UserContent.css + * https://developer.mozilla.org/en-US/docs/Web/CSS/@document + */ + +@-moz-document domain(danluu.com) { + body { + max-width: 40em; + margin: auto; + } +} + +@-moz-document domain(martinfowler.com) { + body { + max-width: fit-content; + margin: auto !important; + } +}