-
Notifications
You must be signed in to change notification settings - Fork 0
/
alert.css
66 lines (58 loc) · 1.19 KB
/
alert.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
/* body {
margin: 0;
font-family: Arial, sans-serif;
background: #000;
color: #fff;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
text-align: center;
} */
:root {
--bg-color: #1f242d;
--second-bg-color: #323946;
--text-color: #fff;
--main-color: #0ef;
}
body {
background: var(--bg-color);
color: var(--text-color);
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
.container {
text-align: center;
border-radius: 1rem;
position: relative; /* Added for positioning close button */
}
#close-btn { /* Added styles for close button */
position: absolute;
top: 10px;
right: 10px;
background: transparent;
border: none;
color: var(--main-color);
font-size: 1.5rem;
cursor: pointer;
}
h1 {
margin: 0 0 10px;
font-size: 1.5em;
color: var(--main-color);
}
p {
font-size: 0.8rem; /* 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 */
}