summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/_static/kerb.css2
-rw-r--r--doc/_templates/layout.html2
-rw-r--r--doc/conf.py7
3 files changed, 6 insertions, 5 deletions
diff --git a/doc/_static/kerb.css b/doc/_static/kerb.css
index eb93bc48a8..1eeebb71dc 100644
--- a/doc/_static/kerb.css
+++ b/doc/_static/kerb.css
@@ -24,7 +24,7 @@ div.header, div.content, div.footer {
div.header-wrapper {
background: white;
border-bottom: 3px solid #2e3436;
- border-top: 13px solid #59121e;
+ border-top: 13px solid #5d1509;
}
/* Header */
diff --git a/doc/_templates/layout.html b/doc/_templates/layout.html
index e517be51fd..7bfdec6909 100644
--- a/doc/_templates/layout.html
+++ b/doc/_templates/layout.html
@@ -39,7 +39,7 @@
{% endif %}
{% block headertitle %}
<h1><a href="{{ pathto (master_doc) }}"
- style="color: #59121e; font-size: 120%;
+ 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;" >
diff --git a/doc/conf.py b/doc/conf.py
index 44fe812574..266507ce5b 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -106,8 +106,8 @@ html_theme = 'agogo'
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
# documentation.
-html_theme_options = { "linkcolor": "#a63019", "footerbg": "#59121e",
- "bgcolor": "#59121e", "documentwidth": "80%",
+html_theme_options = { "linkcolor": "#881f0d", "footerbg": "#5d1509",
+ "bgcolor": "#5d1509", "documentwidth": "80%",
"pagewidth": "auto", "sidebarwidth": "20%" }
# Add any paths that contain custom themes here, relative to this directory.
@@ -122,7 +122,8 @@ html_title = "MIT Kerberos Documentation"
# The name of an image file (relative to this directory) to place at the top
# of the sidebar.
-#html_logo = ""
+if os.environ.get('HTML_LOGO'):
+ html_logo = os.environ['HTML_LOGO']
# The name of an image file (within the static path) to use as favicon of the
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32