small improvements

This commit is contained in:
Niklas Buschmann 2019-07-31 20:57:41 +02:00
parent e011f96c9e
commit 32946ff59e
3 changed files with 8 additions and 13 deletions

View File

@ -2,8 +2,8 @@
<article>
<header>
<h1><a href="{{ .Permalink }}">{{ .Title }}</a></h1>
{{ if .Date }}<time datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">{{ .Date.Format "January 02, 2006" }}</time>{{ end }}
<h1><a href="{{ .Permalink }}">{{ .Title }}</a></h1>
{{ if .Date }}<p><time datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">{{ .Date.Format "January 02, 2006" }}</time></p>{{ end }}
</header>
{{ .Content }}
</article>

View File

@ -4,7 +4,11 @@ body > header h1 {
article header h1 {
font-size: 1.7em;
margin-bottom: .2em;
}
header p {
margin-top: .2em;
margin-bottom: 1.5em;
}
.bright {

View File

@ -34,7 +34,7 @@ a {
transition: color .2s;
}
a:hover {
a:hover, header time {
color: #949494;
}
@ -43,14 +43,9 @@ article a {
}
article header a, article footer a {
font-weight: inherit;
color: inherit;
}
header time {
color: #949494;
}
hr {
border: 1px solid #9494944d;
margin: 2em 0;
@ -120,10 +115,6 @@ nav a {
margin: 0 .8em;
}
article header {
margin-bottom: 1.5em;
}
article, body > footer {
border-top: 1px solid #9494941f;
}