From d4105f965a4f228a4b642e17a606448407e3997b Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Tue, 17 Jul 2018 11:37:05 +0100 Subject: [PATCH] Use background image for donation page, too Signed-off-by: Michael Tremer --- src/scss/style.scss | 17 ++++++++--------- src/templates/base.html | 2 +- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/src/scss/style.scss b/src/scss/style.scss index 1e3874d7..5d4ba335 100644 --- a/src/scss/style.scss +++ b/src/scss/style.scss @@ -43,6 +43,13 @@ body { min-height: 75rem; padding-top: 6rem; + + &.background { + background-image: url("img/header-background.jpg"); + background-position: center top; + background-repeat: no-repeat; + background-size: contain; + } } // Buttons @@ -142,15 +149,7 @@ footer { } section.intro { - // Make it cover the navbar, too - margin-top: -6rem; - padding-top: 6rem; - min-height: 100vh; - background-image: url('img/header-background.jpg'); - background-size: cover; - background-attachment: fixed; - background-position: center top; position: relative; .branding { @@ -230,7 +229,7 @@ footer { display: block; visibility: visible; position: absolute; - bottom: 48px; + bottom: 164px; left: 50%; transform: translateX(-50%); .btn { diff --git a/src/templates/base.html b/src/templates/base.html index 9edd1d5e..1fbc93e5 100644 --- a/src/templates/base.html +++ b/src/templates/base.html @@ -17,7 +17,7 @@ {% end %} - +