Quote:
Originally Posted by Bertrand
Ok, here's my css code.
This is the file that I use to replace the default stylesheet.
In this file I kept all your classes.
I change the selectors h1 to h6, p.
I add two custom classes.
(Sometimes I add more classes, it depends on the content of the book, but those are the main styles)
I have to say that in openOffice, before creating the epub, I reset all predefined styles, load my own styles and apply them. After that, my css file works nicely in my reader.
|
Nice!
If you change:
Code:
font: 1em Georgia, "Times New Roman", Times, serif;
with:
Code:
font: 1em Georgia, "Times New Roman", Times, serif, sansserif, monospace;
you can change all font faces "on the fly" in almost every reader.
By remove
sansserif and
monospace the user cannot set the font to "Arial" or "Courier"
Luke