X-Git-Url: https://git.exim.org/exim-website.git/blobdiff_plain/be2963af7935fb8962a802bba0f7d610536c7622..7dafcc0c48188949d5742fa4ce5ab1b279a4a5df:/templates/web/doc/chapter.css diff --git a/templates/web/doc/chapter.css b/templates/web/doc/chapter.css index 4b88550..9f9b22e 100644 --- a/templates/web/doc/chapter.css +++ b/templates/web/doc/chapter.css @@ -1,4 +1,39 @@ -.previous_page, .next_page { +#old_version_warning { + text-align: center; + padding: 0.1em; + margin: 0; + font-size: 1.4em; +} + +body.with-js #old_version_warning { + display: none; + text-align: left; + position: fixed; + top: 20%; + left: 30%; + width: 40%; + background-color: #fff; + border: 1px solid #000; + padding: 1em; + z-index: 10000; +} + +#old_version_warning span.closebar { + float: right; + position: relative; + right: -0.5em; + top: -0.5em; +} + +#old_version_warning span.closebar a { + text-decoration: none; +} + +body.no-js #old_version_warning span.closebar { + display: none; +} + +.previous_page, .next_page, .toc_page { font-size: 1.2em; } @@ -12,6 +47,17 @@ clear: right; } +.toc_page { + position: absolute; + right: 13em; + left: 13em; + text-align: center; +} + +#chapter { + line-height: 1.5; +} + #chapter table { margin-top: 1em; margin-bottom: 1em; @@ -41,7 +87,6 @@ dl dt { clear: left; float: left; - width: 220px; margin: 0; font-weight: bold; padding-left: 2em; @@ -50,7 +95,9 @@ dl dt dl dd { - margin-left: 230px; + margin-left: 4em; + padding-top: 0.2em; + clear: left; line-height: 1.1; white-space: normal; } @@ -112,3 +159,8 @@ dl dd dl display: none; } } + +/* Changebars -- experimental */ +.changed { + border-right: 5px solid #000; +}