small html theme tweaks to unclutter top of page. move version string to navigation bar

This commit is contained in:
Axel Kohlmeyer 2020-03-18 17:52:19 -04:00
parent 2cefddb16c
commit 7824b3f4ab
No known key found for this signature in database
GPG Key ID: D9B44E93BF0C375A
2 changed files with 2 additions and 2 deletions

View File

@ -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> &raquo;</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 %}

View File

@ -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>