diff options
| author | Andrew Dolgov <noreply@fakecake.org> | 2021-01-28 09:21:17 +0300 |
|---|---|---|
| committer | Andrew Dolgov <noreply@fakecake.org> | 2021-01-28 09:21:17 +0300 |
| commit | 156c67e9fc3cb521c491043782f6a2e1e11fa83c (patch) | |
| tree | bf4de76cf5e8e1035bb96aa4b320627ece4e91a5 /read.html | |
| parent | 9f09eb0abe2bae6138615e30fbec14e48c22dc86 (diff) | |
| download | the-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.html | 14 |
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> |
