-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
87 lines (76 loc) · 1.46 KB
/
style.css
File metadata and controls
87 lines (76 loc) · 1.46 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
86
87
:root {
--teal-start: #0EB4A5;
--teal-end: #00123A;
--bg: #0D1117;
--fg: #E2E8F0;
--muted: #94A3B8;
--accent: linear-gradient(135deg, var(--teal-start), #0A7C77 80%, var(--teal-end));
}
body {
margin: 0;
background: var(--bg);
color: var(--fg);
font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
display: flex;
align-items: center;
justify-content: center;
min-height: 100vh;
}
.container {
width: min(560px, 92vw);
background: #0B1426;
border-radius: 16px;
padding: 28px;
text-align: center;
box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
#timer {
font-size: 72px;
font-weight: 800;
letter-spacing: 2px;
margin: 16px 0;
}
.progress {
width: 100%;
height: 12px;
background: #1e293b;
border-radius: 999px;
overflow: hidden;
margin: 12px 0;
}
.bar {
height: 100%;
width: 0%;
background: var(--accent);
transition: width .2s linear;
}
.controls {
display: flex;
gap: 10px;
justify-content: center;
margin: 14px 0;
}
button {
border: none;
padding: 10px 16px;
border-radius: 10px;
background: #0A7C77;
color: var(--fg);
cursor: pointer;
}
button:hover {
transform: translateY(-1px);
opacity: .95;
}
#start {
background: var(--accent);
color: #06230f;
}
.error {
color: #f87171;
min-height: 1.2em;
}
.tip {
color: var(--muted);
margin-top: 12px;
}