From 8a8d035b3a604290448e95aeb5d9b794c62cb1d4 Mon Sep 17 00:00:00 2001 From: "max.mehl" Date: Thu, 22 Jun 2017 13:03:52 +0200 Subject: [PATCH] make front page header styling independent from subpages --- site/layouts/partials/start.html | 4 ++-- site/static/css/creative.css | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/site/layouts/partials/start.html b/site/layouts/partials/start.html index 00f023b..c578ed3 100644 --- a/site/layouts/partials/start.html +++ b/site/layouts/partials/start.html @@ -4,11 +4,11 @@
{{ if and .Site.Params.start.slogan_1 .Site.Params.start.subtitle }} diff --git a/site/static/css/creative.css b/site/static/css/creative.css index 369980d..0f71ccb 100644 --- a/site/static/css/creative.css +++ b/site/static/css/creative.css @@ -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; } }