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; margin-bottom: 0.5em;
padding: 0 0.5rem; padding: 0 0.5rem;
} }
@ -77,6 +77,10 @@ figure {
} }
} }
ul {
padding-left: 1.5em;
}
.nav { .nav {
display: flex; display: flex;
flex-direction: column; flex-direction: column;

View File

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