body { counter-reset: countH2; }
h2 {
	counter-reset: countH3;
	counter-increment: countH2;
}
h3 {
	counter-reset: countH4;
	counter-increment: countH3;
}
h4 {
	counter-reset: countH5;
	counter-increment: countH4;
}
h5 {
	counter-reset: countH6;
	counter-increment: countH5;
}
h6 {
	counter-increment: countH6;
}

h2:before { content: counter(countH2) " - "; }
h3:before { content: counter(countH2) "." counter(countH3) " - "; }
h4:before { content: counter(countH2) "." counter(countH3) "." counter(countH4) " - "; }
h5:before { content: counter(countH2) "." counter(countH3) "." counter(countH4) "." counter(countH5) " - "; }
h6:before { content: counter(countH2) "." counter(countH3) "." counter(countH4) "." counter(countH5) "." counter(countH6) " - "; }

