Quote:
Originally Posted by Flaviocc
Thank you.
Do you have a source where I can look at these styles.
I agree with you, about personal tastes.
I asked him to have a start point.
I'm used to use Sigil to remove all the CSS and them get a "pure"epub to Kindle deal with the file. But....I need a little tweak on line spacing and margins.
|
As an example, here's part of the stylesheet I normally use. Most of the work is done in the body where I indulge my preference for left justified (ragged right) text. Change that to text-align: justified; if you prefer justified text. The p tag is the basic paragraph with subsequent paragraphs getting an indent. The dropcap code give a visibly larger bold look while not being so enthused that it dominates the page. The chapnumber is basically the chapter number. Bold, centered and not taking up half a page on my screen. There is quite a bit more but this is the basics for me.
Code:
body {
display : block;
font-size : 1em;
line-height : 1.2;
margin : 0 0 0 0;
padding : 0 0 0 0;
text-align : left;
widows : 1;
orphans : 1;
}
p {
padding : 0 0 0.2em 0;
text-indent : 0;
}
.subsq {
text-indent : 4%;
}
.chapnumber {
font-size : 1.5em;
margin-top : 2em;
margin-bottom : 1.5em;
page-break-after : avoid;
text-align : center;
font-weight : bold;
}
.dropcap {
font-size : 1.5em;
margin-top : -0.09em;
font-weight : bold;
}