Merge pull request #463 from blakeashleyjr/patch-1

Update main.scss to fix footnote counting issue
This commit is contained in:
Radek Kozieł 2023-06-09 23:38:15 +02:00 committed by GitHub
commit c560d941ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -263,11 +263,10 @@ ol {
list-style: none; list-style: none;
counter-reset: li; counter-reset: li;
li { > li {
counter-increment: li; counter-increment: li;
}
li:before { &:before {
content: counter(li); content: counter(li);
position: absolute; position: absolute;
right: calc(100% + 10px); right: calc(100% + 10px);
@ -276,18 +275,19 @@ ol {
text-align: right; text-align: right;
} }
ol { > ol {
margin-left: 38px; margin-left: 38px;
li { > li {
counter-increment: li; counter-increment: li;
}
li:before { &:before {
content: counters(li, ".") " "; content: counters(li, ".") " ";
} }
} }
} }
}
}
mark { mark {
background: $accent; background: $accent;