fix: make the Table of Content title visible

This commit is contained in:
Kazhnuz 2023-11-15 19:33:56 +01:00
parent ef41d2aa0c
commit 864e0c4cb1
2 changed files with 9 additions and 2 deletions

View file

@ -9,7 +9,7 @@ layout: layouts/parent.njk
<aside id="more-info"> <aside id="more-info">
<div class="card"> <div class="card">
<h2 class="visually-hidden">Table of Content</h2> <h2>Table of Content</h2>
{{ content | toc | safe }} {{ content | toc | safe }}
</div> </div>
<div id="links"> <div id="links">

View file

@ -217,8 +217,15 @@ ul.nav,
margin:0; margin:0;
} }
#more-info h2 {
padding: 3px;
margin: 0;
font-size: 1rem;
}
#sidebar ul li li a, #sidebar ul li li a,
#links ul li li a { #links ul li li a,
#more-info ol li a {
padding-left:18px; padding-left:18px;
} }