-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
91 lines (77 loc) · 1.3 KB
/
styles.css
File metadata and controls
91 lines (77 loc) · 1.3 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
user-select: none;
}
body {
background-color: #000;
color: #f8edd9;
font-family: "Sixtyfour Convergence", sans-serif;
min-height: 100vh;
display: flex;
flex-direction: column;
}
.navbar {
display: flex;
justify-content: center;
align-items: center;
padding: 10px;
font-size: 1.3em;
}
.canvas {
flex: 1;
display: flex;
justify-content: center;
align-items: center;
}
#clock {
text-align: center;
font-size: 3.5em;
display: flex;
flex-direction: column;
align-items: center;
}
#time {
margin-bottom: 10px;
}
hr {
width: 80%;
border: 1px solid #f8edd9;
margin-bottom: 10px;
}
.date {
font-size: 0.4em;
display: flex;
gap: 10px;
align-items: center;
justify-content: center;
}
#divider {
font-family: 'Courier New', Courier, monospace;
font-weight: bolder;
margin: 0 5px;
}
/* Responsive */
@media (max-width: 786px) {
.navbar {
font-size: 1.5em;
}
#clock {
font-size: 2.8em;
}
.date {
font-size: 0.45em;
}
}
@media (max-width: 600px) {
.navbar {
font-size: 1.2em;
}
#clock {
font-size: 2.5em;
}
.date {
font-size: 0.4em;
}
}