From f009e561cccbed762aa4e49fdb4842a65c91c76a Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Sun, 27 Aug 2023 18:02:31 +0530 Subject: changed footer position on homepage --- static/css/home.css | 6 +++++- static/css/styles.css | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) (limited to 'static') diff --git a/static/css/home.css b/static/css/home.css index a408685..1216ea4 100644 --- a/static/css/home.css +++ b/static/css/home.css @@ -17,7 +17,7 @@ } #home #nav-wrapper { - margin: 3rem 0; + margin: 1rem 0 3rem 0; width: 100%; display: flex; flex-direction: row; @@ -49,6 +49,10 @@ color: var(--home-fg); } +#home #home-footer { + margin-top: 3rem; +} + @media only screen and (max-width: 1000px) { #home-wrapper { display: block; diff --git a/static/css/styles.css b/static/css/styles.css index cb3afb4..4ff894f 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -106,12 +106,12 @@ main:not(#site-home-page) { color: var(--nav-selected-fg); } -footer { +footer:not(#home-footer) { max-width: 95%; margin: auto; } -footer #copyright { +footer:not(#home-footer) #copyright { text-align: center; line-height: 1.1; } -- cgit v1.2.3