mirror of
https://github.com/panr/hugo-theme-terminal.git
synced 2025-03-18 20:30:51 +03:00
Merge pull request #463 from blakeashleyjr/patch-1
Update main.scss to fix footnote counting issue
This commit is contained in:
commit
c560d941ae
1 changed files with 18 additions and 18 deletions
|
@ -263,28 +263,28 @@ ol {
|
|||
list-style: none;
|
||||
counter-reset: li;
|
||||
|
||||
li {
|
||||
> li {
|
||||
counter-increment: li;
|
||||
}
|
||||
|
||||
li:before {
|
||||
content: counter(li);
|
||||
position: absolute;
|
||||
right: calc(100% + 10px);
|
||||
color: $accent;
|
||||
display: inline-block;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
ol {
|
||||
margin-left: 38px;
|
||||
|
||||
li {
|
||||
counter-increment: li;
|
||||
&:before {
|
||||
content: counter(li);
|
||||
position: absolute;
|
||||
right: calc(100% + 10px);
|
||||
color: $accent;
|
||||
display: inline-block;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
li:before {
|
||||
content: counters(li, ".") " ";
|
||||
> ol {
|
||||
margin-left: 38px;
|
||||
|
||||
> li {
|
||||
counter-increment: li;
|
||||
|
||||
&:before {
|
||||
content: counters(li, ".") " ";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue