-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
120 lines (103 loc) · 1.95 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
* {
margin: 0;
padding: 0;
user-select: none;
box-sizing: border-box;
}
.container {
position: relative;
display: flex;
justify-content: center;
text-align: center;
align-items: center;
width: 100%;
height: 100vh;
overflow: hidden;
background: black;
/* background: white; */
}
.amogus {
width: 200px;
height: 200px;
position: absolute;
left: 0%;
top: 50%;
animation: eject 5s infinite linear;
}
.hats-img {
position: absolute;
top: 40%;
width: 100px;
height: 100px;
left: 65px;
animation: eject 5s infinite linear;
}
@keyframes eject {
0% {
transform: translate3d(-50vmin, -20vmin, 0px) rotate(0turn);
}
50%, 100% {
transform: translate3d(100vw, -20vmin, 0px) rotate(-2turn);
}
}
.imposter-text {
position: fixed;
width: 30em;
z-index: 1000;
color: white;
font-size: 35px;
font-family: arial ,sans-serif, cursive;
white-space: nowrap;
overflow: hidden;
animation: type 5s infinite steps(50,start);
}
@keyframes type {
from { width: 0; }
}
.content {
position: relative;
height: 100vh;
width: 100%;
background: black;
display: flex;
flex-direction: row;
justify-content: space-evenly;
align-items: center;
overflow: hidden;
}
.content i {
position: absolute;
background: white;
border-radius: 100%;
animation: starsSpawn linear infinite;
z-index: 1;
}
@keyframes starsSpawn {
0% {
opacity: 0;
transform: translateX(0px);
}
10%, 90% {
opacity: 1;
}
100% {
opacity: 0;
transform: translateX(100px);
}
}
@media screen and (min-width: 300px) and (max-width: 800px) {
.amogus {
width: 150px;
height: 150px;
}
.imposter-text {
font-size: 30px;
}
.hats-img {
width: 65px;
height: 65px;
}
.container {
height: auto;
}
}