Repository navigation
Expand file tree
/
Copy pathmain.css
More file actions
243 lines (235 loc) · 4.42 KB
/
Copy pathmain.css
File metadata and controls
243 lines (235 loc) · 4.42 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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
:root{
--rainbow: linear-gradient(116.82deg, rgba(189, 189, 189, 0) 0%, rgba(119, 119, 119, 0.71) 100%),
linear-gradient(116.68deg, #FF0000 1.11%, #FFFF00 12.95%, #FFA500 24.29%, #FFCB00 34.07%, #008000 50.04%, #2E2EFF 58.28%, #8300E2 77.34%, #EE82EE 100%);
--rainbow2: -webkit-linear-gradient(116.82deg, rgba(189, 189, 189, 0) 0%, rgba(119, 119, 119, 0.71) 100%),
-webkit-linear-gradient(116.68deg, #FF0000 1.11%, #FFFF00 12.95%, #FFA500 24.29%, #FFCB00 34.07%, #008000 50.04%, #2E2EFF 58.28%, #8300E2 77.34%, #EE82EE 100%);
}
@font-face{
font-family: ssp-black;
src: url(font/SourceSansPro-Black.ttf);
}
@font-face{
font-family: ssp-light;
src: url(font/SourceSansPro-ExtraLight.ttf);
}
@font-face{
font-family: ssp-regular;
src: url(font/SourceSansPro-Regular.ttf);
}
.ssp-black{
font-family: ssp-black;
}
.ssp-light{
font-family: ssp-light;
}
.ssp-regular{
font-family: ssp-regular;
}
.Pcenter_cont{
display: flex;
align-items: center;
justify-content: center;
}
*{
padding: 0;
margin: 0;
}
html,body{
width: 100%;
height: 100%;
}
a{
text-decoration: none;
color: black;
}
body{
background-image: linear-gradient(116.82deg, rgba(114, 196, 255, 0.82) 0%, #D2ECFF 100%);
position: relative;
}
/* */
#navbar{
width: 100%;
height: 10%;
justify-content: flex-end;
position: relative;
animation: top-to-bottom 500ms;
}
#links{
margin-right: 1em;
width: max-content;
font-size: 1.125em;
z-index: 1000;
}
#links a{
margin: 0 1em;
}
#links a:hover{
font-weight: 700;
}
/* */
canvas{
z-index: 1;
position: absolute;
opacity: .8;
max-width: 100%;
min-width: 100%;
}
.bg{
z-index: -2;
width: 100%;
height: 100%;
position: absolute;
background-position: center;
background-size: cover;
}
#cloud{
background-image: url(art/cloud.png);
opacity: 0;
z-index: -1;
animation: top-to-bottom 1s 1.5s forwards, fadein 1s 1.5s forwards, blur 2s 1.5s forwards;
}
#rainbow{
background-image: url(art/rainbow.svg);
position: absolute;
width: 100%;
height: 100%;
opacity: 0;
filter: blur(10px);
animation: fadein 1s 2500ms forwards;
}
#cover{
z-index: -1;
width: 100%;
height: 100%;
position: absolute;
bottom: 0;
filter: blur(20px);
background-image: linear-gradient(116.82deg, rgba(114, 196, 255, 0.82) 0%, #D2ECFF 100%);
animation: to-top 300ms 3s forwards, none1 1ms 4s;
}
@keyframes to-top{
to{
bottom: 100vh;
}
}
@keyframes none1{
to{
display: none;
}
}
@keyframes blur{
to{
filter: blur(12.5em);
}
}
@keyframes top-to-bottom{
from{
top: -100px;
}
to{
top: 0;
}
}
@keyframes fadein{
from{
opacity: 0;
}
to{
opacity: 1;
}
}
@keyframes fadein2{
from{
opacity: 0;
}
to{
opacity: .8;
}
}
@keyframes bounce{
from{
margin-top: -2em;
}
to{
margin-top: 5.5em;
}
}
@keyframes def{
to{
margin-top: 2.3em;
}
}
/* */
#main{
position: absolute;
width: max-content;
height: 80%;
left: 10%;
z-index: 2;
animation: fadein 1s ,bounce 1s forwards, def 1s forwards;
}
#title{
font-size: 3em;
}
#head, h1{
background: var(--rainbow);
background-clip: text;
-webkit-background-clip: text;
color: transparent;
}
/* */
#desc{
margin-top: 2em;
width: 17.75em;
}
/* */
#button{
position: absolute;
bottom: 3em;
width: 13em;
height: 3em;
background-color: #D6A2FF;
background-image: linear-gradient(116.82deg, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%);
box-shadow: 0px 4px 4px rgba(168, 57, 255, 0.25);
border: none;
color: #9700FF;
border-radius: 1000px;
transition: background-color 300ms;
}
#button:hover{
background-color: #ffffff;
}
#h4{
font-size: 1.5em;
}
@media screen and (min-height: 1000px) and (min-width: 1000px){
body{
font-size: 150%;
}
}
@media screen and (max-width: 540px){
body{
font-size: 90%;
}
#main{
left: 0;
margin: 0 auto;
position: relative;
}
}
@media screen and (max-width: 440px){
body{
font-size: 60%;
}
canvas{
width: 100%;
height: 100%;
}
#title, h1{
font-size: 2em;
}
#button{
left: 50%;
transform: translateX(-50%);
}
}