Hi Paul,
I don't know where Calibre stores its default values, I'd guess it's in a constant compiled in the program...
Anyway, using --override-css is quite simple, all you have to do is specify the path of your custom CSS file :
Code:
--override-css=OVERRIDE_CSS
Either the path to a CSS stylesheet or raw CSS. This
CSS will override any existing CSS declarations in the
source files.
As for what to put in this file, I can't tell ; it depends on the input file, the way Calibre generates the content (and therefore the name of the class specified for the titles elements) : you'll have to experiment.
As far as I know it should be something like :
Code:
h1 {
font-size:0.9em;
}
Of course, the element name (
h1 in this example) can vary, it could be
h2,
h3 or whatever level choosen by Calibre, or even a custom element.
Also, the font-size value is yours to choose
Tell me if I can help you further !
Cheers,
David.