diff --git a/build.py b/build.py index 5d0b0bb..4d09afe 100755 --- a/build.py +++ b/build.py @@ -444,13 +444,13 @@ for header in fileStruct: if level == 0: toc = toc + '

Part ' + num2roman(levelNums[level]) + ': ' + header['title'] + '

\n'; elif level == 1: - toc = toc + '

Ch. ' + str(levelNums[level]) + ':  ' + header['title'] + '

\n' + toc = toc + '

Ch. ' + str(levelNums[level]) + ':  ' + header['title'] + '

\n' elif level == 2: - toc = toc + ' ' + header['title'] + '
\n' + toc = toc + '

' + header['title'] + '

\n' elif level == 3: - toc = toc + ' ' + header['title'] + '
\n' + toc = toc + '

' + header['title'] + '

\n' elif level == 4: - toc = toc + ' ' + header['title'] + '
\n' + toc = toc + '

' + header['title'] + '

\n' # Make the 'this thing contains...' stuff if HaveChildren(fileStruct, pageNumber): diff --git a/source/css/app.css b/source/css/app.css index fd063ae..6c8784d 100644 --- a/source/css/app.css +++ b/source/css/app.css @@ -579,16 +579,16 @@ samp:after { } /* for the TOC */ -#chapter, -#subchapter, -#section, -#subsection { - line-height:1.5em; +#content p.chapter, +#content p.subchapter, +#content p.section, +#content p.subsection { + line-height:1em; } -#chapter { padding-top: 1em; padding-left: 1em; } -#subchapter { padding-left: 4em; } -#section { padding-left: 6em; } -#subsection { padding-left: 8em; } +#content p.chapter { padding-top: 1em; padding-left: 1em; padding-bottom:1em; } +#content p.subchapter { padding-left: 4em; } +#content p.section { padding-left: 6em; } +#content p.subsection { padding-left: 8em; } /* for images sliced in divs, as in http://manual.ardour.org/ardours-interface/about/ */ .container { position: relative; border: none; }