Skip to content

Commit

Permalink
Merge pull request #2462 from Sandeepkumargond/sandeep
Browse files Browse the repository at this point in the history
enhance header section dark mode nav kept at right place
  • Loading branch information
RitiChandak authored Jul 13, 2024
2 parents f045bcb + 9c28f06 commit 083c8be
Showing 1 changed file with 26 additions and 14 deletions.
40 changes: 26 additions & 14 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,16 @@
}
}

.switch-label{
margin-bottom: 20px;
margin-right: 40px;
}
.navbar-item{
margin-right: 0px;
}



.cta {
position: relative;
display: flex;
Expand Down Expand Up @@ -710,7 +720,6 @@
<header class="header header-anim nav-h" data-header>

<div class="container mobile-container-styles" style="padding-left: 0;">

<nav class="navbar nav_activated" data-navbar>


Expand All @@ -724,7 +733,7 @@
</li>
<li class="navbar-item">
<a href="./assets/html/about.html" class="navbar-link" data-nav-link><i
class="ri-home-fill"></i> About Us </a>
class="ri-home-fill"></i>About Us</a>
</li>

<li class="navbar-item">
Expand All @@ -743,8 +752,7 @@
</li>
<li class="navbar-item">
<a href="#faq" onclick="lenis.scrollTo('#faqq')" class="navbar-link" data-nav-link>
<i class="ri-questionnaire-fill"></i> FAQ
</a>
<i class="ri-questionnaire-fill"></i>FAQ</a>
</li>

<li class="navbar-item">
Expand Down Expand Up @@ -798,6 +806,18 @@
</ul>
</div>
</li>
<li>
<div class="navbar-link" style="top: 15px;">
<input type="checkbox" id="switch" class="switch-checkbox">
<label for="switch" class="switch-label">
<div class="switch-button">
<span class="material-icons sun-icon">wb_sunny</span>
<span class="material-icons moon-icon">brightness_2</span>
</div>
</label>
</div>
</li>

<li>
<div class="action">
<div class="profile" onclick="menuToggle();">
Expand Down Expand Up @@ -927,16 +947,8 @@ <h3>XYZ<br /><span>Book Lover</span></h3>
<ion-icon name="close-outline" aria-hidden="true" class="md hydrated close"></ion-icon>
</button> -->
<div class="switch-container" style="top: 15px;">
<input type="checkbox" id="switch" class="switch-checkbox">
<label for="switch" class="switch-label">
<div class="switch-button">
<span class="material-icons sun-icon">wb_sunny</span>
<span class="material-icons moon-icon">brightness_2</span>
</div>
</label>
</div>
</div>





Expand Down

0 comments on commit 083c8be

Please sign in to comment.