small improvements
This commit is contained in:
parent
e011f96c9e
commit
32946ff59e
@ -3,7 +3,7 @@
|
||||
<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 }}
|
||||
{{ if .Date }}<p><time datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">{{ .Date.Format "January 02, 2006" }}</time></p>{{ end }}
|
||||
</header>
|
||||
{{ .Content }}
|
||||
</article>
|
||||
|
@ -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 {
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user