Style the site header title and subtitle

master
Kevin C. Coram 2019-12-09 22:27:34 -05:00
parent 831b32fcdb
commit 96134a6bc3
Signed by: kevin
GPG Key ID: 0342351B3D61AD35
2 changed files with 19 additions and 2 deletions

View File

@ -1,6 +1,6 @@
<hgroup>
<hgroup class="site-header">
<h1>{{.Site.Title}}</h1>
{{- if .Site.Params.Subtitle }}
<h2 class="subtitle">{{.Site.Params.Subtitle}}</h2>
<h2>{{.Site.Params.Subtitle}}</h2>
{{- end }}
</hgroup>

View File

@ -1,3 +1,20 @@
/* Styles for site header */
hgroup.site-header {
padding-bottom: 1em;
}
hgroup.site-header h1 {
margin: 0;
}
hgroup.site-header h2 {
font-weight: normal;
font-size: 1em;
font-style: italic;
padding-left: 0.5em;
margin: 0;
}
img.u-photo {
max-width: 60px;
padding: 0.5em;