Actually, it's nicer with no text above the logo

This commit is contained in:
Daniel Oaks 2013-12-08 22:45:12 +10:00
parent b02048a903
commit 22df9d33e8
3 changed files with 5 additions and 5 deletions

View File

@ -129,7 +129,7 @@
background: rgba(255,255,255,.1) background: rgba(255,255,255,.1)
img.logo img.logo
display: block // display on its own line all the time display: block // display on its own line all the time
margin: 0.85em auto 0 margin: 0 auto
height: auto // undo badge styling above height: auto // undo badge styling above
width: auto width: auto
border-radius: 0 border-radius: 0

View File

@ -96,12 +96,12 @@
{# SIDE NAV, TOGGLES ON MOBILE #} {# SIDE NAV, TOGGLES ON MOBILE #}
<nav data-toggle="wy-nav-shift" class="wy-nav-side"> <nav data-toggle="wy-nav-shift" class="wy-nav-side">
<div class="wy-side-nav-search"> <div class="wy-side-nav-search">
<a href="{{ pathto(master_doc) }}" class="icon icon-home"> {{ project }}
{% if logo %} {% if logo %}
{# Not strictly valid HTML, but it's the only way to display/scale it properly, without weird scripting or heaps of work #} {# Not strictly valid HTML, but it's the only way to display/scale it properly, without weird scripting or heaps of work #}
<img src="{{ pathto('_static/' + logo, 1) }}" class="logo" /> <a href="{{ pathto(master_doc) }}"><img src="{{ pathto('_static/' + logo, 1) }}" class="logo" /></a>
{% else %}
<a href="{{ pathto(master_doc) }}" class="icon icon-home"> {{ project }} </a>
{% endif %} {% endif %}
</a>
{% include "searchbox.html" %} {% include "searchbox.html" %}
</div> </div>

File diff suppressed because one or more lines are too long