View Single Post
Old 02-15-2011, 06:15 PM   #1
DTM
Intentionally Left Blank
DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.
 
DTM's Avatar
 
Posts: 172
Karma: 300106
Join Date: Feb 2006
Location: Royal Oak, MI, USA
Device: Nook STR
Help with extra_css

I'm starting to get the hang of creating recipes, but I'm stuck on the use of extra_css. Whatever I do, it just gets ignored. What I'm trying to do is to bump up the font size on the Calibre navbar; the default is too small for my Nook. Since the CSS sets the font size to 0.7em, I thought I'd try 1em:

extra_css = '.calibrenavbar {font-size: 1em;}'

Doesn't work. After numerous attempts, I started trying what should be trivial things like changing the font size for p tags. But everything gets ignored. I've opened the resulting epub in Sigil and verified that it is not adding anything to the style section.

Checked the help and the forums to see if I'm placing it in the wrong spot or something like that, but I'm getting nowhere. I'm guessing I'm doing something flagrantly obvious that's wrong, but I sure can't spot it.

DTM is offline   Reply With Quote