diff options
-rw-r--r-- | doc/_static/kerb.css | 16 | ||||
-rw-r--r-- | doc/_templates/layout.html | 11 |
2 files changed, 13 insertions, 14 deletions
diff --git a/doc/_static/kerb.css b/doc/_static/kerb.css index 4a17f8fda2..1eeebb71dc 100644 --- a/doc/_static/kerb.css +++ b/doc/_static/kerb.css @@ -31,13 +31,12 @@ div.header-wrapper { div.header { padding-top: 10px; - padding-bottom: 0px; + padding-bottom: 10px; } -div.header h1 a { - color: #5d1509; - font-size: 120%; - padding-top: 10px; +div.header h1 { + font-family: "Georgia", "Times New Roman", serif, black; + font-weight: normal; } div.header div.right a { @@ -47,11 +46,6 @@ div.header div.right a { float: right; } -div.header div.rel{ - font-size: 50%; - padding-bottom: 0px; -} - /* Content */ div.document { @@ -84,7 +78,7 @@ div.sidebar { width: 20%; margin: 0; padding: 0; - background: #F9F9F9; + background-color: white; } div.sidebar ul { diff --git a/doc/_templates/layout.html b/doc/_templates/layout.html index 6f3b944ce8..4ec97c2ff5 100644 --- a/doc/_templates/layout.html +++ b/doc/_templates/layout.html @@ -36,8 +36,7 @@ {% block header %} <div class="header-wrapper"> - <div class="header"> - <h1><a href="{{pathto(master_doc)}}">{{shorttitle|e}}</a></h1> + <div class="header" style="padding-bottom: 0px;"> {% if logo %} <p class="logo"> {# Link logo to kerberos.org #} @@ -45,7 +44,12 @@ src="{{ pathto('_static/' + logo, 1) }}" alt="Logo" /></a> </p> {% endif %} - <div class="rel"> + {% block headertitle %} + <h1><a href="{{ pathto (master_doc) }}" + style="color: {{ theme_bgcolor }}; font-size: 120%; + padding-top: 10px;">{{ shorttitle|e }}</a><h1> + {% endblock %} + <div class="rel" style="font-size: 50%; padding-bottom: 0px;" > {%- for rellink in rellinks|reverse %} <a href="{{ pathto(rellink[0]) }}" title="{{ rellink[1]|striptags }}" @@ -64,6 +68,7 @@ {%- block sidebar2 %} {%- endblock %} {%- block sidebar1 %} <div class="sidebar" + style="float: right; background: #F9F9F9"> <h2>{{ _('On this page') }} </h2> {{ toc }} <br/> |