View Single Post
Old 03-11-2015, 12:03 PM   #6
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,560
Karma: 20150435
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
You can't do that with a single CSS rule. You need some way to enable/disable CSS rules, so you can choose between the embedded font (font-family:"Gentium") to whatever you you chose in your reader (no font-family specified). There is at least one standard compliant way to do this: alternate stylesheets, but I'm not aware of any reader that supports this.

In some readers you may have the option to ignore all ebook styles and use only your own, or to specify some stylesheet to override the ones in the book (in that case you could use "font-family:serif !important", and cross your fingers).
Jellby is offline   Reply With Quote