Fix the jolly section numbering

This commit is contained in:
Tony Garnock-Jones 2018-09-24 18:11:19 +01:00
parent 96c46c19b4
commit 1275aaded1
1 changed files with 3 additions and 1 deletions

View File

@ -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) ". ";