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,12 +262,13 @@ ol {
ol {
list-style: none;
counter-reset: li;
}
li {
ol > li {
counter-increment: li;
}
li:before {
ol > li:before {
content: counter(li);
position: absolute;
right: calc(100% + 10px);
@ -276,18 +277,17 @@ ol {
text-align: right;
}
ol {
ol > ol {
margin-left: 38px;
}
li {
ol > ol > li {
counter-increment: li;
}
li:before {
ol > ol > li:before {
content: counters(li, ".") " ";
}
}
}
mark {
background: $accent;