Quote:
Originally Posted by WIKYD
...
As a real example, here os what I see in the css on the book I cannot get to format how I want (font, font-size, etc) : ...
|
Neither CSS stylesheet attempts to set the font, leaving it up to the reader software and its preference settings to choose. They both do set the relative size and/or style (italic) of some classes.
They also seem to set the base font size to 1em, meaning the reader software's current setting. I say "seem to" since I can't tell what element in the HTML has which style applied. Normally calibre generates styles on an as needed basis so the
.calibre (the unnumbered one) is usually applied to the
<body> tag as that is the first encountered.
text-indent is the line to look at when you want to set the indent. It should usually use em as its units.
margin-top and
margin-bottom set the space between the block element (
<p>, <div>, ...) to which they are applied. Many people set both to fractional/decimal values, though I personally prefer to use integer values, setting
margin-top as desired and
margin-bottom to 0em.