forked from syndicate-lang/preserves
Fix the jolly section numbering
This commit is contained in:
parent
1988607d7f
commit
afac7c5de1
|
@ -34,10 +34,12 @@ h2::before, h3::before {
|
|||
height: 0;
|
||||
}
|
||||
h2::before {
|
||||
counter-reset: subsection 0;
|
||||
counter-increment: section;
|
||||
content: counter(section) ". ";
|
||||
}
|
||||
h2 {
|
||||
counter-reset: subsection 0;
|
||||
}
|
||||
h3::before {
|
||||
counter-increment: subsection;
|
||||
content: counter(section) "." counter(subsection) ". ";
|
||||
|
|
Loading…
Reference in New Issue