-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstopwatch.css
84 lines (74 loc) · 1.55 KB
/
stopwatch.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
body{
margin: 0;
padding: 0;
box-sizing: border-box;
background-image: url("./background.png");
background-size: cover;
background-repeat: no-repeat;
background-position: center;
background-attachment: fixed;
font-family: 'Roboto', sans-serif;
color: white;
}
.stopwatch{
background: rgb(17,100,102);
background: linear-gradient(146deg, rgba(17,100,102,1) 0%, rgba(217,176,140,1) 100%);
width: 500px;
margin: 50px auto;
padding: 20px;
border-radius: 10px;
}
.stopwatch-content{
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
margin: 30px 0 30px;
}
.time{
font-size: 45px;
}
.buttons{
margin: 10px 0 20px 0;
display: flex;
justify-content: space-between;
width: 250px;
}
.start-button, .reset-button, .lap-button{
width: 60px;
height: 60px;
border-radius: 30px;
font-size: 15px;
border: none;
color: white;
background-color: #2C3531;
}
.list-content{
max-height: 270px;
overflow-y: auto;
margin-top: 10px;
margin-bottom: 20px;
}
.lapList li{
list-style: none;
font-size: 20px;
border: 1px solid #EDF5E1;
padding: 5px;
border-radius: 5px;
margin: 10px 15px 10px 0;
}
.start-button:hover, .reset-button:hover, .lap-button:hover{
background-color: #FFCB9A ;
color: #116466;
}
@media screen and (max-width: 550px){
.stopwatch{
width: 400px;
}
}
@media screen and (max-width: 450px){
.stopwatch{
width: 300px;
padding: 5px;
}
}