Update main.scss to fix footnote counting issue

This commit is contained in:
Blake Ashley 2023-05-01 15:30:04 -07:00 committed by GitHub
parent 9726b8d806
commit 0085fc68b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -262,31 +262,31 @@ ol {
ol { ol {
list-style: none; list-style: none;
counter-reset: li; counter-reset: li;
}
li { ol > li {
counter-increment: li; counter-increment: li;
} }
li:before { ol > li:before {
content: counter(li); content: counter(li);
position: absolute; position: absolute;
right: calc(100% + 10px); right: calc(100% + 10px);
color: $accent; color: $accent;
display: inline-block; display: inline-block;
text-align: right; text-align: right;
} }
ol { ol > ol {
margin-left: 38px; margin-left: 38px;
}
li { ol > ol > li {
counter-increment: li; counter-increment: li;
} }
li:before { ol > ol > li:before {
content: counters(li, ".") " "; content: counters(li, ".") " ";
}
}
} }
mark { mark {