Skip to content

Commit

Permalink
interface
Browse files Browse the repository at this point in the history
  • Loading branch information
ARQUM21 committed May 13, 2024
1 parent a7d0f03 commit 0abe6b5
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 19 deletions.
6 changes: 3 additions & 3 deletions Stop Watch/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
00 : 00 : 00 : 000
</div>
<div class="buttons">
<button id="start-timer">Start</button>
<button id="pause-timer">Pause</button>
<button id="reset-timer">Reset</button>
<button id="start-timer" class="S">Start</button>
<button id="pause-timer" class="P">Pause</button>
<button id="reset-timer" class="R">Reset</button>
</div>
</div>

Expand Down
63 changes: 47 additions & 16 deletions Stop Watch/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,7 @@ video{
position: fixed;
}

body {
background:url();
background-size: cover;
}


.container {
background: rgba(0,0,0, .5);
Expand All @@ -35,17 +32,17 @@ body {
.timer-display {
position: relative;
width: 92%;
background: #fff;
background: rgba(0,0,0, .5);
left: 4%;
font-family: 'Roboto mono', monospace;
color: #8c52ff;
color: white;
font-size: 30px;
padding: 40px;
display: flex;
align-items: center;
justify-content: space-around;
border-radius: 5px;
box-shadow: 0 0 20px rgba(65, 5, 145, 0.25);
box-shadow: rgb(255, 255, 255) 0px 2px 4px 0px, rgba(255, 255, 255, 0.97) 0px 2px 16px 0px;
}

.buttons {
Expand All @@ -55,10 +52,10 @@ body {
justify-content: space-around;
}

.buttons button {
.S {
width: 120px;
height: 45px;
background-color: #8c52ff;
background: rgba(81, 255, 0, 0.5);
color: #fff;
border: none;
font-family: 'Poppins', sans-serif;
Expand All @@ -67,15 +64,49 @@ body {
cursor: pointer;
outline: none;
}
.S:hover{
color: black;
background: #51ff0080;
box-shadow: 0 0 10px #51ff0080, 0 0 40px #51ff0080, 0 0 80px #51ff0080;;
transition-delay: 0.1s;
}

.buttons button:nth-last-child(2) {
background-color: #e35209;
.P{
width: 120px;
height: 45px;
background: rgba(255, 0, 0, 0.5);
color: #fff;
border: none;
font-family: 'Poppins', sans-serif;
font-size: 18px;
border-radius: 5px;
cursor: pointer;
outline: none;

}
.P:hover{
color: black;
background: #ff0000;
box-shadow: 0 0 10px #FF0000, 0 0 40px #FF0000, 0 0 80px #FF0000;
transition-delay: 0.1s;
}
.R{
width: 120px;
height: 45px;
background: rgba(255, 255, 0, 0.5);
color: #fff;
border: none;
font-family: 'Poppins', sans-serif;
font-size: 18px;
border-radius: 5px;
cursor: pointer;
outline: none;
}

.buttons button:nth-last-child(1) {
background-color: #f7df1e;
.R:hover{
color: black;
background: #FFFF00;
box-shadow: 0 0 10px #FFFF00, 0 0 40px #FFFF00, 0 0 80px #FFFF00;
transition-delay: 0.1s;
}

.buttons button:hover {
box-shadow: 0 0 20px rgba(0, 0, 0, 0.25);
}

0 comments on commit 0abe6b5

Please sign in to comment.