simplify site header
This commit is contained in:
parent
4a294fde22
commit
1d5d0dcff0
@ -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>
|
||||
|
@ -1,7 +1,3 @@
|
||||
.hero {
|
||||
font-size: 1.6em;
|
||||
}
|
||||
|
||||
.meta {
|
||||
margin-top: .2em;
|
||||
margin-bottom: 1.5em;
|
||||
|
@ -109,8 +109,11 @@ body > header {
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
header h1 {
|
||||
h1 {
|
||||
font-size: 1.7em;
|
||||
}
|
||||
|
||||
header h1, header h2 {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user