-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
125 lines (115 loc) · 2.47 KB
/
style.css
File metadata and controls
125 lines (115 loc) · 2.47 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
* {
padding: 0;
margin: 0;
}
body {
background: black;
color: white;
}
h1, h2, p {
text-align: center;
font-family: "Grandstander", arial;
letter-spacing: -2px;
-ms-user-select: none;
user-select: none;
animation-name: disco-color;
animation-duration: 3520ms;
animation-iteration-count: infinite;
animation-timing-function: linear;
}
h1 {
font-size: max(10vw, 5em);
letter-spacing: -4px;
line-height: 1;
}
h2 {
font-size: max(5vw, 2em);
font-weight: 400;
}
h2 span {
font-weight: 700;
}
p {
font-size: max(2.5vw, 1em);
font-weight: 900;
padding: 0.35em 0;
white-space: nowrap;
}
.center {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
position: fixed;
justify-content: center;
align-items: center;
animation-name: pulse-scale;
animation-duration: 4s;
animation-direction: alternate;
animation-iteration-count: infinite;
animation-timing-function: ease-in-out;
}
.display-bg {
width: 100vw;
height: 100vh;
background-image: url("./image.png");
background-repeat: repeat;
background-position: center;
animation-name: animated-bg;
animation-duration: 800ms;
animation-iteration-count: infinite;
animation-timing-function: linear;
}
@keyframes animated-bg {
from { background-position: 0 0; }
to { background-position: -60px -75px; }
}
@keyframes disco-color {
0% { color: #FF8080; }
17% { color: #FFFF80; }
33% { color: #80FF80; }
50% { color: #80FFFF; }
67% { color: #8080FF; }
83% { color: #FF80FF; }
100% { color: #FF8080; }
}
@keyframes pulse-scale {
from { transform: scale(95%); }
to { transform: scale(105%); }
}
@keyframes loader {
from { transform: rotate(0deg); }
to { transform: rotate(359deg); }
}
#cover {
background: black;
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
position: absolute;
justify-content: center;
align-items: center;
z-index: 999;
}
#spinner {
width: 50px;
aspect-ratio: 1;
border: 10px solid #333333;
border-radius: 50%;
border-top: 10px solid #3498db;
animation-name: loader;
animation-duration: 1500ms;
animation-iteration-count: infinite;
animation-timing-function: linear;
}
h3 {
padding: 1em;
font-family: arial;
text-align: center;
-ms-user-select: none;
user-select: none;
}
.audio-jungle {
display: none;
}