View Single Post
Old 11-26-2018, 08:59 AM   #1
kso
Enthusiast
kso began at the beginning.
 
Posts: 47
Karma: 10
Join Date: Jun 2018
Location: UK
Device: Android, iPad, iPod, kindle {keyboard,fire7,hdx8.9} kobo, Sony PRS 600
EPUB, iBooks and Kindle media queries

There's little usable information about CSS @media queries for EPUB and Kindle out there. And what there is, is often wrong or outdated. Just a couple of weeks ago I was struggling with width and height as reported by iBooks (now called Apple Books) on iPhone and iPad: they're certainly not device pixels, and they're not what's quoted on various blogs and community sites.

And before you state the obvious: I'm not advocating the use of pixel based breakpoints, but sometimes it really helps to know what kind of device a story is read on so you stay in control.

In the end I made a small EPUB to figure out dimensions and other device facts, and that gave me the idea to ask you to lend a hand so I can collect and list the data gathered. Hopefully this gets enough traction that it stays current even when device updates or new devices pop up.

The "Ebook @Media Queries" EPUB (and an equivalent Kindle mobi) is at https://ebookfonts.uk/fdir/free-ebooks.html.

Last edited by DaleDe; 11-26-2018 at 12:53 PM. Reason: correct having an extra bracket in the link ]
kso is offline   Reply With Quote