forked from lijiext/lammps
small html theme tweaks to unclutter top of page. move version string to navigation bar
This commit is contained in:
parent
2cefddb16c
commit
7824b3f4ab
|
@ -1,5 +1,4 @@
|
|||
<div role="navigation" aria-label="breadcrumbs navigation">
|
||||
<div style="text-align: center; margin-bottom: -1.5em; display: block"><b>LAMMPS</b> {{ version }}</div>
|
||||
<ul class="wy-breadcrumbs">
|
||||
<li><a href="{{ pathto(master_doc) }}">Docs</a> »</li>
|
||||
{% for doc in parents %}
|
||||
|
@ -22,7 +21,7 @@
|
|||
{% endif %}
|
||||
</li>
|
||||
</ul>
|
||||
<hr/>
|
||||
<hr width="100%"/>
|
||||
{% if next or prev %}
|
||||
<div class="rst-footer-buttons" style="margin-bottom: 1em" role="navigation" aria-label="footer navigation">
|
||||
{% if next %}
|
||||
|
|
|
@ -97,6 +97,7 @@
|
|||
{% if logo %}
|
||||
{# 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" />
|
||||
<div><b>{{ version }}</b></div>
|
||||
{% endif %}
|
||||
</a>
|
||||
|
||||
|
|
Loading…
Reference in New Issue