View Single Post
Old 10-21-2021, 05:04 AM   #18
emdashery
Member
emdashery began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Oct 2021
Device: All
Quote:
Originally Posted by Hitch View Post
Well...there aren't any media queries that can refine down to "if/then Publisher fonts are turned OFF, then do this," or the like.

The best you can do is to guesstimate, OR use screen-size or aspect ratio for older devices but honestly...that's a lotta lotta work.

You can change the media queries to address the font size, but it's questionably successful. You can use amzn-mobi and amzn-kf8, and that will get you about 90% of the way there. The default (non-MQ'ed code) assumes the Kindle eReaders (Voyage, Oasis, PPW). While MOBI uploads are no longer supported, there are still some of 'em out there, so...that's what I'd do. You can use Font-size as a supported attribute inside the CSS.

Not perfect and probably not better than your final solution, but...

Hitch
Hey Hitch, thanks for your detailed reply! From all the posts I've read you seem like the resident expert around here That all definitely sounds like more work than it's worth, and the author I'm working for was perfectly happy to give up the affirmation fonts in the end. Huzzah! So glad I spent two full days trying to figure it out though! Lolz.
emdashery is offline   Reply With Quote