From: Michael Tremer Date: Wed, 1 Aug 2018 14:48:40 +0000 (+0100) Subject: Revert "Use background image for donation page, too" X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ed163b4bb8c975da06c62e8fe11a61ee6a8d9b95;p=ipfire.org.git Revert "Use background image for donation page, too" This reverts commit d4105f965a4f228a4b642e17a606448407e3997b. Signed-off-by: Michael Tremer --- diff --git a/src/scss/style.scss b/src/scss/style.scss index a2e88ffc..8f6476f7 100644 --- a/src/scss/style.scss +++ b/src/scss/style.scss @@ -43,13 +43,6 @@ 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 @@ -149,7 +142,15 @@ 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 { @@ -301,7 +302,7 @@ footer { display: block; visibility: visible; position: absolute; - bottom: 164px; + bottom: 48px; left: 50%; transform: translateX(-50%); .btn { diff --git a/src/templates/base.html b/src/templates/base.html index 7f819fdf..2b509911 100644 --- a/src/templates/base.html +++ b/src/templates/base.html @@ -15,7 +15,7 @@ {% block head %}{% end block %} - +