Add padding to ul elements
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Luca 2020-11-26 19:01:47 +01:00
parent 4162e39b15
commit 976e1f73ad
2 changed files with 12 additions and 6 deletions

View File

@ -50,7 +50,7 @@ footer {
}
}
h1, h2, h3, h4, h5, h6, p {
h1, h2, h3, h4, h5, h6, p, ul {
margin-bottom: 0.5em;
padding: 0 0.5rem;
}
@ -77,6 +77,10 @@ figure {
}
}
ul {
padding-left: 1.5em;
}
.nav {
display: flex;
flex-direction: column;

View File

@ -3,10 +3,12 @@
<h1>{{ .Title }}</h1>
{{ .Content }}
<ul>
{{ range .Pages }}
<li>
<a href="{{.Permalink}}">{{.Date.Format "2006-01-02 15:04"}} | {{.Title}}</a>
<a href="{{ .Permalink }}">{{ .Date.Format "2006-01-02 15:04" }} | {{ .Title }}</a>
</li>
{{ end }}
</ul>
</main>
{{ end }}