-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstopwatch.css
More file actions
85 lines (75 loc) · 1.69 KB
/
stopwatch.css
File metadata and controls
85 lines (75 loc) · 1.69 KB
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
85
body {
margin: 0;
padding: 0;
font-family: 'Arial', sans-serif;
background-image: url('https://cdn.pixabay.com/photo/2023/03/11/22/19/nature-7845443_1280.jpg');
background-size: cover;
background-position: center;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
.stopwatch-container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 320px;
padding: 20px;
background: rgba(255, 255, 255, 0.3);
border-radius: 15px;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
border: 1px solid rgba(255, 255, 255, 0.5);
}
h1, h2 {
margin: 10px 0;
color: #000000;
}
.time-display {
font-size: 3rem;
margin: 20px 0;
color: #000000;
}
.button-group {
display: flex;
justify-content: center;
gap: 15px;
}
button {
padding: 12px 24px;
font-size: 1rem;
cursor: pointer;
border-radius: 8px;
border: none;
background-color: rgba(0, 0, 0, 0.5);
color: rgb(255, 255, 255);
transition: background-color 0.3s, transform 0.3s;
}
button:hover {
background-color: rgba(7, 87, 88, 0.6);
transform: scale(1.05);
}
ul {
list-style-type: none;
padding: 0;
width: 100%;
height: 150px;
overflow-y: auto;
margin-top: 20px;
color: #00CED1;
}
ul::-webkit-scrollbar {
width: 8px;
}
ul::-webkit-scrollbar-thumb {
background-color: rgba(0, 206, 209, 0.5);
border-radius: 10px;
}
li {
background-color: rgba(255, 255, 255, 0.5);
padding: 12px;
margin: 5px 0;
border-radius: 8px;
color: #004040;
}