forked from mirrors/hugo-theme-terminal
Update list styling
This commit is contained in:
@ -22,14 +22,14 @@
|
||||
{{ end }}
|
||||
</span>
|
||||
{{ end }}
|
||||
|
||||
|
||||
{{ with .Params.Cover }}
|
||||
<img src="{{ . | absURL }}" class="post-cover" />
|
||||
{{ end }}
|
||||
|
||||
{{ if .Params.Toc }}
|
||||
<div class="table-of-contents">
|
||||
<h1>
|
||||
<h2>
|
||||
{{ if .Params.TocTitle }}
|
||||
{{ .Params.TocTitle }}
|
||||
{{ else if $.Site.Params.TocTitle }}
|
||||
@ -37,7 +37,7 @@
|
||||
{{ else }}
|
||||
Table of Contents
|
||||
{{ end }}
|
||||
</h1>
|
||||
</h2>
|
||||
{{ .TableOfContents }}
|
||||
</div>
|
||||
{{ end }}
|
||||
|
@ -222,11 +222,6 @@ ol {
|
||||
@media (--phone) {
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
ul,
|
||||
ol {
|
||||
margin-top: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
ol ol {
|
||||
|
@ -75,7 +75,7 @@
|
||||
list-style: none;
|
||||
|
||||
li:before {
|
||||
content: '►';
|
||||
content: '-';
|
||||
position: absolute;
|
||||
left: -20px;
|
||||
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
Reference in New Issue
Block a user