From: Nigel Metheringham Date: Sat, 9 Jun 2012 19:44:22 +0000 (+0100) Subject: Added ToC link to bottom nav bar and chapter title X-Git-Tag: exim-4_89_1~48 X-Git-Url: https://git.exim.org/exim-website.git/commitdiff_plain/7dafcc0c48188949d5742fa4ce5ab1b279a4a5df Added ToC link to bottom nav bar and chapter title --- diff --git a/templates/doc/chapter.xsl b/templates/doc/chapter.xsl index f715219..06e320d 100644 --- a/templates/doc/chapter.xsl +++ b/templates/doc/chapter.xsl @@ -41,8 +41,8 @@ - - ]]> + + ]]> @@ -60,7 +60,9 @@

- + + +

@@ -70,7 +72,10 @@ - ]]> + + + ]]> + @@ -107,6 +112,6 @@ - + diff --git a/templates/web/doc/chapter.css b/templates/web/doc/chapter.css index 3eab804..9f9b22e 100644 --- a/templates/web/doc/chapter.css +++ b/templates/web/doc/chapter.css @@ -33,7 +33,7 @@ body.no-js #old_version_warning span.closebar { display: none; } -.previous_page, .next_page { +.previous_page, .next_page, .toc_page { font-size: 1.2em; } @@ -47,6 +47,13 @@ body.no-js #old_version_warning span.closebar { clear: right; } +.toc_page { + position: absolute; + right: 13em; + left: 13em; + text-align: center; +} + #chapter { line-height: 1.5; }