-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
78 lines (68 loc) · 1.32 KB
/
styles.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
body {
font-family: 'Arial', sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
background-image: url(./bg.png);
background-position: left;
background-repeat: no-repeat;
background-size: cover;
color: #333;
}
.container {
text-align: center;
}
.stopwatch {
background: #fff;
padding: 20px;
border-radius: 10px;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
width: 300px;
}
#display {
font-size: 3rem;
margin-bottom: 20px;
color: #333;
}
.buttons {
margin-bottom: 20px;
}
button {
font-size: 1rem;
padding: 10px 20px;
margin: 5px;
border: 1px solid #ccc;
border-radius: 5px;
background: #f9f9f9;
color: #333;
cursor: pointer;
transition: background 0.3s, border-color 0.3s;
}
button:hover {
background: #e0e0e0;
border-color: #bbb;
}
.laps {
text-align: left;
margin-top: 20px;
}
.laps h2 {
margin-bottom: 10px;
color: #333;
}
#lapsList {
list-style-type: none;
padding: 0;
max-height: 200px;
overflow-y: auto;
}
#lapsList li {
background: #f9f9f9;
padding: 5px;
margin-bottom: 5px;
border-radius: 5px;
color: #333;
border: 1px solid #ccc;
}