Update list styling
This commit is contained in:
parent
565186853e
commit
72840fc527
@ -22,14 +22,14 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
</span>
|
</span>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ with .Params.Cover }}
|
{{ with .Params.Cover }}
|
||||||
<img src="{{ . | absURL }}" class="post-cover" />
|
<img src="{{ . | absURL }}" class="post-cover" />
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ if .Params.Toc }}
|
{{ if .Params.Toc }}
|
||||||
<div class="table-of-contents">
|
<div class="table-of-contents">
|
||||||
<h1>
|
<h2>
|
||||||
{{ if .Params.TocTitle }}
|
{{ if .Params.TocTitle }}
|
||||||
{{ .Params.TocTitle }}
|
{{ .Params.TocTitle }}
|
||||||
{{ else if $.Site.Params.TocTitle }}
|
{{ else if $.Site.Params.TocTitle }}
|
||||||
@ -37,7 +37,7 @@
|
|||||||
{{ else }}
|
{{ else }}
|
||||||
Table of Contents
|
Table of Contents
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</h1>
|
</h2>
|
||||||
{{ .TableOfContents }}
|
{{ .TableOfContents }}
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -222,11 +222,6 @@ ol {
|
|||||||
@media (--phone) {
|
@media (--phone) {
|
||||||
margin-left: 20px;
|
margin-left: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul,
|
|
||||||
ol {
|
|
||||||
margin-top: 20px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ol ol {
|
ol ol {
|
||||||
|
@ -75,7 +75,7 @@
|
|||||||
list-style: none;
|
list-style: none;
|
||||||
|
|
||||||
li:before {
|
li:before {
|
||||||
content: '►';
|
content: '-';
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: -20px;
|
left: -20px;
|
||||||
color: var(--accent);
|
color: var(--accent);
|
||||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user