-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
73 lines (63 loc) · 1.26 KB
/
style.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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
text-decoration: none;
border: none;
outline: none;
scroll-behavior: smooth;
font-family: 'Poppins', sans-serif;
}
:root {
--bg-color: #1f242d;
--second-bg-color: #323946;
--text-color: #fff;
--main-color: #0ef;
}
body {
background: var(--bg-color);
color: var(--text-color);
display: inline;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
font-family: 'Poppins', sans-serif;
}
.container {
text-align: center;
background: var(--bg-color);
padding: 2rem;
border-radius: 1rem;
margin: 2.5rem;
box-shadow: 0 0 1rem var(--main-color); /* Added shadow */
}
h2 {
font-size: 2.5rem;
margin: 1.5rem;
text-align: center;
color: var(--main-color);
}
p {
font-size: 1.5rem; /* Reduced size */
margin-bottom: 1rem;
font-family: 'Courier New', Courier, monospace;
}
#timer {
font-size: 3rem; /* Digital clock style */
font-weight: bold;
margin-top: 1rem;
font-family: 'Courier New'; /* Digital clock font */
color: var(--main-color); /* Text color change */
}
@media (max-width: 768px) {
h2 {
font-size: 2rem;
}
p {
font-size: .8rem; /* Reduced size */
}
#timer {
font-size: 2.5rem; /* Reduced size */
}
}