Skip to content

Commit

Permalink
Merge pull request #368 from Jasleen1210/hoverstyles
Browse files Browse the repository at this point in the history
Hover styles on main form improved
  • Loading branch information
sk66641 authored Jul 1, 2024
2 parents 2f48da3 + 09ebb42 commit 8c06e74
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
17 changes: 12 additions & 5 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ body {
text-shadow: 2px 2px white;
}

#youtubeUrlInput:hover,
/* #youtubeUrlInput:hover,
#unit:hover,
#time:hover,
#color:hover,
Expand All @@ -127,10 +127,17 @@ body {
#sound:hover,
#music-url:hover,
#music-file:hover {
background-color: lightyellow;
color: black;
/* color: black;
} */
.form input:hover{
background-color: #4a1234;
}
.light-mode .form input:hover{
background-color: #d6cccc;
border: 1.5px solid #f09819;
}

#unit:hover,
#view:hover,
#sound:hover,
Expand Down Expand Up @@ -277,7 +284,7 @@ input {

input:focus {
outline: none;
width: 4rem;
/* width: 4rem; */
border: none;
}

Expand Down
3 changes: 2 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ <h1 id="changingHeading" style="font-family: Arial, sans-serif; font-size: 30px;
Light Simulator
</span>
</h1>
<div class="form">

<div>
<!-- <form action="#"> -->
Expand Down Expand Up @@ -177,7 +178,7 @@ <h1 id="changingHeading" style="font-family: Arial, sans-serif; font-size: 30px;
<!-- <button id="stop_resume">Stop</button> -->

</div>

</div>
<div id="error" aria-live="polite"></div>
<div style="display: flex; justify-content: center; align-items: center;">
<div id="randomize" aria-label="Randomize">
Expand Down

0 comments on commit 8c06e74

Please sign in to comment.