Skip to content

Commit

Permalink
added hover in nav
Browse files Browse the repository at this point in the history
  • Loading branch information
Shreyaa173 committed Jun 4, 2024
1 parent 0bc68dd commit ad00387
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
15 changes: 14 additions & 1 deletion css/navbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ body{
margin-right: 1vw;
}


.navs2>img {
cursor: pointer;
width: 2vw;
Expand Down Expand Up @@ -166,6 +167,7 @@ body{
cursor: pointer;
}


.navbtn2 {
cursor: pointer;
height: 2vw;
Expand Down Expand Up @@ -194,18 +196,29 @@ body{
color: white;
}
.txtColor1{
color: var(--txtColor1);
color: white;
}

.txtColor:hover{
border: 1px solid #208FF4;
background-color: transparent;
color: #2a95f6;
}

.txtColor1:hover{
border: 1px solid #208FF4;
background-color: transparent;
color: #2a95f6;
}
.darktheme .txtColor1{
color: rgba(0, 0, 0, 0.7);
}

.navs2 #themeImg:hover{
transform: scale(1.2);
}




.overlay {
Expand Down
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@
<div class="navs2">
<!-- <img src="img/final logo 1.png" alt="" /> -->
<img src="assests/moon.png" alt="image" id="themeImg">
<button onclick="click" id="loginButton" class="button_nav txtColor1 hello" style="border: 1px solid #f6f8f9; background-color:#208FF4 ; color: white;">Log
<button onclick="click" id="loginButton" class="button_nav txtColor hello" >Log
In</button>
<button id="signup" class="button_nav txtColor hello">Sign Up</button>
<button onclick="click" id="Calender" class="button_nav txtColor1 hello" style="border: 1px solid #f6f8f9; background-color:#208FF4 ; color: white;">Calendar</button>
<button id="signup" class="button_nav txtColor">Sign Up</button>
<button onclick="click" id="Calender" class="button_nav txtColor1 hello">Calendar</button>
</div>
</div>
<!--Calender-->
Expand Down

0 comments on commit ad00387

Please sign in to comment.