-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
93 lines (84 loc) · 1.64 KB
/
main.css
File metadata and controls
93 lines (84 loc) · 1.64 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
html,
body {
margin: 0;
height: 100%;
}
.fullpage {
display: flex;
height: 100%;
justify-content: center;
align-items: center;
background-image: linear-gradient(to bottom, #2d1214, #060e14);
}
h1 {
display: block;
position: absolute;
top: 30%;
left: 12%;
margin: 0;
font-family: "Rajdhani", system-ui, sans-serif;
font-size: 12vmin;
color: #2affff;
text-shadow:
0 0 32px hsl(180deg 100% 60% / 25%),
-15px -4px 12px hsl(180deg 100% 10%);
cursor: crosshair;
width: 5em;
z-index: 2;
}
.scroll-rows {
user-select: none;
display: flex;
flex-direction: column;
justify-content: center;
position: absolute;
top: 0;
bottom: 0;
right: 12%;
font-family: "Rajdhani", system-ui, sans-serif;
font-size: 11px;
line-height: 1.5;
color: #bb2c19;
text-align: right;
letter-spacing: 0.1em;
text-shadow:
0 0 2px hsl(7deg 20% 50% / 30%),
15px -4px 3px hsl(7deg 100% 30% / 61%);
}
.clock {
display: flex;
font-family: "Rajdhani", system-ui, sans-serif;
font-size: calc(15vw + 3rem);
font-weight: 700;
line-height: 1;
text-align: center;
color: #2affff;
/* not supported for this font */
font-variant-numeric: tabular-nums;
text-shadow:
0 0 32px hsl(180deg 100% 60% / 25%),
15px -4px 12px hsl(180deg 100% 10%);
.clock-number {
display: grid;
grid-template-columns: 1fr 1fr;
place-items: center;
.tens,
.ones {
display: grid;
place-items: center;
}
.value,
.invisible {
grid-area: 1 / 1;
}
.invisible {
visibility: hidden;
}
}
.separator {
opacity: 0.33;
&.blink {
opacity: 0.66;
}
}
}