From 3bedec7ca560dd4f49c746844639b289a3154b08 Mon Sep 17 00:00:00 2001 From: tkshsbcue Date: Mon, 17 Mar 2025 18:59:38 +0530 Subject: [PATCH] fix level of CClogo and Navbar menu in phone view --- 2025/src/components/Navigation.css | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/2025/src/components/Navigation.css b/2025/src/components/Navigation.css index 1c1b696..db83b7d 100644 --- a/2025/src/components/Navigation.css +++ b/2025/src/components/Navigation.css @@ -44,7 +44,6 @@ body.menu-open { } .nav-logo { - /* margin-right: 3rem; */ position: relative; top: -0.25rem; } @@ -172,6 +171,21 @@ a:active, a:focus { .hamburger { display: block; z-index: 10001; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + margin-top: 0.5rem; + } + + .nav-logo { + position: relative; + top: 0.5rem; + } + + .nav-logo img { + width: 80px; + margin-top: 0; } .nav-links { @@ -363,10 +377,6 @@ a:active, a:focus { margin-right: 0; } - .nav-logo img { - width: 80px; - } - .hero__nav a { font-size: 1.5rem; padding: 5px 15px;