View Single Post
Old 03-19-2019, 08:29 AM   #24
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 7,121
Karma: 92500001
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by jhowell View Post
Media queries are not supported in KFX format (enhanced typesetting). They are evaluated during conversion from the source format and do not carry through to the device that displays the book.
I want to clarify the statement I made earlier. Media queries are stripped out during conversion to KFX so that you cannot have the content or styling of a KFX book vary based on the screen resolution, for example.

However, some specific media queries are evaluated when KFX format is created. "@media amzn-mobi" CSS will be ignored and "@media amzn-kf8" CSS will be processed. (Note that in this case KF8 also includes KFX.)

The is also a secret undocumented "@media amzn-et" that is processed only for KFX (enhanced typesetting) but not KF8 or MOBI.

Last edited by jhowell; 03-19-2019 at 08:31 AM.
jhowell is offline   Reply With Quote