]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Sphinx doc: consolidate style markup in kerb.css
authorZhanna Tsitkov <tsitkova@mit.edu>
Wed, 16 Jan 2013 20:38:31 +0000 (15:38 -0500)
committerZhanna Tsitkov <tsitkova@mit.edu>
Wed, 16 Jan 2013 20:38:31 +0000 (15:38 -0500)
doc/_static/kerb.css
doc/_templates/layout.html

index 1eeebb71dcf040cc0998bfe716ebe62f296bfddc..4a17f8fda21941d3ba3148928da55f36ee681d2d 100644 (file)
@@ -31,12 +31,13 @@ div.header-wrapper {
 
 div.header {
   padding-top: 10px;
-  padding-bottom: 10px;
+  padding-bottom: 0px;
 }
 
-div.header h1 {
-  font-family: "Georgia", "Times New Roman", serif,  black;
-  font-weight: normal;
+div.header  h1 a {
+  color: #5d1509;
+  font-size: 120%;
+  padding-top: 10px;
 }
 
 div.header div.right a {
@@ -46,6 +47,11 @@ div.header div.right a {
   float: right;
 }
 
+div.header div.rel{
+  font-size: 50%;
+  padding-bottom: 0px;
+}
+
 /* Content */
 
 div.document {
@@ -78,7 +84,7 @@ div.sidebar {
   width: 20%;
   margin: 0;
   padding: 0;
-  background-color: white;
+  background: #F9F9F9;
 }
 
 div.sidebar ul {
index 4ec97c2ff5da18e30a24fc225d19ad8755e2ab15..6f3b944ce87faa1ba8c045b8d167ddc6ea7a6ebe 100644 (file)
@@ -36,7 +36,8 @@
 
 {% block header %}
     <div class="header-wrapper">
-        <div class="header" style="padding-bottom: 0px;">
+        <div class="header">
+            <h1><a href="{{pathto(master_doc)}}">{{shorttitle|e}}</a></h1>
             {% if logo %}
                 <p class="logo">
                     {# Link logo to kerberos.org #}
                     src="{{ pathto('_static/' + logo, 1) }}" alt="Logo" /></a>
                 </p>
             {% endif %}
-            {% 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;" >
+            <div class="rel">
                 {%- for rellink in rellinks|reverse %}
                     <a href="{{ pathto(rellink[0]) }}"
                     title="{{ rellink[1]|striptags }}"
@@ -68,7 +64,6 @@
             {%- block sidebar2 %} {%- endblock %}
             {%- block sidebar1 %}
                 <div class="sidebar"
-                    style="float: right; background: #F9F9F9">
                     <h2>{{ _('On this page') }} </h2>
                     {{ toc }}
                     <br/>