Skip to content

Commit

Permalink
Fix h1 end tag in Sphinx header titles
Browse files Browse the repository at this point in the history
A </h1> end tag was incorrectly written as <h1>.  Also adjust style
settings so that the resulting computed style remains the same for
div.rel.

(cherry picked from commit 21e14ae)

ticket: 7557
version_fixed: 1.11.1
status: resolved
  • Loading branch information
tlyu committed Feb 6, 2013
1 parent 7c4c396 commit 07bccd6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions doc/_static/kerb.css
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ div.header div.right a {
float: right;
}

div.header div.rel {
font-family: "Georgia", "Times New Roman", serif, black;
font-weight: normal;
margin-bottom: 1.6em;
}

/* Content */

div.document {
Expand Down
4 changes: 2 additions & 2 deletions doc/_templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@
{% block headertitle %}
<h1><a href="{{ pathto (master_doc) }}"
style="color: {{ theme_bgcolor }}; font-size: 120%;
padding-top: 10px;">{{ shorttitle|e }}</a><h1>
padding-top: 10px;">{{ shorttitle|e }}</a></h1>
{% endblock %}
<div class="rel" style="font-size: 50%; padding-bottom: 0px;" >
<div class="rel">
{%- for rellink in rellinks|reverse %}
<a href="{{ pathto(rellink[0]) }}"
title="{{ rellink[1]|striptags }}"
Expand Down

0 comments on commit 07bccd6

Please sign in to comment.