Style x.y.z.w sections in tocs differently from x.y.z. (I'm not
authorCameron McCormack <cam@mcc.id.au>
Wed, 09 May 2012 21:26:32 +0200
changeset 59 fd502e2d6c52
parent 58 f24cf746eae1
child 60 1f6cca71309e
Style x.y.z.w sections in tocs differently from x.y.z. (I'm not
exactly happy with the current styling, but it's better than being
the same as the ancestor section toc style.)
master/style/default_svg.css
--- a/master/style/default_svg.css	Wed May 09 21:05:03 2012 +0200
+++ b/master/style/default_svg.css	Wed May 09 21:26:32 2012 +0200
@@ -209,9 +209,13 @@
 ul.old-editor-list { list-style-type: none !important }
 .authornote { font-size: 80% }
 
-/* Override default.css to not capitalize chapters */
+/* Override default.css to not capitalize chapters. */
 ul.toc { text-transform: none }
 
+/* Allow another level of toc. */
+ul.toc ul ul ul { margin: 0 0 0 2.4em; font-style: normal; font-size: 85%; line-height: 1.53; xcolor: #666 }
+ul.toc ul ul ul span.secno { margin-left: -10.6em }
+
 /* The header/footer with links to next/previous chapter, etc. */
 .header { background: #eee; padding: 0.5em; font-size: 85%; text-align: right }
 .header.top { border-top: 1px solid #ccc; margin-bottom: 2em }