From 7dafcc0c48188949d5742fa4ce5ab1b279a4a5df Mon Sep 17 00:00:00 2001 From: Nigel Metheringham Date: Sat, 9 Jun 2012 20:44:22 +0100 Subject: [PATCH] Added ToC link to bottom nav bar and chapter title --- templates/doc/chapter.xsl | 15 ++++++++++----- templates/web/doc/chapter.css | 9 ++++++++- 2 files changed, 18 insertions(+), 6 deletions(-) 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; } -- 2.30.2