baseline & toc
This commit is contained in:
parent
831d276d41
commit
79b2753fdb
16 changed files with 385 additions and 16 deletions
47
css/modules/_toc.scss
Normal file
47
css/modules/_toc.scss
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
#toc_container{
|
||||
|
||||
break-before: page;
|
||||
break-after: page;
|
||||
// color: red;
|
||||
|
||||
ul{
|
||||
list-style-type: none;
|
||||
color: black;
|
||||
}
|
||||
|
||||
.toc-element-level-1{
|
||||
margin-top: calc(var(--baseline)*1);
|
||||
margin-bottom: calc(var(--baseline)*0.5);
|
||||
font-size: 1.2rem;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.toc-element-level-2{
|
||||
font-weight: bold;
|
||||
margin-top: calc(var(--baseline)*0.5);
|
||||
margin-bottom: calc(var(--baseline)*0.5);
|
||||
}
|
||||
|
||||
.toc-element-level-3{
|
||||
text-indent: 5mm;
|
||||
|
||||
}
|
||||
|
||||
.toc-element-level-4{
|
||||
text-indent: 10mm;
|
||||
|
||||
}
|
||||
|
||||
.toc-element-level-5{
|
||||
text-indent: 15mm;
|
||||
|
||||
}
|
||||
|
||||
.toc-element-level-6{
|
||||
text-indent: 20mm;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue