View Single Post
Old 12-20-2010, 01:00 PM   #5
eBookLuke
Writer2ePub creator
eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.eBookLuke knows the chase is better than the catch.
 
eBookLuke's Avatar
 
Posts: 354
Karma: 121129
Join Date: Sep 2009
Location: Genova, Italy
Device: Cybook Bebook iLiad Kindle HanlinV2 Readius SonyPRS500 SonyPRS700 etc
Quote:
Originally Posted by Bertrand View Post
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
eBookLuke is offline   Reply With Quote