View Single Post
Old 03-24-2013, 11:42 PM   #1
srascal
Epubs for Cylons
srascal began at the beginning.
 
srascal's Avatar
 
Posts: 13
Karma: 10
Join Date: Mar 2013
Device: Kindle Fire
Unhappy Epub to mobi not recognizing media queries

Hi, I have a beautiful, perfectly functioning epub with several media queries in it for various Kindles. When I converted from epub to mobi (both old and new) in Calibre, much of the KF8 CSS was stripped right out. I unzipped the mobi file using Mobi Unpack and the results only added to my confusion as new properties were being applied to text, such as the entries in my table of contents suddenly being all-caps.

When I convert this epub using KindleGen, there are no problems whatsoever. However, I cannot use KindleGen for this particular project.

I removed media query references and converted the epub again using Calibre, and boom! everything worked great. All of my font-faces showed up, as well as other KF8 styling. Unfortunately the mobi looks pretty weird on the legacy Kindle now, however, since I can't target it.

Can anyone confirm that media queries are not recognized by Calibre when converting from epub to mobi? Does anyone have any advice on how to incorporate media queries into a Calibre mobi?

Thank you
srascal is offline   Reply With Quote