small tweaks to the "breadcrumbs" part of the theme to avoid double inserting a separation character
This commit is contained in:
@ -74,9 +74,16 @@ hr {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.rst-breadcrumbs-buttons {
|
.rst-breadcrumbs-buttons {
|
||||||
|
padding-top: 5px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.breadcrumb-item:before {
|
||||||
|
content: "»";
|
||||||
|
color: black;
|
||||||
|
font-size: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
p {
|
p {
|
||||||
margin-bottom: 12px;
|
margin-bottom: 12px;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -22,9 +22,9 @@
|
|||||||
<div role="navigation" aria-label="{{ _('Page navigation') }}">
|
<div role="navigation" aria-label="{{ _('Page navigation') }}">
|
||||||
<ul class="wy-breadcrumbs">
|
<ul class="wy-breadcrumbs">
|
||||||
{%- block breadcrumbs %}
|
{%- block breadcrumbs %}
|
||||||
<li><a href="{{ pathto(master_doc) }}" class="icon icon-home"></a> »</li>
|
<li><a href="{{ pathto(master_doc) }}" class="icon icon-home"></a></li>
|
||||||
{%- for doc in parents %}
|
{%- for doc in parents %}
|
||||||
<li class="breadcrumb-item"><a href="{{ doc.link|e }}">{{ doc.title }}</a> »</li>
|
<li class="breadcrumb-item"><a href="{{ doc.link|e }}">{{ doc.title }}</a></li>
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
<li class="breadcrumb-item active">{{ title }}</li>
|
<li class="breadcrumb-item active">{{ title }}</li>
|
||||||
{%- endblock %}
|
{%- endblock %}
|
||||||
@ -57,8 +57,7 @@
|
|||||||
{%- elif show_source and has_source and sourcename %}
|
{%- elif show_source and has_source and sourcename %}
|
||||||
<a href="{{ pathto('_sources/' + sourcename, true)|e }}" rel="nofollow"> {{ _('View page source') }}</a>
|
<a href="{{ pathto('_sources/' + sourcename, true)|e }}" rel="nofollow"> {{ _('View page source') }}</a>
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
<a href="https://www.lammps.org">Website</a>
|
<a href="https://www.lammps.org"><img src="_static/lammps-logo.png" width="64" height="16" alt="LAMMPS Homepage"></a> | <a href="Commands_all.html">Commands</a>
|
||||||
<a href="Commands_all.html">Commands</a>
|
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
</li>
|
</li>
|
||||||
{%- endblock %}
|
{%- endblock %}
|
||||||
|
|||||||
Reference in New Issue
Block a user