X-Git-Url: https://git.exim.org/exim-website.git/blobdiff_plain/875b32a5cae79542de81d6aa579f8897f83f52e8..7dafcc0c48188949d5742fa4ce5ab1b279a4a5df:/templates/web/doc/chapter.css diff --git a/templates/web/doc/chapter.css b/templates/web/doc/chapter.css index c206e88..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; @@ -113,3 +159,8 @@ dl dd dl display: none; } } + +/* Changebars -- experimental */ +.changed { + border-right: 5px solid #000; +}