View Single Post
Old 09-02-2013, 07:24 PM   #10
phossler
Wizard
phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.
 
Posts: 1,087
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
Quote:
Sorry Paul, svg was a typo
not a problem -- I figured

But even without the div. 's in the CSS, it still doesn't seem to work (assuming I'm understanding it correctly).

I made the level-1 font 4em just to see, and level-2 font 1em


Code:
/* Sigil TOC CSS template, loaded when Tools, TOC, Create HTML TOC  */

.sgc-toc-title {
    font-size: 3em;
    font-weight: bold;
    margin-bottom: 1em;
    text-align: center;
}

.sgc-toc-level-1 {
    font-weight: bold;
    margin-top: 2em;
    font-size: 4em;
    margin-left: 0em;
}

.sgc-toc-level-2 {
    font-weight: normal;
    font-size: 1em;
    margin-top: 1em;
    margin-left: 0.5em;
}

.sgc-toc-level-3 {
	margin-top:1em;
    margin-left: 1em;
}

.sgc-toc-level-3 + div.sgc-toc-level-3 {
	margin-top:0em;}
But the level-2 font-size still seems ignored

Paul
Attached Thumbnails
Click image for larger version

Name:	Capture.JPG
Views:	322
Size:	61.5 KB
ID:	110347  
Attached Files
File Type: epub Text TOC CSS3.epub (4.1 KB, 276 views)
phossler is offline   Reply With Quote