add number for mobile toc, fix order for nested titles
This commit is contained in:
parent
3f1bcccbfb
commit
d6900fcb03
1 changed files with 4 additions and 5 deletions
|
@ -19,14 +19,13 @@ $endLevel: 6;
|
|||
}
|
||||
}
|
||||
|
||||
.book-toc nav ul {
|
||||
.book-toc nav ul,
|
||||
#TableOfContents ul {
|
||||
counter-reset: item;
|
||||
|
||||
li {
|
||||
counter-increment: item;
|
||||
|
||||
&:first-child {
|
||||
counter-reset: item;
|
||||
}
|
||||
|
||||
&:before {
|
||||
content: counters(item, ".") ". ";
|
||||
float: left;
|
||||
|
|
Loading…
Reference in a new issue