-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
65 lines (61 loc) · 1.33 KB
/
style.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
body {
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
background-color: #f0f0f0;
}
#background {
height: 100%;
width: 100%;
position: fixed;
background-color: greenyellow;
background-image: url("https://i0.wp.com/www.kridha.net/wp-content/uploads/2021/01/Landscape-Vector-Illustration-Background.jpg?fit=960%2C540&ssl=1");
background-repeat: no-repeat;
background-size: cover;
opacity: 0.7;
display: flex;
justify-content: center;
align-items: center;
}
.stopwatch {
text-align: center;
background: #fff;
width: 25rem;
padding: 20px;
border-radius: 10px;
}
#timer {
font-size: 3rem;
margin-bottom: 20px;
}
#laps {
height: 100px;
max-height: 150px;
overflow-y: auto;
border-top: 1px solid #ddd;
padding-top: 10px;
margin-bottom: 10px;
}
.buttons button {
font-size: 1.2rem;
padding: 10px 20px;
margin: 5px;
border: none;
border-radius: 5px;
cursor: pointer;
}
#startStop {
background: #4CAF50;
color: #fff;
}
#lapReset {
background: #f44336;
color: #fff;
}
button:disabled {
background: #ccc;
cursor: not-allowed;
}