diff options
| author | Jean-Noël Avila <jn.avila@free.fr> | 2020-06-13 23:19:40 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-14 00:19:40 +0300 |
| commit | 9be10e19547e529b75b3830d0f481658a3bedf68 (patch) | |
| tree | caf3db44b437e3aba1a95ef8800013a36acdba94 /data | |
| parent | 5705cecc57c13f8352e7531e72d310134d777970 (diff) | |
Add darker font color recipe to kindle oasis too. (#337)
According to Wikipedia, Kindle Oasis has a definition of
1680 × 1264 pixels, 300 ppi. And according to #67, we can only detect
the model of kindle by its definition. We just apply the same recipe
as for PaperWhite here.
Diffstat (limited to 'data')
| -rw-r--r-- | data/styles/epub3-css3-only.css | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/data/styles/epub3-css3-only.css b/data/styles/epub3-css3-only.css index ec5e497..6f44c29 100644 --- a/data/styles/epub3-css3-only.css +++ b/data/styles/epub3-css3-only.css @@ -100,8 +100,8 @@ body code, body kbd, body pre, pre :not(code) { } } -/* Use darker font colors on Kindle Paperwhite */ -@media amzn-kf8 and (device-height: 1024px) and (device-width: 758px), amzn-kf8 and (device-height: 758px) and (device-width: 1024px) { +/* Use darker font colors on Kindle Paperwhite and Oasis */ +@media amzn-kf8 and (device-height: 1024px) and (device-width: 758px), amzn-kf8 and (device-height: 758px) and (device-width: 1024px), amzn-kf8 and (device-height: 1680px) and (device-width: 1264px), amzn-kf8 and (device-height: 1264px) and (device-width: 1680px) { body p, div.abstract > p, ul, ol, li, dl, dt, dd, footer, |
