mirror of
https://github.com/panr/hugo-theme-terminal.git
synced 2024-11-25 11:05:31 +03:00
Update main.scss to fix footnote counting issue
This commit is contained in:
parent
9726b8d806
commit
0085fc68b9
1 changed files with 20 additions and 20 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue