View Single Post
Old 12-28-2015, 08:46 AM   #8
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,089
Karma: 91592869
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
I haven't used this myself, but here is the information on dropcaps from the Amazon Kindle Publishing Guidelines version 2015.3.

Quote:
Elements such as drop caps should be specified using percentages or relative units (positive or negative) instead of fixed values such as points and pixels. (Example: drop caps: Use font-size: 300%). The top of the drop cap should be aligned with the body text. To create drop caps, Amazon recommends using the following sample CSS:

Example

Code:
p.para {
 font-family: "Times New Roman";
 font-size: 4em;
 margin-bottom: 0;
 margin-top: 0;
 text-align: justify;
 text-indent: 0;
}

@media amzn-kf8
{
 span.dropcaps
 {
 font-weight:normal;
 font-size:320%;
 float:left;
 margin-top:-0.3225em;
 margin-bottom:-0.3245em;
 }
}

@media amzn-mobi
{
 span.dropcaps
 {
 font-size:3em;
 font-weight: bold;
 }
}

<p class="para"><span class="dropcaps">T</span>here is a sample
To verify that the drop caps display as intended, test the book as described in section 9.1, Testing Kindle Books.
ETA: I realize that this probably won't be very helpful. There are several values that are part of this example/recommendation with no indication of how they were derived or under what circumstances they would need to be changed.

Last edited by jhowell; 12-28-2015 at 09:56 AM.
jhowell is offline   Reply With Quote