summary refs log tree commit diff
path: root/.mozilla/firefox/hibiki.default/chrome/userContent.css
blob: 34d1bb6af8ff71c76bf6c0d55c1412d7a2c55539 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
@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 {
  --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);
    }
  }
}