Merge pull request #463 from blakeashleyjr/patch-1
Update main.scss to fix footnote counting issue
This commit is contained in:
commit
c560d941ae
@ -263,11 +263,10 @@ ol {
|
||||
list-style: none;
|
||||
counter-reset: li;
|
||||
|
||||
li {
|
||||
> li {
|
||||
counter-increment: li;
|
||||
}
|
||||
|
||||
li:before {
|
||||
&:before {
|
||||
content: counter(li);
|
||||
position: absolute;
|
||||
right: calc(100% + 10px);
|
||||
@ -276,17 +275,18 @@ ol {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
ol {
|
||||
> ol {
|
||||
margin-left: 38px;
|
||||
|
||||
li {
|
||||
> li {
|
||||
counter-increment: li;
|
||||
}
|
||||
|
||||
li:before {
|
||||
&:before {
|
||||
content: counters(li, ".") " ";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
mark {
|
||||
|
Loading…
Reference in New Issue
Block a user