From 97bb5170e6f5db6982a4b01506a2a5b60cbb63ec Mon Sep 17 00:00:00 2001
From: Dorian Lesbre <dorian.lesbre@gmail.com>
Date: Mon, 28 Dec 2020 11:21:35 +0100
Subject: [PATCH] Fixed footer offset

---
 home/static/css/style.css | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/home/static/css/style.css b/home/static/css/style.css
index 3389651..e08b3e3 100644
--- a/home/static/css/style.css
+++ b/home/static/css/style.css
@@ -90,7 +90,7 @@ main {
 	padding: 1px 30px 50px;
 	max-width: 920px;
 	margin: 0 auto 0 auto;
-	min-height: calc(100vh - 330px); /* viewport-height - (header+footer+nav bar) */
+	min-height: calc(100vh - 370px); /* viewport-height - (header+footer+nav bar) */
 }
 
 main h2 {
@@ -116,14 +116,14 @@ main a:link {
 footer {
 	position: absolute;
 	bottom: 0;
-	width: 100%;
-	height: 50px;   /* Height of the footer */
+	width: calc(100% - 80px); /* viewport width - padding */
+	padding: 10px 40px;
+	height: 50px;
 	color: white;
 	display: flex;
 	background-color: var(--color_bg_1);
 	border-top: 5px solid var(--color_bg_2);
 	align-items: center;
-	padding: 10px 40px;
 }
 
 footer #sponsors img {
-- 
GitLab