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