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

added hover effect to containers #378

Merged
merged 2 commits into from
Jun 8, 2024
Merged
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
25 changes: 24 additions & 1 deletion css/navbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ body{
}



/* Sec-2 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.navs2 {
/* border: 1px solid black; */
Expand All @@ -138,6 +139,7 @@ body{
margin-right: 1vw;
}


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


.navbtn2 {
cursor: pointer;
height: 2vw;
Expand Down Expand Up @@ -193,12 +196,31 @@ 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 {
display: none;
position: fixed;
Expand Down Expand Up @@ -338,3 +360,4 @@ body{
color:rgb(211, 211, 211);
}


4 changes: 4 additions & 0 deletions css/sec2.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@
color: #fff;
background-color: #ff765d;
}

.sec2 img:hover{
transform: scale(1.1);
}
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.sec2content{
/* border: 1px solid black; */
Expand Down
4 changes: 4 additions & 0 deletions css/sec3.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@
justify-content: center;

}

.flex img:hover{
transform: scale(1.1);
}
.box1{
/* border: 1px solid green; */
padding-bottom: 2vw;
Expand Down
4 changes: 2 additions & 2 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" 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">Sign Up</button>
<button onclick="click" id="Calender" class="button_nav txtColor1" style="border: 1px solid #f6f8f9; background-color:#208FF4 ; color: white;">Calendar</button>
<button onclick="click" id="Calender" class="button_nav txtColor1 hello">Calendar</button>
</div>
</div>
<!--Calender-->
Expand Down
Loading