Petites corrections d'apparence
This commit is contained in:
parent
bdcdb37dd1
commit
fdd80f2910
2 changed files with 11 additions and 4 deletions
|
@ -102,6 +102,10 @@ main {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.nav-subsection {
|
||||||
|
padding-top: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
.toc-item a, .toc-item-child a {
|
.toc-item a, .toc-item-child a {
|
||||||
color: var(--secondary-text-color);
|
color: var(--secondary-text-color);
|
||||||
|
|
||||||
|
@ -156,6 +160,7 @@ footer {
|
||||||
.content {
|
.content {
|
||||||
max-width: 60%;
|
max-width: 60%;
|
||||||
min-width: 800px;
|
min-width: 800px;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -9,15 +9,17 @@
|
||||||
<div class="toc-item">
|
<div class="toc-item">
|
||||||
{% if p.subsections or p.pages %}
|
{% if p.subsections or p.pages %}
|
||||||
{% if p.path == current.path %}
|
{% if p.path == current.path %}
|
||||||
<a class="subtext" href="{{ p.permalink | safe}}">⯆ <b>{{ p.title }}</b></a>
|
<a class="subtext" href="{{ p.permalink | safe}}">‣ <b>{{ p.title }}</b></a>
|
||||||
{% elif hierarchy is containing(s) %}
|
{% elif hierarchy is containing(s) %}
|
||||||
<a class="subtext" href="{{ p.permalink | safe}}">⯆ {{ p.title }}</a>
|
<a class="subtext" href="{{ p.permalink | safe}}">‣ {{ p.title }}</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<a class="subtext" href="{{ p.permalink | safe}}">⯈ {{ p.title }}</a>
|
<a class="subtext" href="{{ p.permalink | safe}}">‣ {{ p.title }}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if hierarchy is containing(s) or current.path == p.path %}
|
{% if hierarchy is containing(s) or current.path == p.path %}
|
||||||
{% if level + 1 < maxlevel %}
|
{% if level + 1 < maxlevel %}
|
||||||
{{ nav::navsection(hierarchy=hierarchy,level=level + 1,current=current) }}
|
<div class="nav-subsection">
|
||||||
|
{{ nav::navsection(hierarchy=hierarchy,level=level + 1,current=current) }}
|
||||||
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|
Loading…
Reference in a new issue