Repository navigation
Expand file tree
/
Copy pathapp.css
More file actions
328 lines (289 loc) · 7.54 KB
/
Copy pathapp.css
File metadata and controls
328 lines (289 loc) · 7.54 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
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
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
@import "tailwindcss";
@font-face {
font-family: "Montserrat";
font-style: normal;
font-weight: 400 700;
font-display: swap;
src: url("/fonts/montserrat-v31-latin.woff2") format("woff2");
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@theme {
--color-brand: #fd4f00;
--font-montserrat: "Montserrat", ui-sans-serif, system-ui, sans-serif;
--breakpoint-xs: 450px;
--background-image-custom-radial-gradient: radial-gradient(
167.98% 232.71% at 47.36% -20.41%,
#08030a 0%,
rgba(200, 11, 215, 0.5) 9.53%,
rgba(3, 1, 104, 0.7) 72.78%,
rgba(8, 3, 10, 0.5) 83.67%,
#08030a 100%
);
--animate-header-x-scroll: scroll-x 20s linear infinite;
--animate-footer-x-scroll: scroll-x 25s linear infinite;
@keyframes scroll-x {
0% {
transform: translateX(0);
}
100% {
transform: translateX(-50%);
}
}
}
:host,
html {
box-sizing: border-box;
font-size: 62.5%;
}
*,
*:after,
*:before {
box-sizing: inherit;
}
/* Hide scrollbar for Chrome, Safari and Opera */
.hide-scrollbar::-webkit-scrollbar {
display: none;
}
/* Hide scrollbar for IE, Edge and Firefox */
.hide-scrollbar {
-ms-overflow-style: none;
scrollbar-width: none;
}
/* Card border with gradient mask effect */
.card-border {
position: relative;
border-radius: 16px;
overflow: hidden;
}
.card-border::before {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
border-radius: 16px;
padding: 0.2rem;
background: linear-gradient(to right, #89668c, #8a8aa3, #546e73);
-webkit-mask:
linear-gradient(#fff 0 0) content-box,
linear-gradient(#fff 0 0);
mask:
linear-gradient(#fff 0 0) content-box,
linear-gradient(#fff 0 0);
-webkit-mask-composite: xor;
mask-composite: exclude;
pointer-events: none;
}
/* Background gradients */
.bg-elixir-story,
.bg-elixir-stands-out {
background:
linear-gradient(
to bottom,
#08030a 0%,
rgba(8, 3, 10, 0.5) 50%,
rgba(8, 3, 10, 0) 100%
),
linear-gradient(to right, #53056e, #71067a, #4e046b);
}
.bg-extensive-libraries {
background: linear-gradient(
to bottom,
#210259 10%,
#14022e 75%,
#08030a 100%
);
}
/* Animation keyframes */
@keyframes fade-in-slow {
0% {
opacity: 0.1;
}
50% {
opacity: 0.5;
}
100% {
opacity: 1;
}
}
@keyframes fade-out-slow {
0% {
opacity: 1;
}
50% {
opacity: 0.5;
}
100% {
opacity: 0.1;
}
}
@keyframes fade-in-scale-keys {
0% {
scale: 0.95;
opacity: 0;
}
100% {
scale: 1;
opacity: 1;
}
}
@keyframes fade-out-scale-keys {
0% {
scale: 1;
opacity: 1;
}
100% {
scale: 0.95;
opacity: 0;
}
}
@keyframes fade-in-keys {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@keyframes fade-out-keys {
0% {
opacity: 1;
}
100% {
opacity: 0;
}
}
/* Blur header component */
@utility blur-header {
@apply backdrop-blur-md bg-white/10;
}
/* Bullet list — simple (icon + single text) */
.bullet-list {
@apply flex flex-col;
}
.bullet-item {
@apply flex items-start;
}
.bullet-item-icon {
@apply w-[46px] h-[47px] shrink-0;
}
/* Section heading and subheading */
.section-heading {
@apply text-center text-[2.4rem] md:text-[3rem] leading-[2.9rem] md:leading-[3.5rem] font-medium;
}
.section-subheading {
@apply mt-3 md:mt-2 text-center text-2xl md:text-[1.9rem] leading-[2.9rem] md:leading-[3rem] font-normal max-md:max-w-full;
}
/* Goodness card (3-col grid) — pair with card-border in HTML */
.goodness-card {
@apply flex flex-col justify-center md:justify-start px-12 md:px-6 lg:px-12 py-12 min-h-[285px] md:min-h-[225px] bg-gradient-to-r from-[rgba(3,1,104,0.4)] to-[rgba(200,11,215,0.1)] opacity-80;
}
/* Story card (horizontal scroll on mobile, stacked on md) — pair with card-border in HTML */
.story-card {
@apply flex flex-col md:flex-row flex-shrink-0 snap-center md:snap-none bg-gradient-to-r from-[rgba(3,1,104,0.4)] to-[rgba(255,255,255,0.1)] opacity-80 mt-16 w-full min-h-[250px];
}
.story-card-date {
@apply flex md:flex-col justify-center space-x-3 py-7 md:py-0 min-w-[120px] p-5 border-b-2 md:border-b-0 md:border-r-2 border-[#89668C] items-center text-[#E7FBFD] text-3xl font-semibold leading-10;
}
.story-card-body {
@apply flex items-center px-10 py-14 md:p-7;
}
.story-card-text {
@apply text-2xl md:text-3xl leading-[2.4rem] md:leading-[3.2rem] tracking-[0.008rem];
}
/* Stands-out comparison card — pair with card-border in HTML */
.stands-out-card {
@apply flex items-center min-h-[185px] md:min-h-[120px] py-6 px-8 bg-gradient-to-r from-[rgba(3,1,104,0.4)] to-[rgba(255,255,255,0.1)] via-transparent;
}
.stands-out-card-text {
@apply text-2xl leading-[2.4rem] md:leading-[2.8rem] tracking-[0.008rem] md:tracking-[0.01rem] font-normal;
}
/* Extended lib item title and body */
.lib-item-title {
@apply text-3xl md:text-[1.9rem] leading-[2.9rem] md:leading-[3.5rem] tracking-[0.005rem] md:tracking-[0.008rem] font-medium;
}
.lib-item-body {
@apply text-2xl font-normal leading-[2.4rem] tracking-[0.008rem] md:tracking-normal;
}
/* Bullet list — extended (icon + title + description, two icon sizes) */
.bullet-list-extended {
@apply flex flex-col gap-y-7;
}
.bullet-item-extended {
@apply flex;
}
.bullet-item-extended-icon {
@apply flex mr-2 md:mr-4 shrink-0;
}
.bullet-item-extended-icon-sm {
@apply md:hidden w-[46px] h-[47px] shrink-0;
}
.bullet-item-extended-icon-md {
@apply hidden md:flex w-[42px] h-[42px] shrink-0;
}
.bullet-item-extended-content {
@apply flex flex-col mt-3 md:mt-0 gap-y-2;
}
/* Shared visitor information uses the homepage typography and purple palette. */
.site-footer {
width: 100%;
padding: 3.2rem 2.4rem;
margin-top: 6.4rem;
text-align: center;
font-family: var(--font-montserrat);
font-size: 1.5rem;
line-height: 1.6;
color: #fff;
}
.site-information {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: .8rem 2.4rem;
margin-top: 1.2rem;
}
.site-information a { padding: .6rem 0; }
.site-information a:hover { text-decoration: underline; text-underline-offset: .4rem; }
.site-footer a:focus-visible, .information-page a:focus-visible {
outline: 2px solid #e9bbff;
outline-offset: 5px;
border-radius: 2px;
}
.information-page {
min-height: 100vh;
display: flex;
flex-direction: column;
margin: 0;
background: #08030a;
color: #fff;
font-family: var(--font-montserrat);
font-size: 1.8rem;
line-height: 1.75;
}
.information-header {
padding: 2.8rem 2.4rem;
text-align: center;
background: linear-gradient(120deg, #53056e, #14022e);
}
.information-header a {
font-size: 3.5rem;
line-height: 1.25;
font-weight: 600;
letter-spacing: .0088rem;
}
.information-content {
width: min(100% - 4.8rem, 76rem);
margin: 5.6rem auto 0;
flex: 1;
}
.information-back { font-size: 1.5rem; }
.information-content h1 { font-size: clamp(3.2rem, 6vw, 4.8rem); line-height: 1.2; font-weight: 600; margin: 2.4rem 0 3.2rem; }
.information-content h2 { font-size: 2.4rem; font-weight: 500; line-height: 1.4; margin: 3.2rem 0 1.6rem; }
.information-content p { margin: 0 0 2rem; }
.information-content a { color: #e9bbff; text-decoration: underline; text-underline-offset: .4rem; overflow-wrap: anywhere; }
.information-content .information-updated { font-size: 1.4rem; color: #d0c5d5; margin-top: 3.2rem; }
@media (max-width: 450px) {
.information-content { margin-top: 3.2rem; font-size: 1.6rem; }
.site-footer { font-size: 1.4rem; margin-top: 4rem; }
}