summaryrefslogtreecommitdiffstats
path: root/doc/_templates
diff options
context:
space:
mode:
authorTom Yu <tlyu@mit.edu>2013-01-16 17:45:41 -0500
committerTom Yu <tlyu@mit.edu>2013-01-16 18:02:27 -0500
commit774f0bf84e815591fc2b11d55d5dfa21e1fd63b3 (patch)
treea5cfb7f66c64129375ef2f949acca0391eaf3f1e /doc/_templates
parent87634edc472cebde4a37d002b7006ed38a1b25c2 (diff)
downloadkrb5-774f0bf84e815591fc2b11d55d5dfa21e1fd63b3.tar.gz
krb5-774f0bf84e815591fc2b11d55d5dfa21e1fd63b3.tar.xz
krb5-774f0bf84e815591fc2b11d55d5dfa21e1fd63b3.zip
Revert previous ("Sphinx doc: consolidate...")
This reverts commit 87634edc472cebde4a37d002b7006ed38a1b25c2. That commit is not neutral with respect to the rendering of the HTML, and causes the version built with the logo to look unacceptably disordered.
Diffstat (limited to 'doc/_templates')
-rw-r--r--doc/_templates/layout.html11
1 files changed, 8 insertions, 3 deletions
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/>