/* ... Counter Configuration ............................................... */
body {
counter-reset: h1 h2 h3 h4 h5 h6 table;
}
.number.projectdoc-heading-level-h1 {
counter-increment: h1;
counter-reset: h2 h3 h4 h5 h6;
}
.number.projectdoc-heading-level-h1:before {
content: counter(h1) " ";
}
.number.projectdoc-heading-level-h2 {
counter-increment: h2;
counter-reset: h3 h4 h5 h6;
}
.number.projectdoc-heading-level-h2:before {
content: counter(h1) "." counter(h2) " ";
}
.number.projectdoc-heading-level-h3 {
counter-increment: h3;
counter-reset: h4 h5 h6;
}
.number.projectdoc-heading-level-h3:before {
content: counter(h1) "." counter(h2) "." counter(h3) " ";
}
.number.projectdoc-heading-level-h4 {
counter-increment: h4;
counter-reset: h5 h6;
}
.number.projectdoc-heading-level-h4:before {
content: counter(h1) "." counter(h2) "." counter(h3) "." counter(h4) " " ;
}
.number.projectdoc-heading-level-h5 {
counter-increment: h5;
counter-reset: h6;
}
.number.projectdoc-heading-level-h5:before {
content: counter(h1) "." counter(h2) "." counter(h3) "." counter(h4) "." counter(h5) " " ;
}
.number.projectdoc-heading-level-h6 {
counter-increment: h6;
}
.number.projectdoc-heading-level-h6:before {
counter-increment: h6;
content: counter(h1) "." counter(h2) "." counter(h3) "." counter(h4) "." counter(h5) "." counter(h6) " " ;
}
/* ... No-Counter Configuration ............................................ */
.nonumber {
counter-increment: none;
}
.nonumber:before {
content: "";
}