Fix ordered list counter

This commit is contained in:
Jonas D 2019-01-26 11:07:37 +01:00 committed by GitHub
parent a07b644a0a
commit 927ed22176
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -153,13 +153,14 @@ ul > li:after {
content: "-"; content: "-";
} }
ol { ol li:before {
counter-reset: a; content: counters(item, ".") ". ";
counter-increment: item
} }
ol > li:after { ol ol li:before {
content: counter(a) "."; content: counters(item, ".") " ";
counter-increment: a; counter-increment: item
} }
ol li:nth-child(n+10):after { ol li:nth-child(n+10):after {