make front page header styling independent from subpages

lektura
max.mehl 2017-06-22 13:03:52 +02:00
parent f976ea7904
commit 8a8d035b3a
2 changed files with 5 additions and 5 deletions

View File

@ -4,11 +4,11 @@
<div class="header-content-inner">
<div class="logo">
<img src="../img/logo.svg" alt="{{ .Site.Params.start.alt }}" />
<h1>
<h1 id="start">
<span class="logo-blue">{{ .Site.Params.start.slogan_1 }}</span>
<span class="logo-green">{{ .Site.Params.start.slogan_2 }}</span>
</h1>
<h2>{{ .Site.Params.start.fsfe }}</h2>
<h2 id="start">{{ .Site.Params.start.fsfe }}</h2>
</div>
{{ if and .Site.Params.start.slogan_1 .Site.Params.start.subtitle }}

View File

@ -232,7 +232,7 @@ header .header-content img {
margin: 0 auto 2em;
}
header .header-content h1 {
header .header-content h1#start {
display: block;
vertical-align: bottom;
font-size: 35px !important;
@ -273,12 +273,12 @@ header .header-content h2 {
margin: 0;
}
header .header-content h1 {
header .header-content h1#start {
display: inline-block;
margin: 0 10px 0 20px;
}
header .header-content h2 {
header .header-content h2#start {
margin: 0 0 -5px 0;
}
}