aboutsummaryrefslogtreecommitdiff
path: root/ext/css
diff options
context:
space:
mode:
authorKuuuube <61125188+Kuuuube@users.noreply.github.com>2024-06-20 14:58:01 -0400
committerGitHub <noreply@github.com>2024-06-20 18:58:01 +0000
commit051347488237b8dffd2f0e9c93afb36fca255513 (patch)
tree7b730670a46a853905848ebeb5cf2619c1cfdd5a /ext/css
parentf1223635e23c16341e0434741772c8923d197a3c (diff)
Remove search page flashbang on page transition (#1102)
Diffstat (limited to 'ext/css')
-rw-r--r--ext/css/search.css8
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/css/search.css b/ext/css/search.css
index 6bccf332..908f1975 100644
--- a/ext/css/search.css
+++ b/ext/css/search.css
@@ -177,3 +177,11 @@ h1 {
width: 640px;
height: 480px;
}
+
+/* Dark mode before themes are applied
+ DO NOT use this for normal theming */
+@media (prefers-color-scheme: dark) {
+ :root:not([data-loaded=true]) {
+ background-color: #1e1e1e;
+ }
+}