summary refs log tree commit diff
path: root/.mozilla/firefox/wr7p23up.default-nightly/chrome/userContent.css
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2022-11-18 18:32:48 +0100
committerRobert Günzler <r@gnzler.io>2022-11-18 18:38:24 +0100
commiteef1f07a577112d1523b9d7a637e0f9d381361b8 (patch)
treed92391911d5ec74af4a1044209248750d0c1c991 /.mozilla/firefox/wr7p23up.default-nightly/chrome/userContent.css
parent69cdb15cc3ac06f8cfd0073a964069a91766f1f4 (diff)
firefox: add lepton stuff
Diffstat (limited to '.mozilla/firefox/wr7p23up.default-nightly/chrome/userContent.css')
-rw-r--r--.mozilla/firefox/wr7p23up.default-nightly/chrome/userContent.css9
1 files changed, 7 insertions, 2 deletions
diff --git a/.mozilla/firefox/wr7p23up.default-nightly/chrome/userContent.css b/.mozilla/firefox/wr7p23up.default-nightly/chrome/userContent.css
index ca88a0d..f3b4e6a 100644
--- a/.mozilla/firefox/wr7p23up.default-nightly/chrome/userContent.css
+++ b/.mozilla/firefox/wr7p23up.default-nightly/chrome/userContent.css
@@ -1,3 +1,6 @@
+
+@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
@@ -11,7 +14,9 @@
     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) {
-  body {
-    background: #1d1b19;
+  @media (prefers-color-scheme: dark) {
+    body {
+      background: #1d1b19;
+    }
   }
 }