Skip to content

Commit

Permalink
Revert previous ("Sphinx doc: consolidate...")
Browse files Browse the repository at this point in the history
This reverts commit 87634ed.

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.
  • Loading branch information
tlyu committed Jan 16, 2013
1 parent 87634ed commit 774f0bf
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 14 deletions.
16 changes: 5 additions & 11 deletions doc/_static/kerb.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -47,11 +46,6 @@ div.header div.right a {
float: right;
}

div.header div.rel{
font-size: 50%;
padding-bottom: 0px;
}

/* Content */

div.document {
Expand Down Expand Up @@ -84,7 +78,7 @@ div.sidebar {
width: 20%;
margin: 0;
padding: 0;
background: #F9F9F9;
background-color: white;
}

div.sidebar ul {
Expand Down
11 changes: 8 additions & 3 deletions doc/_templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,20 @@

{% 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 #}
<a href="http://kerberos.org"> <img class="logo"
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 }}"
Expand All @@ -64,6 +68,7 @@ <h1><a href="{{pathto(master_doc)}}">{{shorttitle|e}}</a></h1>
{%- block sidebar2 %} {%- endblock %}
{%- block sidebar1 %}
<div class="sidebar"
style="float: right; background: #F9F9F9">
<h2>{{ _('On this page') }} </h2>
{{ toc }}
<br/>
Expand Down

0 comments on commit 774f0bf

Please sign in to comment.