début de mise en place de la toc. le design reste à voir

This commit is contained in:
antonin gallon 2026-02-16 16:11:36 +01:00
parent e210ed40f6
commit 0de3b29e8b
7 changed files with 44 additions and 2 deletions

View file

@ -29,7 +29,8 @@ h5,
h5 *,
p,
p *:not(strong),
figcaption {
figcaption,
.toc{
font-weight: var(--font-weight-light);
line-height: 1;
}

15
assets/css/src/toc.css Normal file
View file

@ -0,0 +1,15 @@
.page-cover .toc{
position: fixed;
display: block;
width: calc(var(--body-padding) - var(--unit--horizontal) * 2) ;
left: 0;
top: 15vw;
padding-inline: var(--unit--horizontal);
}
.toc_label{
font-size: var(--font-size-m);
}
.toc li{
margin-left: 0;
}

View file

@ -12,6 +12,7 @@
@import url("src/footer.css");
@import url("src/toggle-light-mode.css");
@import url("src/print.css");
@import url("src/toc.css");