Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Recipes

Notices

Reply
 
Thread Tools Search this Thread
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
Old 02-16-2011, 09:32 AM   #2
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by DTM View Post
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.
The navbar is handled separately. It's removed for Kindles, etc. Take a look at this thread to see if it helps.
Starson17 is offline   Reply With Quote
Advert
Old 02-16-2011, 08:55 PM   #3
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
Quote:
Originally Posted by Starson17 View Post
Take a look at this thread to see if it helps.
I had found that thread, but unfortunately, it's Greek to me. However, I discovered that, if you include:

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

it will change the font size on the navigation bar links, but nothing else. A little clumsy, but it gets me where I need to go.
DTM is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
extra_css - need remedial help BrianG Calibre 3 01-21-2010 01:52 PM


All times are GMT -4. The time now is 05:06 AM.


MobileRead.com is a privately owned, operated and funded community.