Thread: Dropcap madness
View Single Post
Old 11-08-2012, 01:34 PM   #5
amyg
Enthusiast
amyg is on a distinguished road
 
Posts: 39
Karma: 56
Join Date: Sep 2011
Location: Los Angeles, CA
Device: Nook simple touch, iPad
The new mobi (mobi8) supports drop caps. The old mobi (mobi7) does not. The new mobi is used by all current Kindle devices on the market and some older models if the user upgrades their device. You use a media query in the css. Like this:

@media amzn-kf8 {
span.dropcap {
font-family: Optima, "Trebuchet MS", Arial, Helvetica, sans-serif;
font-weight: bold;
font-size: 4em;
float:left;
color: #21409a;
margin: -.1em .1em -.1em .1em;
}
}
@media amzn-mobi {
span.dropcap { font-size: 2em; line-height: 0;
}
}

Make an epub and convert it to mobi using the latest Kindlegen. This will create a wrapper file that contains both mobis. Opening an epub using the Kindle Previewer will do the same thing as it has Kindlegen built in. You will need to do a different css style sheet for you actual epub -- the Kindle media queries break on the Nook and it won't honor your style sheet at all.
amyg is offline   Reply With Quote