-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
98 lines (83 loc) · 1.92 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
:root {
--logo-width: 10rem;
}
@property --red-stripe-index {
syntax: "<number>";
initial-value: 0;
inherits: false;
}
html,
body {
height: 100%;
}
body {
--stripes-width: 3rem;
margin: 0;
font-family: "Comic Sans", "Impact", sans-serif;
background: repeating-linear-gradient(
-45deg,
#d23f45aa calc(var(--red-stripe-index) * var(--stripes-width)),
#d23f45aa calc(calc(var(--red-stripe-index) + 1) * var(--stripes-width)),
#d9a638aa calc(calc(var(--red-stripe-index) + 1) * var(--stripes-width)),
#d9a638aa calc(calc(var(--red-stripe-index) + 2) * var(--stripes-width)),
#92a678aa calc(calc(var(--red-stripe-index) + 2) * var(--stripes-width)),
#92a678aa calc(calc(var(--red-stripe-index) + 3) * var(--stripes-width)),
#798889aa calc(calc(var(--red-stripe-index) + 3) * var(--stripes-width)),
#798889aa calc(calc(var(--red-stripe-index) + 4) * var(--stripes-width)),
#87485faa calc(calc(var(--red-stripe-index) + 4) * var(--stripes-width)),
#87485faa calc(calc(var(--red-stripe-index) + 5) * var(--stripes-width))
);
animation: moveStripes 1s linear 0s infinite;
}
@keyframes moveStripes {
from {
--red-stripe-index: 0;
}
to {
--red-stripe-index: -5;
}
}
.container {
height: 100%;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.title-flash,
.bottom-text {
background: #ece81a;
}
.logo {
width: var(--logo-width);
position: absolute;
z-index: 420;
animation:
moveX 7s linear 0s infinite alternate,
moveY 12s linear 0s infinite alternate,
rotate 5s linear 0s infinite;
filter: drop-shadow(0 0 10px #696969);
}
@keyframes moveX {
from {
left: 0;
}
to {
left: calc(100vw - var(--logo-width));
}
}
@keyframes moveY {
from {
top: 0;
}
to {
top: calc(100vh - var(--logo-width));
}
}
@keyframes rotate {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}