summary refs log tree commit diff
path: root/.mozilla/firefox/hibiki.default/chrome/userContent.css
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2022-11-21 17:23:57 +0100
committerRobert Günzler <r@gnzler.io>2022-11-24 21:10:22 +0100
commitd12aab5736cb35cd0c7d0853885736e9ebb489ad (patch)
tree0bc18ef9ca2ee3e496eb4399edfdfa6c861ad6ae /.mozilla/firefox/hibiki.default/chrome/userContent.css
parent6ab81fa8fb6cbc628854a652ada2ef88715af230 (diff)
firefox: add complete profile dir
and support librewolf
Diffstat (limited to '.mozilla/firefox/hibiki.default/chrome/userContent.css')
-rw-r--r--.mozilla/firefox/hibiki.default/chrome/userContent.css22
1 files changed, 22 insertions, 0 deletions
diff --git a/.mozilla/firefox/hibiki.default/chrome/userContent.css b/.mozilla/firefox/hibiki.default/chrome/userContent.css
new file mode 100644
index 0000000..f3b4e6a
--- /dev/null
+++ b/.mozilla/firefox/hibiki.default/chrome/userContent.css
@@ -0,0 +1,22 @@
+
+@import url(lepton.userContent.css);
+
+/* 
+   dark background in new tabs without a white flash (with tridactyl newtab)
+   @see: https://github.com/tridactyl/tridactyl/issues/2510
+*/
+:root {
+  --tridactyl-bg: #2a2a2e !important;
+  --tridactyl-fg: #b1b1b3 !important;
+}
+
+/*
+    set the background color of the new tab page (without tridactyl or with tridactyl without newtab)
+*/
+@-moz-document url-prefix(about:home), url-prefix(about:newtab), url-prefix(about:blank) {
+  @media (prefers-color-scheme: dark) {
+    body {
+      background: #1d1b19;
+    }
+  }
+}