From b51c180c4161314ff7a1a064ca173d709f0deb9b Mon Sep 17 00:00:00 2001 From: muskan garg <104768631+Muskan2025@users.noreply.github.com> Date: Sun, 9 Jun 2024 17:46:04 +0530 Subject: [PATCH] updating navbar --- css/homeHeader.css | 13 +++++++++---- header/header.html | 2 +- index.html | 4 ++-- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/css/homeHeader.css b/css/homeHeader.css index 36eb4704..08cb7101 100644 --- a/css/homeHeader.css +++ b/css/homeHeader.css @@ -1,10 +1,14 @@ + #homeHeader { position: sticky; top: 0; width: 100%; z-index: 9999; } - +.navbar{ + padding-top: 0rem; + padding-bottom: 0rem; +} .homeHeader .nav-item { transition: background-color 0.5s ease; /* padding: 9px 13px; */ @@ -75,7 +79,7 @@ } .homeHeader .nav-item:hover .homeHeader .nav-item-divider::before { - background-color: #000; + background-color: #159430; } .homeHeader .nav-item-divider::after { @@ -141,7 +145,7 @@ } .homeHeader .dropdown-item:hover { - background-color: #f8f9fa; + background-color: #f8f8fa; color: #007bff; } @@ -166,9 +170,10 @@ .navItem5 { margin: 0 } - + } + @media screen and (max-width:995px) { .navname3, diff --git a/header/header.html b/header/header.html index 1f381e95..56410703 100644 --- a/header/header.html +++ b/header/header.html @@ -15,7 +15,7 @@
-