mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-11-17 05:15:58 -06:00
WIP table of contents
This commit is contained in:
parent
0b3b160e87
commit
bbab41e90f
@ -969,6 +969,7 @@ aside.quote {
|
|||||||
.main-container {
|
.main-container {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
margin: 8px 0;
|
margin: 8px 0;
|
||||||
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.breadcrumb {
|
.breadcrumb {
|
||||||
@ -981,12 +982,17 @@ aside.quote {
|
|||||||
break-inside: avoid;
|
break-inside: avoid;
|
||||||
}
|
}
|
||||||
|
|
||||||
.table-of-contents {
|
.table-of-contents:not(.print) {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.table-of-contents.print {
|
.table-of-contents.print {
|
||||||
display: block;
|
display: block;
|
||||||
|
background-color: unset;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
.table-of-contents.print ul {
|
||||||
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#back-to-top {
|
#back-to-top {
|
||||||
|
Loading…
Reference in New Issue
Block a user