-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
80 lines (71 loc) · 1.86 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
74
75
76
77
78
79
80
body {
background: black;
font-family: orbitron, sans-serif;
}
h1 {
display: flex;
justify-content: center;
position: relative;
top: 4rem; /* Adjusted for responsiveness */
font-size: 4rem;
font-family: sans-serif;
text-shadow: 0px 0px 3px white;
color: azure;
}
.container {
display: flex;
justify-content: center;
font-size: 4rem;
position: relative;
top: 6rem; /* Adjusted for responsiveness */
color: #fff;
text-shadow: 0px 0px 20px rgb(10, 175, 230, 1), 0px 0px 20px rgb(10, 175, 230, 0);
border: 0.5em solid rgb(150, 150, 150); /* Border size in em */
border-radius: 12px;
margin: 0 auto; /* Center the container */
max-width: 600px; /* Adjusted for responsiveness */
padding: 1em; /* Padding in em */
}
.container span {
margin: 0.3em;
}
#am-Pm {
font-size: 1.5rem;
display: flex;
align-items: end;
}
#date {
display: flex;
justify-content: center;
align-items: center;
position: relative;
top: 2rem; /* Adjusted for responsiveness */
text-shadow: 0px 0px 20px rgb(10, 175, 230, 1), 0px 0px 20px rgb(10, 175, 230, 0);
color: #fff;
border: 0.5em solid rgb(150, 150, 150); /* Border size in em */
border-top-right-radius: 12px;
border-top-left-radius: 12px;
z-index: -1;
margin: 0 auto; /* Center the container */
max-width: 600px; /* Adjusted for responsiveness */
}
#date span {
padding: 1em; /* Padding in em */
font-size: 1.8rem;
}
/* Media Query for smaller screens */
@media screen and (max-width: 768px) {
h1 {
font-size: 3rem;
}
.container,
#date {
font-size: 2rem;
top: 3rem;
border-width: 0.3em; /* Adjusted border size for smaller screens */
}
#date span {
font-size: 1.5rem;
padding: 0.8em; /* Adjusted padding for smaller screens */
}
}