summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2023-09-05 20:33:35 -0400
committerBen Sima <ben@bsima.me>2023-09-05 20:33:35 -0400
commit22f4708aa8d1920ad100e8d5d532607142f8e746 (patch)
treecf72881ee85cfd4dcbb4e4e4e07777202eec20d4
parent2608e0019851b3503f388d01061408a4b9d9d47e (diff)
undo @-moz-document thing
apparently it doesn't work in qtkit or whatever engine qutebrowser uses Change-Id: I341779872edf46d26e3af9348449946e6abb43bd
-rw-r--r--lib/userstyles.css59
1 files changed, 44 insertions, 15 deletions
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 }
+/*}*/