View Single Post
Old 03-19-2019, 08:39 AM   #25
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,834
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by jhowell View Post
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.
Well, in that case the OP won't have troubles. He doesn't need MQ based on screen resolutions; with "@media amzn-mobi" and "@media amzn-kf8" will have enough to write the code to handle the things in KF7.
RbnJrg is offline   Reply With Quote