From cf28f30a4d91e1c88a246b90d9d44937a8f15628 Mon Sep 17 00:00:00 2001 From: Eliseu Amaro Date: Mon, 13 Sep 2021 14:24:08 +0100 Subject: [PATCH] Content was improperly positioned, leading to footer being out of view in some cases, fixed. --- assets/css/style.css | 10 +++++++++- soc/index.html | 4 ++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/assets/css/style.css b/assets/css/style.css index 316c8f0..0f2e8dc 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -138,8 +138,13 @@ hr { .content, .content ~ * { top: unset !important; + padding-top: 0 !important; position: relative !important; } + .soc { + top: 3rem !important; + height: calc(100vh - 4rem); + } .splash-head { font-size: 2rem !important; @@ -164,6 +169,10 @@ hr { .l-box { margin-right: 1rem; } + + footer { + position: relative !important; + } } /* @@ -217,7 +226,6 @@ hr { .content { z-index: 2; position: sticky; - top: 4rem; padding: 4rem; background-color: #e9eaed; } diff --git a/soc/index.html b/soc/index.html index 3ab45dd..5cbb34f 100644 --- a/soc/index.html +++ b/soc/index.html @@ -27,8 +27,8 @@ -
-
+
+

Summer of Code