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 {
|
||||
list-style: none;
|
||||
counter-reset: li;
|
||||
}
|
||||
|
||||
li {
|
||||
counter-increment: li;
|
||||
}
|
||||
ol > li {
|
||||
counter-increment: li;
|
||||
}
|
||||
|
||||
li:before {
|
||||
content: counter(li);
|
||||
position: absolute;
|
||||
right: calc(100% + 10px);
|
||||
color: $accent;
|
||||
display: inline-block;
|
||||
text-align: right;
|
||||
}
|
||||
ol > li:before {
|
||||
content: counter(li);
|
||||
position: absolute;
|
||||
right: calc(100% + 10px);
|
||||
color: $accent;
|
||||
display: inline-block;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
ol {
|
||||
margin-left: 38px;
|
||||
ol > ol {
|
||||
margin-left: 38px;
|
||||
}
|
||||
|
||||
li {
|
||||
counter-increment: li;
|
||||
}
|
||||
ol > ol > li {
|
||||
counter-increment: li;
|
||||
}
|
||||
|
||||
li:before {
|
||||
content: counters(li, ".") " ";
|
||||
}
|
||||
}
|
||||
ol > ol > li:before {
|
||||
content: counters(li, ".") " ";
|
||||
}
|
||||
|
||||
mark {
|
||||
|
|
Loading…
Reference in a new issue