Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changes in navbar #559

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 41 additions & 9 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,14 +91,46 @@
}

.header {
text-align: center;
background-image: url(https://www.hitaambrish.com/stat/img/home/Gallery_Bg.jpg);
padding: 10px 20px;
position: sticky;
top: 0;
z-index: 100;
box-shadow: 0px 6px 10px #ccc;
}
text-align: center;
background-image: url(https://www.hitaambrish.com/stat/img/home/Gallery_Bg.jpg);
padding: 20px 20px; /* Increased padding for more space */
position: sticky;
top: 0;
z-index: 100;
box-shadow: 0px 6px 10px #ccc;
min-height: 80px; /* Added minimum height */
}

.navigation {
display: flex;
justify-content: center; /* Center the nav links */
align-items: center;
}

.navigation .navbar-up {
display: flex;
gap: 15px; /* Add some gap between nav links */
flex-wrap: wrap; /* Allow wrapping if content is too wide */
margin-top: 10px; /* Added margin to prevent overlap */
}

.navigation .navbar-up a {
color: #fff;
text-decoration: none;
margin: 0 5px;
font-size: 16px;
font-weight: 500;
transition: ease-in 0.3s;
border: 2px solid #fff;
padding: 10px 15px;
border-radius: 20px;
}

.navigation .navbar-up a:hover {
color: rgb(250, 219, 153);
border: 2px solid rgb(250, 219, 153);
}

.indexMain .headDiv h1 {
margin-top: 40px;
text-align: center;
Expand Down Expand Up @@ -477,7 +509,7 @@
margin-right: 0 !important;
}
.navbar .navbar-up {
gap: 20px;
gap: 10px;
display: flex;
}

Expand Down