From 8d3cebe6e7d8c4ab27de3126c1c4aaec26bf2bb9 Mon Sep 17 00:00:00 2001 From: Manurbhav Date: Mon, 29 Apr 2024 19:05:35 +0530 Subject: Navbar issues resolved --- src/components/Header.astro | 35 +++++++++++++++++++++++++++-------- src/components/HomeBody.astro | 5 +++-- src/components/Navbar.astro | 10 +++++----- src/components/TopBar.astro | 4 ++-- 4 files changed, 37 insertions(+), 17 deletions(-) diff --git a/src/components/Header.astro b/src/components/Header.astro index bce5716..8d857a6 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -71,13 +71,13 @@ import 'bootstrap/dist/css/bootstrap.css' color: white; font-weight: 700; font-size: 3vh; - padding: 1vh 10vw; + padding: 1vh 4vw; border-radius: 20px; display: flex; flex-direction: column; justify-content: center; align-items: center; - margin: 2vh; + margin: 2vh; } .hack-button { @@ -140,10 +140,15 @@ import 'bootstrap/dist/css/bootstrap.css' } } - @media screen and (max-width: 754px) { + @media screen and (max-width: 748px) { .head{ - flex-direction: row; - height: 100vh; + /* flex-direction: row; */ + padding-top: 4vh; + flex-direction: column-reverse; + position: relative; + top: 7vh; + margin-bottom: 10vh; + height: 100%; } .hack-heading{ @@ -162,22 +167,36 @@ import 'bootstrap/dist/css/bootstrap.css' .map img{ height: 40vh; } + .btn-Container{ + font-size: 2vh; + padding: 0vh 3vw; + } } - @media screen and (min-width: 748px) and (max-width: 982px) { + @media screen and (min-width: 749px) and (max-width: 982px) { .head{ margin-top: 6vh; } + .map img{ + height: 40vh; + } } @media screen and (max-width: 982px) { .hack-heading{ - font-size: 3vh; + font-size: 4.5vh; } .btn-Container{ font-size: 2vh; - padding: 0vh 3vw; + padding: 0vh 2vw; + } + .btn-Container p{ + padding: 1vh; + margin: 0; + } + .registration{ + padding: 1vh; } } diff --git a/src/components/HomeBody.astro b/src/components/HomeBody.astro index eb122bb..aaec69c 100644 --- a/src/components/HomeBody.astro +++ b/src/components/HomeBody.astro @@ -269,7 +269,7 @@ const coreteam: CoreTeam[] = [