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

Navbar Updation #182

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
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
18 changes: 9 additions & 9 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,30 +73,30 @@
<!-- <nav class="navbar navbar-expand-lg fixed-top navbar_background">
<div class="container-fluid">
<a class="navbar-brand" href="#">
<img src="./assets/logo_white.png" alt="Bootstrap" width="370">
<img src="./assets/logo_white.png" alt="Bootstrap" width="370" style="margin-left: 3rem;">
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon "></span>
</button>
<div class="collapse navbar-collapse pe-5" id="navbarSupportedContent">
<ul class="navbar-nav ms-auto mb-2 mb-lg-0">
<li class="nav-item">
<a class="nav-link text-light decorate-text" href="#">Home</a>
<a class="nav-link" href="#">Home</a>
</li>
<li class="nav-item">
<a class="nav-link text-light decorate-text" href="#apod">APoD</a>
<a class="nav-link" href="#apod">APoD</a>
</li>
<li class="nav-item ">
<a class="nav-link text-light decorate-text" href="#mars">MartianImagery</a>
<a class="nav-link text-light decorate-text" href="./Pages/earthPics/index.html">EPIC View</a>
</li>
<li class="nav-item ">
<a class="nav-link text-light decorate-text" href="./Pages/asteroid-info/index.html">NeoWs</a>
<li class="nav-item">
<a class="nav-link" href="#mars">MartianImagery</a>
</li>
<li class="nav-item ">
<a class="nav-link text-light decorate-text" href="./Pages/earthPics/index.html">EPIC View</a>
<li class="nav-item">
<a class="nav-link" href="./Pages/asteroid-info/index.html">NeoWs</a>
</li>
<li class="nav-item">
<a href="#contact"> <button class="btn btn-outline-light rounded-pill decorate-text" type="submit">Contact Us</button></a>
<a href="#contact" class="nav-link contact">Contact Us</a>
</li>
</div>
</div>
Expand Down
20 changes: 20 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,26 @@ body {
transform: scale(1.1);
transition: color 0.2s ease; /* Smooth transition for color change */
}
.navbar-nav{
display: flex;
align-items: center;
justify-content: space-between;
column-gap: 1rem;
}
.nav-item{
border:transparent;
background-color: rgb(191, 0, 255);
border-radius: 1.1rem;
padding:0rem 0.5rem;
}
.nav-link{
font-weight: bolder;
color: white;
}
.nav-item:hover{
color:black;
background-color: white;
}

.spinner {
background-image: linear-gradient(rgb(186, 66, 255) 35%,rgb(0, 225, 255));
Expand Down