simplify site header

This commit is contained in:
Niklas Buschmann 2019-08-04 17:10:36 +02:00
parent 4a294fde22
commit 1d5d0dcff0
3 changed files with 5 additions and 6 deletions

View File

@ -18,7 +18,7 @@
{{- end }}
<header class="{{ if .Site.Params.brightheader }}bright{{ else }}dark{{ end }}">
<h1 class="hero"><a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a></h1>
<h2><a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a></h2>
<nav>
{{ range .Site.Menus.main }}
<a href="{{ .URL }}">{{ .Name }}</a>

View File

@ -1,7 +1,3 @@
.hero {
font-size: 1.6em;
}
.meta {
margin-top: .2em;
margin-bottom: 1.5em;

View File

@ -109,8 +109,11 @@ body > header {
justify-content: space-between;
}
header h1 {
h1 {
font-size: 1.7em;
}
header h1, header h2 {
margin: 0;
}