Compare commits

..

2 commits

Author SHA1 Message Date
aa191a8c04
DRAFTS 2025-07-08 16:46:02 +02:00
3b573b19e2
fix(theme): update the styles of the table of content 2025-07-08 16:46:02 +02:00

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 */