This repository was archived by the owner on Jan 19, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
136 lines (116 loc) · 2.37 KB
/
styles.css
File metadata and controls
136 lines (116 loc) · 2.37 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
/* CSS Variables for theme colors - Dark theme is default now */
/* === Dark Theme === */
/*
:root {
--bg-color: #121212;
--text-color: #FFFFFF;
--border-color: #333333;
--box-bg: #00000000;
}
*/
/* === Light Theme === */
/*
:root {
--bg-color: #121212;
--text-color: #fefefe;
--border-color: #333333;
--box-bg: #00000000;
}
*/
/* === Wachumba Theme === */
:root {
--bg-color: #E8532B;
--text-color: #fefefe;
--border-color: #FBDB1C;
--box-bg: #00000000;
}
/* =============== STYLES =============== */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: "Geist Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
background-color: var(--bg-color);
color: var(--text-color);
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
transition: background-color 0.3s ease, color 0.3s ease;
}
.container {
display: flex;
align-items: center;
justify-content: center;
padding: 2rem;
}
.countdown {
display: flex;
gap: 1.5rem;
align-items: center;
}
.time-unit {
display: flex;
flex-direction: column;
align-items: center;
gap: 0.75rem;
}
.time-value {
font-family: "Geist Mono", "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, "Courier New", monospace;
font-size: 4rem;
font-weight: 600;
background-color: var(--box-bg);
border: 2px solid var(--border-color);
border-radius: 1rem;
width: 120px;
height: 120px;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.3s ease;
user-select: none;
}
.time-label {
font-family: "Geist Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
font-size: 0.875rem;
font-weight: 500;
color: var(--text-color);
text-transform: uppercase;
letter-spacing: 0.05em;
opacity: 0.8;
}
/* Responsive design */
@media (max-width: 768px) {
.countdown {
gap: 1rem;
}
.time-value {
font-size: 2.5rem;
width: 80px;
height: 80px;
border-radius: 0.75rem;
}
.time-label {
font-size: 0.75rem;
}
}
@media (max-width: 480px) {
.countdown {
gap: 0.75rem;
}
.time-value {
font-size: 2rem;
width: 70px;
height: 70px;
border-radius: 0.5rem;
}
.time-label {
font-size: 0.7rem;
}
}
/* Animation for number changes */
.time-value.updating {
transform: scale(1.05);
}