Style tab wrap table of contents
This commit is contained in:
parent
3af0b933db
commit
c85b5b7dc9
|
@ -30,8 +30,10 @@ isContentDivided: true
|
||||||
{% headingAnchor 2 %}{{ group.data.title }}{% endheadingAnchor %}
|
{% headingAnchor 2 %}{{ group.data.title }}{% endheadingAnchor %}
|
||||||
|
|
||||||
{% if group.data.toc %}
|
{% if group.data.toc %}
|
||||||
<h3>Table of Contents</h3>
|
<div class="tabwrap__toc">
|
||||||
{{ group.templateContent | toc | safe }}
|
<h3>Table of Contents</h3>
|
||||||
|
{{ group.templateContent | toc | safe }}
|
||||||
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{{ group.templateContent | safe }}
|
{{ group.templateContent | safe }}
|
||||||
|
|
|
@ -195,6 +195,11 @@ p + .adoptables { margin-top: 1em; }
|
||||||
outline: 0.2em solid var(--clr-title-border);
|
outline: 0.2em solid var(--clr-title-border);
|
||||||
outline-offset: 0.15em;
|
outline-offset: 0.15em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.tabwrap__toc {
|
||||||
|
background-color: var(--clr-quote-bg);
|
||||||
|
padding: 1em 1em 0.5em;
|
||||||
|
}
|
||||||
.tab__back { margin-top: 3em; }
|
.tab__back { margin-top: 3em; }
|
||||||
|
|
||||||
/* Web ring */
|
/* Web ring */
|
||||||
|
|
Loading…
Reference in New Issue