70 lines
1.3 KiB
SCSS
70 lines
1.3 KiB
SCSS
.counter-start-header-section {
|
|
counter-reset: h2;
|
|
|
|
.reset-h2 {
|
|
counter-reset: h3;
|
|
}
|
|
|
|
.reset-h3 {
|
|
counter-reset: h4;
|
|
}
|
|
|
|
.reset-h4 {
|
|
counter-reset: h5;
|
|
}
|
|
|
|
.reset-h5 {
|
|
counter-reset: h6;
|
|
}
|
|
|
|
.reset-h6 {
|
|
counter-reset: h6;
|
|
}
|
|
|
|
.reset-h5 {
|
|
counter-reset: h6;
|
|
}
|
|
|
|
.reset-h6 {
|
|
counter-reset: h7;
|
|
}
|
|
|
|
.header-section.fr-h2::before {
|
|
counter-increment: h2;
|
|
content: counter(h2) ". ";
|
|
}
|
|
|
|
.header-section.fr-h3::before {
|
|
counter-increment: h3;
|
|
content: counter(h2) "." counter(h3) ". ";
|
|
}
|
|
|
|
.header-section.fr-h4::before {
|
|
counter-increment: h4;
|
|
content: counter(h2) "." counter(h3) "." counter(h4) ". ";
|
|
}
|
|
|
|
.header-section.fr-h5::before {
|
|
counter-increment: h5;
|
|
content: counter(h2) "." counter(h3) "." counter(h4) "." counter(h5) ". ";
|
|
}
|
|
|
|
.header-section.fr-h6::before {
|
|
counter-increment: h6;
|
|
content: counter(h2) "." counter(h3) "." counter(h4) "." counter(h5) "." counter(h6) ". ";
|
|
}
|
|
|
|
.header-section.fr-h7::before {
|
|
counter-increment: h7;
|
|
content: counter(h2) "." counter(h3) "." counter(h4) "." counter(h5) "." counter(h6) "." counter(h7) ". ";
|
|
}
|
|
|
|
.repetition {
|
|
counter-reset: repetition;
|
|
|
|
.block-id::after {
|
|
counter-increment: repetition;
|
|
content: counter(repetition);
|
|
}
|
|
}
|
|
}
|