diff options
| author | Robert Günzler <r@gnzler.io> | 2022-11-24 21:12:31 +0100 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2022-11-24 21:12:31 +0100 |
| commit | 2c8c06748ba80debcdfa78e0020049f193d5ffc5 (patch) | |
| tree | 3511a7ff9599c417bc0284ff1c195573874d8a21 | |
| parent | 9c9df625d21ff78e36126c274d8298756099b61c (diff) | |
firefox: prevent flashbang
| -rw-r--r-- | .mozilla/firefox/hibiki.default/chrome/userChrome.css | 4 | ||||
| -rw-r--r-- | .mozilla/firefox/hibiki.default/chrome/userContent.css | 7 |
2 files changed, 7 insertions, 4 deletions
diff --git a/.mozilla/firefox/hibiki.default/chrome/userChrome.css b/.mozilla/firefox/hibiki.default/chrome/userChrome.css index ff39340..bdbcf53 100644 --- a/.mozilla/firefox/hibiki.default/chrome/userChrome.css +++ b/.mozilla/firefox/hibiki.default/chrome/userChrome.css @@ -26,6 +26,10 @@ font-family: Iosevka Aile, Sarasa Fixed J, monospace !important; } +/* prevent pre-load flash bang */ +.browserContainer { background-color: var(--toolbar-bgcolor) !important; } +.tabbrowser tabpanels { background-color: var(--toolbar-bgcolor) !important; } + #titlebar { display: none !important; } diff --git a/.mozilla/firefox/hibiki.default/chrome/userContent.css b/.mozilla/firefox/hibiki.default/chrome/userContent.css index f3b4e6a..34d1bb6 100644 --- a/.mozilla/firefox/hibiki.default/chrome/userContent.css +++ b/.mozilla/firefox/hibiki.default/chrome/userContent.css @@ -6,17 +6,16 @@ @see: https://github.com/tridactyl/tridactyl/issues/2510 */ :root { - --tridactyl-bg: #2a2a2e !important; - --tridactyl-fg: #b1b1b3 !important; + --toolbar-bgcolor: #040405 !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) { +@-moz-document url("about:home"), url("about:newtab"), url("about:blank") { @media (prefers-color-scheme: dark) { body { - background: #1d1b19; + background: var(--toolbar-bgcolor); } } } |