fixed ol-numbering (nested style)

This commit is contained in:
Manuel Friedli 2014-03-05 23:09:50 +01:00
parent 5586771b0e
commit ec255aec1c

View file

@ -1,3 +1,14 @@
code { code {
white-space: pre; white-space: pre;
} }
ol {
counter-reset: item;
padding-left: 1em;
}
ol li {
display: block;
}
ol li:before {
content: counters(item, ".") ". ";
counter-increment: item;
}