From a9c136bc0698d36f815250b2fbbca4f059141b52 Mon Sep 17 00:00:00 2001 From: "Ethan N. Paul" Date: Tue, 6 Feb 2018 08:35:01 -0500 Subject: [PATCH] Fixed footer misbehaving on hompage and being really compressed on other pages --- css/style.css | 12 ++++++------ index.html | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/css/style.css b/css/style.css index bf8dfa1..23e92bd 100644 --- a/css/style.css +++ b/css/style.css @@ -827,15 +827,15 @@ body.mobile-nav-active #mobile-nav-toggle { --------------------------------------------------------------*/ #footer { background: black; - padding-top: 30px; - padding-bottom: 10px; + padding: 30px 0; color: #fff; } -@media (max-width: 768px) { - #footer { - padding-top: 0px; - } +#footer.homepage { + background: black; + padding-top: 30px; + padding-bottom: 10px; + color: #fff; } #footer .copyright { diff --git a/index.html b/index.html index d6ff498..47e585c 100644 --- a/index.html +++ b/index.html @@ -246,7 +246,7 @@ --> -