From 513de8bf81bb2ac3cc8d8a0fa71d4ee2df5570c1 Mon Sep 17 00:00:00 2001 From: Jannis Portmann Date: Wed, 19 May 2021 23:07:19 +0200 Subject: [PATCH] Add footer --- assets/styles/app.scss | 14 ++++++++++---- templates/base.html.twig | 17 ++++++++++++++++- 2 files changed, 26 insertions(+), 5 deletions(-) diff --git a/assets/styles/app.scss b/assets/styles/app.scss index 20ddc56..b49337e 100644 --- a/assets/styles/app.scss +++ b/assets/styles/app.scss @@ -6,6 +6,16 @@ $primary: darken(#005035, 20%); // the ~ allows you to reference things in node_modules @import "~bootstrap/scss/bootstrap"; +footer { + background-color: #ddd; + height: 6rem; +} + +.container { + min-height: 100vh; + margin-bottom: -9rem; +} + .offer-img { height: 15rem; object-fit: cover; @@ -24,10 +34,6 @@ $primary: darken(#005035, 20%); float: right; } -.offer-container { - padding-top: 2rem; -} - .img-container { width: 50%; min-width: 20rem; diff --git a/templates/base.html.twig b/templates/base.html.twig index 7cd805e..b9c181f 100644 --- a/templates/base.html.twig +++ b/templates/base.html.twig @@ -65,8 +65,23 @@ -
+
+
{% block body %}{% endblock %} +
+ +