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> <article>
<header> <header>
<h1><a href="{{ .Permalink }}">{{ .Title }}</a></h1> <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 }} {{ if .Date }}<p><time datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">{{ .Date.Format "January 02, 2006" }}</time></p>{{ end }}
</header> </header>
{{ .Content }} {{ .Content }}
</article> </article>

View File

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

View File

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