mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
Actually, it's nicer with no text above the logo
This commit is contained in:
parent
b02048a903
commit
22df9d33e8
|
@ -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
|
||||||
|
|
|
@ -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
Loading…
Reference in New Issue
Block a user