mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-21 18:11:37 +01:00
misc: refactor
* accessibility, duplicate code
This commit is contained in:
parent
6770e5e552
commit
873bc34d45
@ -3,7 +3,7 @@
|
||||
.footer {
|
||||
max-width: calc(var(--main-width) + var(--gap) * 2);
|
||||
margin: auto;
|
||||
padding: calc((var(--footer-height) - (var(--gap)) - 10px)/ 2) var(--gap);
|
||||
padding: calc((var(--footer-height) - (var(--gap)) - 10px) / 2) var(--gap);
|
||||
color: var(--secondary);
|
||||
font-size: 12px;
|
||||
text-align: center;
|
||||
|
@ -31,9 +31,7 @@
|
||||
.post-content h4,
|
||||
.post-content h5,
|
||||
.post-content h6 {
|
||||
margin-top: 24px;
|
||||
margin-bottom: 16px;
|
||||
margin: 24px auto 16px auto;
|
||||
margin: 24px 0 16px 0;
|
||||
}
|
||||
|
||||
.post-content h1 {
|
||||
|
@ -12,7 +12,7 @@
|
||||
{{ $count := .Count }}
|
||||
{{ with $.Site.GetPage (printf "/%s/%s" $type $name) }}
|
||||
<li>
|
||||
<a href="{{ .Permalink }}">{{ .Name }} <sup><b><sup>{{ $count }}</sup></b></sup> </a>
|
||||
<a href="{{ .Permalink }}">{{ .Name }} <sup><strong><sup>{{ $count }}</sup></strong></sup> </a>
|
||||
</li>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
Loading…
Reference in New Issue
Block a user