-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.css
142 lines (118 loc) · 3.01 KB
/
index.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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
body {
color: #fff;
margin: 0;
padding: 0;
font-family: 'Inter', 'Verdana', 'Arial', sans-serif !important;
background-image: url("bg.jpg");
}
@font-face {
font-family: "Renogare";
src: url("https://db.onlinewebfonts.com/t/f796ab86e6548871762197b9647bd575.eot");
src: url("https://db.onlinewebfonts.com/t/f796ab86e6548871762197b9647bd575.eot?#iefix")format("embedded-opentype"),
url("https://db.onlinewebfonts.com/t/f796ab86e6548871762197b9647bd575.woff2")format("woff2"),
url("https://db.onlinewebfonts.com/t/f796ab86e6548871762197b9647bd575.woff")format("woff"),
url("https://db.onlinewebfonts.com/t/f796ab86e6548871762197b9647bd575.ttf")format("truetype"),
url("https://db.onlinewebfonts.com/t/f796ab86e6548871762197b9647bd575.svg#Renogare Regular")format("svg");
}
.text-3xl, .text-5xl {
font-family: 'Renogare', 'Helvetica', sans-serif !important;
}
i {
margin-right: 0.25em !important;
}
#canvas {
display: block;
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
pointer-events: none;
}
#mainstuff {
z-index: 1000 !important;
}
#comets{
position:absolute;
top:-150px;
width:100vw;
text-align: left;
height: 100%;
overflow:hidden;
z-index: -5;
}
#comets i {
display: inline-block;
width: 250px;
height: 150px;position:absolute;
border-radius: 5% 40% 70%;
box-shadow: inset 0px 0px 1px #294b67;
border: 1px solid #333;
z-index: -1;
background-color: #fff;
opacity: .7;
-webkit-animation: falling 10s 0s infinite;
-webkit-animation-timing-function:ease-in;
}
#comets i:nth-child(1){
left: 50vw;
height:73px;
width:3px;
background-color: #fff;
}
#comets i:nth-child(3){
height:11px;
width:3px;
-webkit-animation: falling3 8s 3s infinite;
left: 10vw;
background-color: #fff;
}
#comets i:nth-child(2){
-webkit-animation: falling2 6s 1s infinite;
left: 30vw;
height:70px;
width:4px;
background-color: #fff;
}
@-webkit-keyframes falling {
0% {
-webkit-transform: translate3d(100px,0px,0px) rotate(160deg);
}
3% {
-webkit-transform:
translate3d(450px,900px,0) rotate(160deg);
opacity: 0;
}
100% {
-webkit-transform:
translate3d(450px,900px,0) rotate(160deg);
opacity: 0;
}
}
@-webkit-keyframes falling3 {
0% {
-webkit-transform: translate3d(0,0,0) rotate(150deg);
}
10% {
-webkit-transform: translate3d(430px,640px,0) rotate(150deg);
opacity: 0;
}
100% {
-webkit-transform: translate3d(430px,640px,0) rotate(150deg);
opacity: 0;
}
}
@-webkit-keyframes falling2 {
0% {
-webkit-transform:translate3d(100px,0,0) rotate(130deg);
}
15% {
-webkit-transform:translate3d(800px,580px,0) rotate(130deg);
opacity: 0;
}
100% {
-webkit-transform: translate3d(800px,680px,0) rotate(180deg);
opacity: 0;
}
}