mirror of
https://github.com/panr/hugo-theme-terminal.git
synced 2024-11-29 15:08:46 +03:00
Update list styling
This commit is contained in:
parent
565186853e
commit
72840fc527
9 changed files with 10 additions and 15 deletions
|
@ -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
Loading…
Reference in a new issue