make front page header styling independent from subpages
parent
f976ea7904
commit
8a8d035b3a
|
@ -4,11 +4,11 @@
|
||||||
<div class="header-content-inner">
|
<div class="header-content-inner">
|
||||||
<div class="logo">
|
<div class="logo">
|
||||||
<img src="../img/logo.svg" alt="{{ .Site.Params.start.alt }}" />
|
<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-blue">{{ .Site.Params.start.slogan_1 }}</span>
|
||||||
<span class="logo-green">{{ .Site.Params.start.slogan_2 }}</span>
|
<span class="logo-green">{{ .Site.Params.start.slogan_2 }}</span>
|
||||||
</h1>
|
</h1>
|
||||||
<h2>{{ .Site.Params.start.fsfe }}</h2>
|
<h2 id="start">{{ .Site.Params.start.fsfe }}</h2>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{ if and .Site.Params.start.slogan_1 .Site.Params.start.subtitle }}
|
{{ if and .Site.Params.start.slogan_1 .Site.Params.start.subtitle }}
|
||||||
|
|
|
@ -232,7 +232,7 @@ header .header-content img {
|
||||||
margin: 0 auto 2em;
|
margin: 0 auto 2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
header .header-content h1 {
|
header .header-content h1#start {
|
||||||
display: block;
|
display: block;
|
||||||
vertical-align: bottom;
|
vertical-align: bottom;
|
||||||
font-size: 35px !important;
|
font-size: 35px !important;
|
||||||
|
@ -273,12 +273,12 @@ header .header-content h2 {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
header .header-content h1 {
|
header .header-content h1#start {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin: 0 10px 0 20px;
|
margin: 0 10px 0 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
header .header-content h2 {
|
header .header-content h2#start {
|
||||||
margin: 0 0 -5px 0;
|
margin: 0 0 -5px 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue