Skip to content

Commit

Permalink
media q
Browse files Browse the repository at this point in the history
  • Loading branch information
SARVESHYOGI committed Feb 12, 2024
1 parent 41e1e60 commit 4c916f7
Showing 1 changed file with 94 additions and 87 deletions.
181 changes: 94 additions & 87 deletions style.css
Original file line number Diff line number Diff line change
@@ -1,108 +1,115 @@
*{
margin: 0%;
padding: 0%;
}
body{
background: linear-gradient(to right, rgb(255, 251, 213), rgb(178, 10, 44));
height: 100vh;
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
display: flex;
justify-content: center;
align-items: center;
}
.container{
background-color: bisque;
border-radius: 16px;
padding: 20px;
box-shadow: 0 0 12px rgba(0,0,0,0.9);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.title{
font-size: 30px;
margin-bottom: 1.5rem;
}
.timer{
font-size: 40px;
background-color: aliceblue;
padding: 20px;
border-radius: 8px;
box-shadow: 0 0 12px rgba(0,0,0,0.9) ;
animation: pulse 1.5s infinite alternate;
* {
margin: 0%;
padding: 0%;
}
body {
background: linear-gradient(to right, rgb(255, 251, 213), rgb(178, 10, 44));
height: 100vh;
font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
"Lucida Sans Unicode", Geneva, Verdana, sans-serif;
display: flex;
justify-content: center;
align-items: center;
}
.container {
background-color: bisque;
border-radius: 16px;
padding: 20px;
box-shadow: 0 0 12px rgba(0, 0, 0, 0.9);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.title {
font-size: 30px;
margin-bottom: 1.5rem;
}
.timer {
font-size: 40px;
background-color: aliceblue;
padding: 20px;
border-radius: 8px;
box-shadow: 0 0 12px rgba(0, 0, 0, 0.9);
animation: pulse 1.5s infinite alternate;
}
@keyframes pulse {

from{
from {
transform: scale(1);
}
to{
}
to {
transform: scale(1.05);
}
}
}

.timer span{
width: 110px;
display: inline-block;
text-align: center;
.timer span {
width: 110px;
display: inline-block;
text-align: center;
}

.controls{
display: flex;
gap: 1rem;
}
button{
border: none;
color: white;
background-color: chocolate;
font-size: 1rem;
padding: 0.75rem 1.5rem;
border-radius: 8px;
cursor: pointer;
transition: background-color 0.3s ease-in-out;
}
button:hover{
background-color: brown;
.controls {
display: flex;
gap: 1rem;
}
button {
border: none;
color: white;
background-color: chocolate;
font-size: 1rem;
padding: 0.75rem 1.5rem;
border-radius: 8px;
cursor: pointer;
transition: background-color 0.3s ease-in-out;
}
button:hover {
background-color: brown;
}

.stopwatch{
display:flex ;
gap: 20px;
flex-direction: column;
align-items: center;
justify-content: center;
.stopwatch {
display: flex;
gap: 20px;
flex-direction: column;
align-items: center;
justify-content: center;
}


.laptitle{
font-size: 1.5rem;
.laptitle {
font-size: 1.5rem;
}

.laps{
width: 100%;
}
ul{
list-style-type: none;
padding: 0;
margin: 0;
overflow-y: auto;
max-height: 200px;
background-color: white;
border-radius: 8px;
box-shadow: 0 0 12px rgba(0,0,0,0.1);
.laps {
width: 100%;
}
ul {
list-style-type: none;
padding: 0;
margin: 0;
overflow-y: auto;
max-height: 200px;
background-color: white;
border-radius: 8px;
box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
}

li{
padding: 1rem;
border-bottom: 1px solid whitesmoke;
li {
padding: 1rem;
border-bottom: 1px solid whitesmoke;
}

li:last-child{
border-bottom: none;

li:last-child {
border-bottom: none;
}
li span{
font-weight: 700;
li span {
font-weight: 700;
}

@media screen and (max-width: 640px) {
.contorls {
display: flex;
gap: 0.5rem;
}
.timer span {
width: 80px;
}
}

0 comments on commit 4c916f7

Please sign in to comment.