From 4f871673166ff282b8ab6b7ed4437f36d2b091b8 Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Sun, 14 Nov 2021 17:03:43 +0100 Subject: Add user styles for Firefox MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit > That feels like too much power. > I like it. — Daniel Floyd November 2, 2021 --- .config/firefox/userContent.css | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .config/firefox/userContent.css diff --git a/.config/firefox/userContent.css b/.config/firefox/userContent.css new file mode 100644 index 0000000..ecece67 --- /dev/null +++ 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; + } +} -- cgit v1.2.3