From 2cdc967c104027878fa58da57bcd65c877eef27d Mon Sep 17 00:00:00 2001 From: Ayush Mukherjee Date: Tue, 19 Sep 2023 15:24:52 +0530 Subject: [PATCH] change hero section positions/sizes --- src/scss/pages/_rumble.scss | 39 +++++++++++++++++++++++++++++-------- 1 file changed, 31 insertions(+), 8 deletions(-) diff --git a/src/scss/pages/_rumble.scss b/src/scss/pages/_rumble.scss index 767864c..8a1d690 100644 --- a/src/scss/pages/_rumble.scss +++ b/src/scss/pages/_rumble.scss @@ -37,7 +37,7 @@ .intro { position: relative; - flex-direction: column; + flex-direction: row; img.rumbleLogo, img.rumbleRedLogo, @@ -48,9 +48,11 @@ } img.rumbleLogo { - top: 20%; - width: calc(100vw * 0.8); - max-width: 600px; + top: 47%; + bottom: 63%; + margin: auto; + width: 30%; + max-width: 576px; transition: 0.15s linear; z-index: 5; @@ -65,9 +67,12 @@ img.rumbleRedLogo, img.rumbleGreenLogo, img.rumbleYellowLogo { - top: 20%; - min-width: 400px; - width: 40%; + left: 0; + right: 0; + top: 50%; + bottom: 50%; + margin: auto; + width: 28%; max-width: 840px; visibility: hidden; } @@ -89,7 +94,12 @@ min-width: 100px; width: 7%; display: block; - bottom: 10rem; + align-self: flex-end; + left: 0; + right: 0; + top: 62%; + bottom: 0; + margin: auto; } .scroll-indicator { @@ -278,6 +288,19 @@ } @media screen and (max-width: 960px) { + .rumble > .intro { + img.rumbleLogo { + width: calc(100vw * 0.8); + } + + img.rumbleRedLogo, + img.rumbleGreenLogo, + img.rumbleYellowLogo { + width: 95%; + } + + } + .rumble > .selector { flex-direction: column;