Fix the jolly section numbering
This commit is contained in:
parent
96c46c19b4
commit
1275aaded1
|
@ -34,10 +34,12 @@ h2::before, h3::before {
|
||||||
height: 0;
|
height: 0;
|
||||||
}
|
}
|
||||||
h2::before {
|
h2::before {
|
||||||
counter-reset: subsection 0;
|
|
||||||
counter-increment: section;
|
counter-increment: section;
|
||||||
content: counter(section) ". ";
|
content: counter(section) ". ";
|
||||||
}
|
}
|
||||||
|
h2 {
|
||||||
|
counter-reset: subsection 0;
|
||||||
|
}
|
||||||
h3::before {
|
h3::before {
|
||||||
counter-increment: subsection;
|
counter-increment: subsection;
|
||||||
content: counter(section) "." counter(subsection) ". ";
|
content: counter(section) "." counter(subsection) ". ";
|
||||||
|
|
Loading…
Reference in New Issue