Finish table of contents and pagination

This commit is contained in:
Hazem Krimi
2023-11-16 16:59:45 +01:00
parent 64723c3860
commit ad19dc44c3
18 changed files with 273 additions and 67 deletions
+27 -3
View File
@@ -1,3 +1,27 @@
#TableOfContents ul {
list-style-type: none;
}
:root {
--toc-light-background: #f2f2f2;
--toc-dark-background: #131212;
}
#table-of-contents {
margin-top: 3rem;
height: 30rem;
max-height: 20rem;
padding: 1.2rem 1.6rem;
border-radius: 1.875rem;
background-color: var(--toc-background);
}
#table-of-contents h3 {
margin-bottom: 1rem;
}
#table-of-contents nav ul {
list-style-type: none;
padding-inline-start: 2rem;
margin-bottom: 0rem;
}
#table-of-contents nav > ul:first-of-type {
padding: 0rem;
}