Skip to content

Commit

Permalink
Add darker font color recipe to kindle oasis too. (#337)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jnavila committed Jun 13, 2020
1 parent 5705cec commit 9be10e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/styles/epub3-css3-only.css
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 9be10e1

Please sign in to comment.