-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
77 lines (66 loc) · 1.44 KB
/
styles.css
File metadata and controls
77 lines (66 loc) · 1.44 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
body {
font-family: Arial, sans-serif;
text-align: center;
background-color: #e0b159;
transition: background 0.3s;
}
.container {
margin: 50px auto;
width: 300px;
padding: 20px;
background: #f8d6ba;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(85, 41, 21, 0.2);
}
.timer {
font-size: 48px;
margin: 20px 0;
}
button {
padding: 10px 15px;
margin: 5px;
font-size: 16px;
cursor: pointer;
border: none;
border-radius: 5px;
}
/* Button Colors */
#start { background-color: #189240; color: #fff; }
#pause { background-color: #4c29e7; color: #fff; }
#reset { background-color: #e22117dc; color: #fff; }
#toggle-dark-mode { background-color: #444; color: #fff; }
button:hover {
transform: scale(1.1);
opacity: 0.9;
}
/* Progress Bar */
.progress-container {
width: 100%;
height: 10px;
background: #b7ffc3;
border-radius: 5px;
overflow: hidden;
margin-top: 10px;
}
.progress-bar {
height: 100%;
width: 100%;
background: #0a9b12;
transition: width 1s linear;
}
/* Dark Mode */
.dark-mode {
background-color: #1e1e1e;
color: #ffffff;
}
.dark-mode .container {
background: #2e2e2e;
box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
}
.dark-mode button {
background: #444;
color: #fff;
}
.dark-mode #start { background-color: #2ecc71; }
.dark-mode #pause { background-color: #3498db; }
.dark-mode #reset { background-color: #e74c3c; }