about summary refs log tree commit diff stats
path: root/read.html
diff options
context:
space:
mode:
authorAndrew Dolgov <noreply@fakecake.org>2021-01-28 09:21:17 +0300
committerAndrew Dolgov <noreply@fakecake.org>2021-01-28 09:21:17 +0300
commit156c67e9fc3cb521c491043782f6a2e1e11fa83c (patch)
treebf4de76cf5e8e1035bb96aa4b320627ece4e91a5 /read.html
parent9f09eb0abe2bae6138615e30fbec14e48c22dc86 (diff)
downloadthe-epube-156c67e9fc3cb521c491043782f6a2e1e11fa83c.tar.gz
the-epube-156c67e9fc3cb521c491043782f6a2e1e11fa83c.tar.xz
use a neutral color when reader is loading
Diffstat (limited to 'read.html')
-rw-r--r--read.html14
1 files changed, 8 insertions, 6 deletions
diff --git a/read.html b/read.html
index 2781f04..5ae6887 100644
--- a/read.html
+++ b/read.html
@@ -13,12 +13,14 @@
 	<link type="text/css" rel="stylesheet" media="screen" href="dist/app.min.css" />
 
 	<style type="text/css">
-		@media (prefers-color-scheme: dark) {
-			body[data-is-loading="true"].epube-reader,
-			body[data-is-loading="true"].epube-reader .loading {
-				background: #222;
-				color : #d7cbc1;
-			}
+		body.epube-reader .loading {
+			transition : background 0.2s linear;
+		}
+
+		body[data-is-loading="true"].epube-reader,
+		body[data-is-loading="true"].epube-reader .loading {
+			background: #555;
+			color : #d7cbc1;
 		}
 	</style>