mirror of
https://github.com/Gioni06/terminal.css
synced 2025-03-09 09:09:04 -04:00
Fix ordered list counter
This commit is contained in:
parent
a07b644a0a
commit
927ed22176
@ -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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user