blob: 29c55b937598c83b61213d964988ffe2d737e7bb (
plain) (
blame)
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
|
html, body {
background-color: #000;
color: #fff;
padding: 0;
margin: 0;
text-align: center;
font-size: 42px;
}
.center {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
/* blink text */
.blink {
animation: blink .2s infinite;
}
@keyframes blink {
0% {
opacity: 1;
}
50% {
opacity: 0;
}
100% {
opacity: 1;
}
}
.bg {
z-index: 1;
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
}
.reduced {
z-index: 2;
display: none;
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
}
/* prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
.blink {
animation: none;
}
.reduced {
display: unset;
}
}
|