From 22f4708aa8d1920ad100e8d5d532607142f8e746 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Tue, 5 Sep 2023 20:33:35 -0400 Subject: undo @-moz-document thing apparently it doesn't work in qtkit or whatever engine qutebrowser uses Change-Id: I341779872edf46d26e3af9348449946e6abb43bd --- lib/userstyles.css | 59 ++++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 44 insertions(+), 15 deletions(-) (limited to 'lib') diff --git a/lib/userstyles.css b/lib/userstyles.css index e610609..4bb807c 100644 --- a/lib/userstyles.css +++ b/lib/userstyles.css @@ -1,18 +1,47 @@ -input, input#hoogle -{ background: transparent } +/*@-moz-document +domain("hoogle.com"), +domain("hoogle.simatime.com") +{*/ + input, input#hoogle + { background: transparent } +/*} -/* gwern.net */ -.markdownBody a:link, .markdownBody a:link *, #footer a:link -{ text-shadow: none } +@-moz-document +domain("gwern.com") +{*/ + .markdownBody a:link, .markdownBody a:link *, #footer a:link + { text-shadow: none } +/*} -/* gitolite.com */ -body { background: transparent } +@-moz-document +domain("gitolite.com") +{*/ + body { background: #222 } +/*} -/* huggingface */ -.lg\:.bg-gradient-to-r, -.bg-gradient-to-l, -.lg\:.bg-gradient-to-l, -.bg-gradient-to-t, -.overview-card-wrapper, -.tag, .btn -{ background: transparent } + +@-moz-document +domain("huggingface.co") +{*/ + /* huggingface */ + .bg-gradient-to-r, + .bg-gradient-to-l, + .bg-gradient-to-t, + .bg-gradient-to-b, + .lg\:.bg-gradient-to-r, + .lg\:.bg-gradient-to-l, + .lg\:.bg-gradient-to-t, + .lg\:.bg-gradient-to-b, + .md\:.bg-gradient-to-l, + .md\:.bg-gradient-to-r, + .md\:.bg-gradient-to-t, + .md\:.bg-gradient-to-b, + .overview-card-wrapper, + .tag, + .tag-ico, + .btn, + .bg-white, + input, + button + { background: #222 !important } +/*}*/ -- cgit v1.2.3