-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
310 lines (262 loc) · 8.58 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
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
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
html,
body {
margin: 0;
padding: 0;
font-family: Inter, "Segoe UI Variable", "Segoe UI", "Helvetica Neue",
"Helvetica", "Arial", sans-serif;
font-size: 14px;
line-height: 1.42857143;
color: #ffffff;
background-color: hsl(219, 28%, 12%);
--cursor-default: url("data:image/svg+xml,%3Csvg width='20' height='26' viewBox='0 0 20 26' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg filter='url(%23filter0_d_1104_663)'%3E%3Cpath d='M14.5 15.5L2 3V19.5L5.5 17L7.30828 21.9728C7.41041 22.2536 7.73448 22.3828 8.00178 22.2491L11.0885 20.7057C11.3211 20.5895 11.4257 20.3143 11.3291 20.0728L9.5 15.5H14.5Z' fill='hsl(222%2C%2027%25%2C%2020%25)'/%3E%3Cpath d='M14.5 15.5L2 3V19.5L5.5 17L7.30828 21.9728C7.41041 22.2536 7.73448 22.3828 8.00178 22.2491L11.0885 20.7057C11.3211 20.5895 11.4257 20.3143 11.3291 20.0728L9.5 15.5H14.5Z' stroke='white' stroke-width='1.5'/%3E%3C/g%3E%3Cdefs%3E%3Cfilter id='filter0_d_1104_663' x='0.55' y='0.489453' width='18.4605' height='25.2633' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3E%3CfeFlood flood-opacity='0' result='BackgroundImageFix'/%3E%3CfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/%3E%3CfeOffset dx='1' dy='1'/%3E%3CfeGaussianBlur stdDeviation='0.85'/%3E%3CfeComposite in2='hardAlpha' operator='out'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.05 0'/%3E%3CfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow_1104_663'/%3E%3CfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_1104_663' result='shape'/%3E%3C/filter%3E%3C/defs%3E%3C/svg%3E");
--cursor-pointer: url("data:image/svg+xml,%3Csvg width='23' height='26' viewBox='0 0 23 26' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg filter='url(%23filter0_d_1104_682)'%3E%3Cpath d='M2.36495 13.635L2.17678 13.8232C2.06359 13.9364 2 14.0899 2 14.25C2 14.4101 2.06359 14.5636 2.17678 14.6768L6.5 19L8.5 21L9.35355 21.8536C9.44732 21.9473 9.5745 22 9.70711 22H17C19.2793 21.9375 19.0003 21.9999 19.4992 20.0032C19.4997 20.0012 19.5 19.9989 19.5 19.9968V11.6706C19.5 10.0694 17.4416 9.41611 16.5182 10.7242C16.5126 10.7322 16.5 10.7282 16.5 10.7185V10C16.5 9.01608 15.5361 8.32131 14.6026 8.63246L13.5182 8.99394C13.5092 8.99692 13.5 8.99026 13.5 8.98083V8C13.5 7.36506 12.9033 6.89917 12.2873 7.05317L10.5182 7.49545C10.5089 7.49776 10.5 7.49078 10.5 7.48126V6.75V3.25C10.5 2.55964 9.94036 2 9.25 2H9C8.44772 2 8 2.44772 8 3V15.4254C8 15.4597 7.96394 15.482 7.93328 15.4666L3.80328 13.4016C3.32357 13.1618 2.7442 13.2558 2.36495 13.635Z' fill='hsl(222%2C%2027%25%2C%2020%25)'/%3E%3Cpath d='M10.5 11.5V6.75M10.5 6.75V3.25C10.5 2.55964 9.94036 2 9.25 2H9C8.44772 2 8 2.44772 8 3V3V15.4254C8 15.4597 7.96394 15.482 7.93328 15.4666L3.80328 13.4016C3.32357 13.1618 2.7442 13.2558 2.36495 13.635L2.17678 13.8232C2.06359 13.9364 2 14.0899 2 14.25V14.25C2 14.4101 2.06359 14.5636 2.17678 14.6768L6.5 19L8.5 21L9.35355 21.8536C9.44732 21.9473 9.5745 22 9.70711 22H17C19.2793 21.9375 19.0003 21.9999 19.4992 20.0032C19.4997 20.0012 19.5 19.9989 19.5 19.9968V11.6706C19.5 10.0694 17.4416 9.41611 16.5182 10.7242V10.7242C16.5126 10.7322 16.5 10.7282 16.5 10.7185V10M10.5 6.75V7.48126C10.5 7.49078 10.5089 7.49776 10.5182 7.49545L12.2873 7.05317C12.9033 6.89917 13.5 7.36506 13.5 8V8M13.5 8V10.5V11.5M13.5 8V8.98083C13.5 8.99026 13.5092 8.99692 13.5182 8.99394L14.6026 8.63246C15.5361 8.32131 16.5 9.01608 16.5 10V10M16.5 10V11.5' stroke='white' stroke-width='1.5' stroke-linecap='round'/%3E%3C/g%3E%3Cdefs%3E%3Cfilter id='filter0_d_1104_682' x='0.55' y='0.55' width='22.4' height='24.9' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3E%3CfeFlood flood-opacity='0' result='BackgroundImageFix'/%3E%3CfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/%3E%3CfeOffset dx='1' dy='1'/%3E%3CfeGaussianBlur stdDeviation='0.85'/%3E%3CfeComposite in2='hardAlpha' operator='out'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.05 0'/%3E%3CfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow_1104_682'/%3E%3CfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_1104_682' result='shape'/%3E%3C/filter%3E%3C/defs%3E%3C/svg%3E");
cursor: var(--cursor-default), auto;
}
.center {
justify-content: center;
display: inline-flex;
flex-direction: column;
align-items: center;
gap: 1rem;
text-align: center;
}
.mw {
max-width: 40rem;
}
.t {
color: #5d8bf5;
}
h1.big {
font-size: 36px;
font-weight: bold;
margin-bottom: 0;
}
.big {
font-size: 30px;
margin-bottom: 1rem;
}
.semi-big {
font-size: 15px;
}
/* make nice looking navbar */
.navbar {
padding-top: 24px;
display: flex;
justify-content: space-between;
align-items: center;
flex-direction: row;
max-width: 500px;
position: relative;
left: 50%;
transform: translateX(-50%);
}
.navbar a {
color: #5d8bf5;
text-decoration: none;
font-size: 18px;
}
.navbar a:hover {
color: #97b7ff;
}
.navbar .right {
display: flex;
flex-direction: row;
align-items: center;
gap: 10px;
}
.navbar .right a {
font-weight: 550;
padding: 0 8px;
}
* {
box-sizing: border-box;
}
a {
cursor: var(--cursor-pointer), auto;
}
.midsmall {
flex-basis: 100%;
text-align: center !important;
opacity: 0.6;
}
@media (max-width: 550px) {
.navbar .right {
margin-right: 26px;
}
}
.navbar .menu-toggle {
display: none;
position: absolute;
right: 0;
top: 0;
padding: 10px;
cursor: var(--cursor-pointer), auto;
}
.sections-container {
display: flex;
flex-direction: column;
}
.section:nth-child(odd) {
background-color: hsl(222, 25%, 8%);
}
.section:nth-child(even) {
background-color: hsl(219, 28%, 12%);
}
.section {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
align-items: center;
gap: 2.5rem;
padding: 2rem;
min-height: 400px;
}
.section img {
width: 450px;
filter: /*drop-shadow(0px 3px 5px #00000083)*/ drop-shadow(
0.3rem 0.3rem #252d395b
);
border-radius: 6px;
max-width: 92vw;
}
.section .secondary {
width: 450px;
/* filter: drop-shadow(0px 3px 5px #00000083) */
/* drop-shadow(0.3rem 0.3rem #252d395b); */
border-radius: 6px;
max-width: 92vw;
text-align: left;
}
/* .section even and odd */
.section:nth-child(even) {
flex-direction: row-reverse;
flex-wrap: wrap-reverse;
}
.section:nth-child(odd) {
flex-direction: row;
flex-wrap: wrap;
}
.section:nth-child(even) img {
transform: rotate(-1deg);
}
.section:nth-child(odd) img {
transform: rotate(1deg);
}
@media (min-width: 1320px) {
.section:nth-child(odd):not(:nth-child(1)) * {
text-align: right;
}
.section:nth-child(even) * {
text-align: left;
}
}
@media (max-width: 1320px) {
.section:nth-child(odd):not(:nth-child(1)) * {
text-align: center;
}
.section:nth-child(even) * {
text-align: center;
}
.section {
gap: 2rem;
padding: 3rem 1.5rem;
/* gap: 1rem;
padding: 1.5rem 0; */
min-height: 30rem;
}
}
h1,
h2,
p {
margin: 0;
}
.logo {
color: white !important;
font-weight: bold;
margin-left: 14px;
}
.logo svg {
margin-right: auto;
}
.btn.primary {
background-color: #184abf;
color: #ffffff;
padding: 0.75rem 2.5rem;
border-radius: 8px;
border: none;
outline: none;
appearance: none;
font: inherit;
cursor: var(--cursor-pointer), auto;
margin: 4px;
display: flex;
justify-content: center;
align-items: center;
text-decoration: none !important;
}
.footer a,
article a {
color: hsl(222, 85%, 59%);
text-decoration: none;
}
.footer a:hover,
article a:hover {
text-decoration: underline;
color: hsl(222, 85%, 59%);
}
.footer {
padding: 10px;
text-align: center;
background-color: hsl(219, 30%, 9%);
}
body,
.section:nth-child(1) {
background: transparent !important;
}
* {
box-sizing: border-box;
}
body::before {
background: url("./assets/images/background.svg");
background-size: cover;
background-attachment: fixed;
background-position: center;
background-size: cover;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 482px;
z-index: -1;
content: "";
transform: scale(1.2);
transform-origin: center;
}
.loader {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: hsl(219, 28%, 12%);
z-index: 99999;
display: flex;
justify-content: center;
align-items: center;
}
.loader > svg {
animation: spin 1s infinite linear;
}
@keyframes spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
a.selected,
a.selected:hover {
color: #ffffff;
}