Update header in html docs

This commit is contained in:
Peter Vlugter 2011-05-10 14:09:34 +12:00
parent a6f8a9f3ce
commit a769fb3640
4 changed files with 9 additions and 9 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.3 KiB

After

Width:  |  Height:  |  Size: 7.1 KiB

Before After
Before After

View file

@ -38,11 +38,11 @@
</a> </a>
{%- else %} {%- else %}
{%- if logo -%} {%- if logo -%}
<img class="rightlogo" src="{{ pathto('_static/' + logo, 1) }}" alt="Logo"/> <img class="leftlogo" src="{{ pathto('_static/' + logo, 1) }}" alt="Logo"/>
{%- endif -%} {%- endif -%}
<h1 class="heading"><a href="{{ pathto('index') }}"> <h1 class="heading"><a href="{{ pathto('index') }}">
<span>{{ shorttitle|e }}</span></a></h1> <span>{{ shorttitle|e }}</span></a></h1>
<h2 class="heading"><span>{{ title|striptags|e }}</span></h2> <h2 class="heading"><span>Version {{ version|e }}</span></h2>
{%- endif %} {%- endif %}
{%- endblock %} {%- endblock %}
</div> </div>

View file

@ -112,13 +112,16 @@ div.header h2 {
font-size: 1.3em; font-size: 1.3em;
font-weight: normal; font-weight: normal;
letter-spacing: 1px; letter-spacing: 1px;
text-transform: uppercase; color: {{ theme_headingcolor }};
color: #aaa;
border: 0; border: 0;
margin-top: -3px; margin-top: -3px;
padding: 0; padding: 0;
} }
div.header img.leftlogo {
float: left;
}
div.header img.rightlogo { div.header img.rightlogo {
float: right; float: right;
} }

View file

@ -28,9 +28,6 @@ show_authors = True
# -- Options for HTML output --------------------------------------------------- # -- Options for HTML output ---------------------------------------------------
html_theme = 'akka' html_theme = 'akka'
html_theme_options = {
'full_logo': 'true'
}
html_theme_path = ['_sphinx/themes'] html_theme_path = ['_sphinx/themes']
html_title = 'Akka Documentation' html_title = 'Akka Documentation'