View Single Post
Old 01-27-2013, 03:51 AM   #34
topquark
Enthusiast
topquark began at the beginning.
 
Posts: 35
Karma: 10
Join Date: Oct 2011
Device: Kindle 3
Quote:
Originally Posted by jackie_w View Post
I think you should be able to use calibre's standard Tweak Book feature to do any fine tuning on your smaller dropcap. This will explode the azw3 so you can manually edit the css file, then rebuild it again. As long as you don't convert it again the manual tweaks will stay put.
Just FYI, this worked PERFECTLY! THANK YOU!!!

For the others, just make sure that when you explode the azw3 file in calibre and tweak it, that you use em values for the font-size of the second dropcap.

Here are some dropcap formulas for various sizes of fonts. These should work all right as long as you indicate in the eighth value of the font size key the same value as the font-size, in px.

span.dropcaps {
float: left;
font-size: 80px;
line-height: 0; -->> okay lang lagyan ng value, like 70px
padding-top: 1px;
margin-top:-.375em;
margin-bottom: -.5em;
margin-right:1.35px;
font-weight: bold;
}

.drop {
float: left;
font-size:3em;
margin-top: -.3em;
margin-bottom: -.5em;
margin-right: .05em;
}

span.dropcaps ((((dropcap a bit high but all right)))
{
float: left;
font-size: 100px;
line-height: 80px;
padding-top: 1px;
margin-top: -0.5em;
margin-bottom: -.5em
}

span.dropcaps (((dropcaps just right)))
{
float: left;
font-size: 100px;
line-height: 80px;
padding-top: 1px;
margin-top: -0.475em;
margin-bottom: -.525em
}

span.dropcaps {
float: left;
font-size: 70px;
line-height: 70px;
padding-top: 1px;
margin-top: -.415em;
margin-bottom: -.475em
}

for one-line dropcaps, this one worked for me:
.dropcaps1 {
font-size: 2.5em;
float: left;
margin-bottom: -0.50em;
margin-top: -0.725em
}

to everyone who helped.
topquark is offline   Reply With Quote