mirror of
https://github.com/hazemKrimi/personal-website.git
synced 2026-05-01 18:00:26 +00:00
Finish table of contents and pagination
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user