summary refs log tree commit diff
path: root/.librewolf/hibiki.default/chrome/userContent.css
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2026-09-27 17:38:39 +0200
committerRobert Günzler <r@gnzler.io>2026-09-27 17:38:39 +0200
commit0860db73ae6fd9a6f6347219d820bf026a6b8b91 (patch)
tree11318c3670d1c32c5aa0bf404c22fba3bf63fc53 /.librewolf/hibiki.default/chrome/userContent.css
parent4e34cbf9673aeaba252e01df554a0d204e83c5e2 (diff)
downloaddotfiles-master.tar.gz
Automated-commit-by: dots
Signed-off-by: Robert Günzler <r@gnzler.io>
Diffstat (limited to '')
-rw-r--r--.librewolf/hibiki.default/chrome/userContent.css22
1 files changed, 22 insertions, 0 deletions
diff --git a/.librewolf/hibiki.default/chrome/userContent.css b/.librewolf/hibiki.default/chrome/userContent.css
new file mode 100644
index 0000000..eca26d7
--- /dev/null
+++ b/.librewolf/hibiki.default/chrome/userContent.css
@@ -0,0 +1,22 @@
+
+@import url(lepton.userContent.css);
+@import url(lorekernel.userContent.css);
+
+/* 
+   dark background in new tabs without a white flash (with tridactyl newtab)
+   @see: https://github.com/tridactyl/tridactyl/issues/2510
+*/
+:root {
+  --toolbar-bgcolor: #040405 !important;
+}
+
+/*
+    set the background color of the new tab page (without tridactyl or with tridactyl without newtab)
+*/
+@-moz-document url("about:home"), url("about:newtab"), url("about:blank") {
+  @media (prefers-color-scheme: dark) {
+    body {
+      background: var(--toolbar-bgcolor);
+    }
+  }
+}