Quote:
Originally Posted by Toxaris
Media queries are not supported in ePUB2, they are in ePub3. ADE does not work with ePUB3 yet.
|
I know I'm replying to a very old post, and I'm being somewhat pedantic here, but I think it's worth noting that CSS "at rules" were defined way back in the original CSS1 specification, and any spec-compliant CSS parser is
required to ignore any syntactically valid rules that it does not understand. So if ADE chokes on media queries, it's still a spec compliance bug, even according to the EPUB 2 specification.
With that said, it's easy enough to work around such bugs by moving any rules that anger ADE into a separate CSS file.
Quote:
Originally Posted by luckyparrot
I have found that ADE tolerates both '@media amzn-mobi' and '@media amzn-kf8' without ignoring the whole CSS file. Anything else (that I've tried) causes ADE to ignore the whole CSS file, even 'not amzn-mobi'. Has anyone had any success with any other media queries?
|
IIRC, it works for basic media queries, but chokes on more complex ones.