fix(theme): update the styles of the table of content

This commit is contained in:
Bruno Carlin 2025-07-06 14:22:12 +02:00
parent 7c89719f21
commit 3b573b19e2
Signed by: bcarlin
GPG key ID: 8E254EA0FFEB9B6D

View file

@ -271,18 +271,27 @@ main {
section.table-of-contents {
font-size: 0.9em;
margin-block-end: 2em;
margin-inline-start: 1em;
padding-inline-start: 1em;
border-inline-start: 1px solid var(--pico-muted-color);
p {
margin-bottom: 0; /* reset pico styles */
margin-block-end: 0.2em;
margin-inline-start: 0.5em;
font-weight: bold;
&::before {
font-family: "remixicon";
font-weight: normal;
margin-inline-end: 0.5em;
content: "\eebb";
}
}
nav {
margin-inline-start: 1em;
padding-inline-start: 1em;
border-inline-start: 1px solid var(--pico-muted-color);
ol {
&:last-of-type {
margin-right: initial; /* reset pico styles */