View Single Post
Old 01-22-2013, 02:38 AM   #1
Skydog
Wizard
Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.
 
Skydog's Avatar
 
Posts: 1,386
Karma: 1496544
Join Date: Mar 2009
Location: Circling Earth @ Mach .83
Device: Kindle PW2/DXG, FireHD 8.9, Nexus 7, 10, Kobo Mini, Aura HD
Conversions: How to Modify Paragraphs Without Affecting the TOC?

How does one utilize the "remove line spacing" and paragraph indent in the Look and Feel settings without removal of line spacing being applied to the existing TOC?

I typically never use this feature and make simple edits to the CSS (with very limited knowledge) prior to converting epub => azw3. In this case, however, I'm stumped with the CSS and have been unsuccessful, hence the need to let Calibre do the work. The body converts perfectly, but the TOC is also stripped of any spacing and looks hideous. What do I need to add to "extra CSS" in the Look & Feel option? Here is what I grabbed from the existing CSS:

p.toc {text-indent: 0%; margin-top: 2%;}

p.toc1 {font-size: medium; text-align: center; text-indent: 0%; margin-top: 4%; font-weight: bold;}

p.toc2 {text-align: center; text-indent: 0%; font-weight: bold;}


Many thanks for any pointers.
Skydog is offline   Reply With Quote