From 9b55446f30d9923596c231e634e248af466317e8 Mon Sep 17 00:00:00 2001 From: Stone-Red-Code <56473591+StoneRed5@users.noreply.github.com> Date: Thu, 7 Jan 2021 09:00:04 +0100 Subject: [PATCH] Fixed header alignment issues --- style.css | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/style.css b/style.css index 529585f..358cee6 100644 --- a/style.css +++ b/style.css @@ -11,7 +11,6 @@ html { body { /* Margin bottom by footer height */ margin-bottom: 257px; - overflow-x: hidden; background-color: #40444B; } @@ -27,6 +26,8 @@ footer { .header { height: 130px; width: 100%; + padding: 0px; + margin: 0px; } .header-image { @@ -42,8 +43,9 @@ footer { text-align: center; z-index: 2; left: 50%; - transform: translate(-50%,-140%); - white-space:nowrap ; + top: 1.5rem; + transform: translate(-50%, 0%); + width: fit-content; } #quotes { @@ -136,6 +138,9 @@ a:active { .stats { display: none; } + .header-text { + margin-top: 1.1rem; + } #quotes { display: none; }