@mundogamernetwork/shared-ui 1.1.35 → 1.1.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/kit/kit-base.css +661 -0
- package/assets/kit/kit-theme.css +57 -8
- package/components/ui/MgAppInstallBanner.vue +1 -14
- package/components/ui/MgCampaignBannerCarousel.vue +6 -23
- package/nuxt.config.ts +4 -1
- package/package.json +1 -1
- package/pages/presskit/[slug].vue +185 -1381
- package/plugins/auth.client.ts +1 -1
- package/plugins/echo.client.ts +5 -0
- package/services/campaignBannersService.ts +2 -7
- package/services/httpService.ts +12 -11
- package/stores/appInstallBanner.ts +7 -23
|
@@ -0,0 +1,661 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Mundo Gamer — Kit base styles
|
|
3
|
+
*
|
|
4
|
+
* Styles all kit-* classes used by pages/presskit/[slug].vue.
|
|
5
|
+
* Color tokens come from kit-theme.css (:root + [data-tpl]).
|
|
6
|
+
* Layout overrides come from kit-theme.css ([data-layout]).
|
|
7
|
+
* NEVER use border-radius.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
/* ── Scroll fix ─────────────────────────────────────────────────────
|
|
11
|
+
Some host frontends set body { overflow-y: hidden } for their
|
|
12
|
+
dashboard. Public kit pages need native document scroll. */
|
|
13
|
+
body:has(.kit-press) {
|
|
14
|
+
overflow-y: auto !important;
|
|
15
|
+
max-height: none !important;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
/* ── Root ───────────────────────────────────────────────────────────*/
|
|
19
|
+
.kit-press {
|
|
20
|
+
min-height: 100vh;
|
|
21
|
+
background: var(--kit-bg, #0c0e12);
|
|
22
|
+
color: var(--kit-text, #f4f6fa);
|
|
23
|
+
font-family: inherit;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/* ── State (loading / error) ────────────────────────────────────────*/
|
|
27
|
+
.kit-state {
|
|
28
|
+
display: flex;
|
|
29
|
+
flex-direction: column;
|
|
30
|
+
align-items: center;
|
|
31
|
+
justify-content: center;
|
|
32
|
+
min-height: 60vh;
|
|
33
|
+
gap: 16px;
|
|
34
|
+
color: var(--kit-muted, #8b92a0);
|
|
35
|
+
font-size: 1rem;
|
|
36
|
+
}
|
|
37
|
+
.kit-state h2 {
|
|
38
|
+
font-size: 1.5rem;
|
|
39
|
+
color: var(--kit-text, #f4f6fa);
|
|
40
|
+
margin: 0 0 8px;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/* ── Cover / Hero ───────────────────────────────────────────────────*/
|
|
44
|
+
.kit-cover {
|
|
45
|
+
position: relative;
|
|
46
|
+
min-height: 520px;
|
|
47
|
+
display: flex;
|
|
48
|
+
align-items: flex-end;
|
|
49
|
+
overflow: hidden;
|
|
50
|
+
background: var(--kit-surface, #14171d);
|
|
51
|
+
}
|
|
52
|
+
.kit-cover-art {
|
|
53
|
+
position: absolute;
|
|
54
|
+
inset: 0;
|
|
55
|
+
width: 100%;
|
|
56
|
+
height: 100%;
|
|
57
|
+
object-fit: cover;
|
|
58
|
+
object-position: center top;
|
|
59
|
+
opacity: 0.45;
|
|
60
|
+
display: block;
|
|
61
|
+
}
|
|
62
|
+
.kit-cover::after {
|
|
63
|
+
content: '';
|
|
64
|
+
position: absolute;
|
|
65
|
+
inset: 0;
|
|
66
|
+
background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.1) 70%);
|
|
67
|
+
pointer-events: none;
|
|
68
|
+
}
|
|
69
|
+
.kit-cover-inner {
|
|
70
|
+
position: relative;
|
|
71
|
+
z-index: 1;
|
|
72
|
+
display: flex;
|
|
73
|
+
align-items: flex-end;
|
|
74
|
+
gap: 32px;
|
|
75
|
+
width: 100%;
|
|
76
|
+
max-width: var(--kit-maxw, 1180px);
|
|
77
|
+
margin: 0 auto;
|
|
78
|
+
padding: 48px 24px;
|
|
79
|
+
}
|
|
80
|
+
.kit-cover-poster {
|
|
81
|
+
width: 140px;
|
|
82
|
+
flex-shrink: 0;
|
|
83
|
+
display: block;
|
|
84
|
+
box-shadow: 0 8px 32px rgba(0,0,0,0.6);
|
|
85
|
+
align-self: flex-end;
|
|
86
|
+
}
|
|
87
|
+
.kit-cover-text {
|
|
88
|
+
flex: 1;
|
|
89
|
+
min-width: 0;
|
|
90
|
+
}
|
|
91
|
+
.kit-eyebrow {
|
|
92
|
+
display: inline-block;
|
|
93
|
+
font-size: 0.68rem;
|
|
94
|
+
font-weight: 700;
|
|
95
|
+
letter-spacing: var(--kit-head-ls, 3px);
|
|
96
|
+
text-transform: uppercase;
|
|
97
|
+
color: var(--kit-accent, #FDB215);
|
|
98
|
+
margin-bottom: 10px;
|
|
99
|
+
}
|
|
100
|
+
.kit-cover-logo-img {
|
|
101
|
+
display: block;
|
|
102
|
+
max-height: 80px;
|
|
103
|
+
max-width: 260px;
|
|
104
|
+
object-fit: contain;
|
|
105
|
+
margin-bottom: 10px;
|
|
106
|
+
}
|
|
107
|
+
.kit-cover-text h1 {
|
|
108
|
+
font-size: 2.6rem;
|
|
109
|
+
font-weight: 800;
|
|
110
|
+
margin: 0 0 8px;
|
|
111
|
+
line-height: 1.1;
|
|
112
|
+
color: var(--kit-text, #f4f6fa);
|
|
113
|
+
}
|
|
114
|
+
.kit-tagline {
|
|
115
|
+
font-size: 1.05rem;
|
|
116
|
+
color: rgba(255,255,255,0.7);
|
|
117
|
+
margin: 0 0 6px;
|
|
118
|
+
line-height: 1.5;
|
|
119
|
+
}
|
|
120
|
+
.kit-kicker {
|
|
121
|
+
font-size: 0.82rem;
|
|
122
|
+
color: var(--kit-muted, #8b92a0);
|
|
123
|
+
margin: 0 0 20px;
|
|
124
|
+
text-transform: uppercase;
|
|
125
|
+
letter-spacing: 1px;
|
|
126
|
+
}
|
|
127
|
+
.kit-actions {
|
|
128
|
+
display: flex;
|
|
129
|
+
gap: 10px;
|
|
130
|
+
flex-wrap: wrap;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
/* ── Buttons ────────────────────────────────────────────────────────*/
|
|
134
|
+
.kit-btn {
|
|
135
|
+
display: inline-flex;
|
|
136
|
+
align-items: center;
|
|
137
|
+
gap: 6px;
|
|
138
|
+
padding: 10px 22px;
|
|
139
|
+
font-size: 0.88rem;
|
|
140
|
+
font-weight: 700;
|
|
141
|
+
cursor: pointer;
|
|
142
|
+
text-decoration: none;
|
|
143
|
+
border: none;
|
|
144
|
+
transition: opacity 0.15s;
|
|
145
|
+
letter-spacing: 0.5px;
|
|
146
|
+
}
|
|
147
|
+
.kit-btn:hover { opacity: 0.85; }
|
|
148
|
+
.kit-btn-primary {
|
|
149
|
+
background: var(--kit-accent, #FDB215);
|
|
150
|
+
color: var(--kit-accent-ink, #13161C);
|
|
151
|
+
}
|
|
152
|
+
.kit-btn-ghost {
|
|
153
|
+
background: rgba(255,255,255,0.08);
|
|
154
|
+
color: var(--kit-text, #f4f6fa);
|
|
155
|
+
border: 1px solid rgba(255,255,255,0.18);
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
/* ── Content wrapper ────────────────────────────────────────────────*/
|
|
159
|
+
.kit-wrap {
|
|
160
|
+
max-width: var(--kit-maxw, 1180px);
|
|
161
|
+
margin: 0 auto;
|
|
162
|
+
padding: 48px 24px 64px;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
/* ── Classic layout: sidebar left + main right ──────────────────────*/
|
|
166
|
+
.kit-layout {
|
|
167
|
+
display: grid;
|
|
168
|
+
grid-template-columns: 280px 1fr;
|
|
169
|
+
gap: 40px;
|
|
170
|
+
align-items: start;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
/* ── Sidebar ────────────────────────────────────────────────────────*/
|
|
174
|
+
.kit-sidebar {
|
|
175
|
+
display: flex;
|
|
176
|
+
flex-direction: column;
|
|
177
|
+
gap: 20px;
|
|
178
|
+
position: sticky;
|
|
179
|
+
top: 24px;
|
|
180
|
+
}
|
|
181
|
+
.kit-card {
|
|
182
|
+
background: var(--kit-surface, #14171d);
|
|
183
|
+
border: 1px solid var(--kit-line, #252a34);
|
|
184
|
+
padding: 20px;
|
|
185
|
+
}
|
|
186
|
+
.kit-factsheet {}
|
|
187
|
+
.kit-fact-title {
|
|
188
|
+
font-size: 0.68rem;
|
|
189
|
+
text-transform: uppercase;
|
|
190
|
+
letter-spacing: var(--kit-head-ls, 3px);
|
|
191
|
+
font-weight: 700;
|
|
192
|
+
color: var(--kit-muted, #8b92a0);
|
|
193
|
+
margin: 0 0 16px;
|
|
194
|
+
}
|
|
195
|
+
.kit-fact {
|
|
196
|
+
display: flex;
|
|
197
|
+
flex-direction: column;
|
|
198
|
+
gap: 2px;
|
|
199
|
+
padding: 8px 0;
|
|
200
|
+
border-bottom: 1px solid var(--kit-line, #252a34);
|
|
201
|
+
}
|
|
202
|
+
.kit-fact:last-child { border-bottom: none; }
|
|
203
|
+
.kit-fact .k {
|
|
204
|
+
font-size: 0.67rem;
|
|
205
|
+
text-transform: uppercase;
|
|
206
|
+
letter-spacing: 1px;
|
|
207
|
+
color: var(--kit-muted, #8b92a0);
|
|
208
|
+
}
|
|
209
|
+
.kit-fact .v {
|
|
210
|
+
font-size: 0.88rem;
|
|
211
|
+
color: var(--kit-text, #f4f6fa);
|
|
212
|
+
word-break: break-word;
|
|
213
|
+
}
|
|
214
|
+
.kit-fact .v.accent {
|
|
215
|
+
color: var(--kit-accent, #FDB215);
|
|
216
|
+
}
|
|
217
|
+
.kit-fact a.v {
|
|
218
|
+
color: var(--kit-accent, #FDB215);
|
|
219
|
+
text-decoration: none;
|
|
220
|
+
}
|
|
221
|
+
.kit-fact a.v:hover { text-decoration: underline; }
|
|
222
|
+
.kit-socials {
|
|
223
|
+
display: flex;
|
|
224
|
+
gap: 6px;
|
|
225
|
+
flex-wrap: wrap;
|
|
226
|
+
margin-top: 4px;
|
|
227
|
+
}
|
|
228
|
+
.kit-socials a {
|
|
229
|
+
display: inline-flex;
|
|
230
|
+
align-items: center;
|
|
231
|
+
justify-content: center;
|
|
232
|
+
width: 28px;
|
|
233
|
+
height: 28px;
|
|
234
|
+
background: var(--kit-surface-2, #1b1f27);
|
|
235
|
+
border: 1px solid var(--kit-line, #252a34);
|
|
236
|
+
color: var(--kit-muted, #8b92a0);
|
|
237
|
+
font-size: 0.75rem;
|
|
238
|
+
font-weight: 700;
|
|
239
|
+
text-decoration: none;
|
|
240
|
+
transition: border-color 0.15s, color 0.15s;
|
|
241
|
+
}
|
|
242
|
+
.kit-socials a:hover {
|
|
243
|
+
border-color: var(--kit-accent, #FDB215);
|
|
244
|
+
color: var(--kit-accent, #FDB215);
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
/* ── Main content ───────────────────────────────────────────────────*/
|
|
248
|
+
.kit-main {
|
|
249
|
+
display: flex;
|
|
250
|
+
flex-direction: column;
|
|
251
|
+
gap: 48px;
|
|
252
|
+
min-width: 0;
|
|
253
|
+
}
|
|
254
|
+
.kit-block { display: flex; flex-direction: column; gap: 16px; }
|
|
255
|
+
.kit-block > h2 {
|
|
256
|
+
font-size: 0.7rem;
|
|
257
|
+
text-transform: uppercase;
|
|
258
|
+
letter-spacing: var(--kit-head-ls, 3px);
|
|
259
|
+
font-weight: 700;
|
|
260
|
+
color: var(--kit-muted, #8b92a0);
|
|
261
|
+
margin: 0;
|
|
262
|
+
padding-bottom: 12px;
|
|
263
|
+
border-bottom: 1px solid var(--kit-line, #252a34);
|
|
264
|
+
}
|
|
265
|
+
.kit-shead {
|
|
266
|
+
display: flex;
|
|
267
|
+
align-items: center;
|
|
268
|
+
justify-content: space-between;
|
|
269
|
+
gap: 12px;
|
|
270
|
+
padding-bottom: 12px;
|
|
271
|
+
border-bottom: 1px solid var(--kit-line, #252a34);
|
|
272
|
+
}
|
|
273
|
+
.kit-shead h2 {
|
|
274
|
+
font-size: 0.7rem;
|
|
275
|
+
text-transform: uppercase;
|
|
276
|
+
letter-spacing: var(--kit-head-ls, 3px);
|
|
277
|
+
font-weight: 700;
|
|
278
|
+
color: var(--kit-muted, #8b92a0);
|
|
279
|
+
margin: 0;
|
|
280
|
+
border: none;
|
|
281
|
+
padding: 0;
|
|
282
|
+
}
|
|
283
|
+
.kit-dl {
|
|
284
|
+
font-size: 0.75rem;
|
|
285
|
+
color: var(--kit-accent, #FDB215);
|
|
286
|
+
cursor: pointer;
|
|
287
|
+
text-decoration: none;
|
|
288
|
+
flex-shrink: 0;
|
|
289
|
+
}
|
|
290
|
+
.kit-dl:hover { text-decoration: underline; }
|
|
291
|
+
|
|
292
|
+
/* Description */
|
|
293
|
+
.kit-lead {
|
|
294
|
+
font-size: 0.95rem;
|
|
295
|
+
line-height: 1.75;
|
|
296
|
+
color: var(--kit-muted, #8b92a0);
|
|
297
|
+
}
|
|
298
|
+
.kit-lead p { margin: 0 0 12px; }
|
|
299
|
+
.kit-lead p:last-child { margin: 0; }
|
|
300
|
+
|
|
301
|
+
/* Features */
|
|
302
|
+
.kit-features {
|
|
303
|
+
display: grid;
|
|
304
|
+
grid-template-columns: 1fr 1fr;
|
|
305
|
+
gap: 8px 24px;
|
|
306
|
+
}
|
|
307
|
+
.kit-feature {
|
|
308
|
+
display: flex;
|
|
309
|
+
align-items: flex-start;
|
|
310
|
+
gap: 8px;
|
|
311
|
+
font-size: 0.9rem;
|
|
312
|
+
color: var(--kit-muted, #8b92a0);
|
|
313
|
+
}
|
|
314
|
+
.kit-feature .m {
|
|
315
|
+
color: var(--kit-accent, #FDB215);
|
|
316
|
+
flex-shrink: 0;
|
|
317
|
+
margin-top: 1px;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
/* Screenshot gallery */
|
|
321
|
+
.kit-gallery {
|
|
322
|
+
display: grid;
|
|
323
|
+
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
|
|
324
|
+
gap: 10px;
|
|
325
|
+
}
|
|
326
|
+
.kit-shot {
|
|
327
|
+
display: block;
|
|
328
|
+
aspect-ratio: 16 / 9;
|
|
329
|
+
overflow: hidden;
|
|
330
|
+
background: var(--kit-surface, #14171d);
|
|
331
|
+
border: 1px solid var(--kit-line, #252a34);
|
|
332
|
+
transition: border-color 0.15s;
|
|
333
|
+
}
|
|
334
|
+
.kit-shot:hover { border-color: var(--kit-accent, #FDB215); }
|
|
335
|
+
.kit-shot img {
|
|
336
|
+
width: 100%;
|
|
337
|
+
height: 100%;
|
|
338
|
+
object-fit: cover;
|
|
339
|
+
display: block;
|
|
340
|
+
transition: transform 0.2s;
|
|
341
|
+
}
|
|
342
|
+
.kit-shot:hover img { transform: scale(1.03); }
|
|
343
|
+
|
|
344
|
+
/* Brand / logo assets */
|
|
345
|
+
.kit-logos {
|
|
346
|
+
display: flex;
|
|
347
|
+
flex-wrap: wrap;
|
|
348
|
+
gap: 10px;
|
|
349
|
+
}
|
|
350
|
+
.kit-logo-tile {
|
|
351
|
+
display: flex;
|
|
352
|
+
align-items: center;
|
|
353
|
+
gap: 8px;
|
|
354
|
+
padding: 10px 16px;
|
|
355
|
+
background: var(--kit-surface, #14171d);
|
|
356
|
+
border: 1px solid var(--kit-line, #252a34);
|
|
357
|
+
color: var(--kit-muted, #8b92a0);
|
|
358
|
+
font-size: 0.82rem;
|
|
359
|
+
text-decoration: none;
|
|
360
|
+
transition: border-color 0.15s, color 0.15s;
|
|
361
|
+
}
|
|
362
|
+
.kit-logo-tile:hover {
|
|
363
|
+
border-color: var(--kit-accent, #FDB215);
|
|
364
|
+
color: var(--kit-text, #f4f6fa);
|
|
365
|
+
}
|
|
366
|
+
.kit-logo-tile .ic { color: var(--kit-accent, #FDB215); }
|
|
367
|
+
|
|
368
|
+
/* Articles */
|
|
369
|
+
.kit-articles {
|
|
370
|
+
display: grid;
|
|
371
|
+
grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
|
|
372
|
+
gap: 14px;
|
|
373
|
+
}
|
|
374
|
+
.kit-article {
|
|
375
|
+
display: flex;
|
|
376
|
+
flex-direction: column;
|
|
377
|
+
background: var(--kit-surface, #14171d);
|
|
378
|
+
border: 1px solid var(--kit-line, #252a34);
|
|
379
|
+
text-decoration: none;
|
|
380
|
+
color: inherit;
|
|
381
|
+
overflow: hidden;
|
|
382
|
+
transition: border-color 0.15s;
|
|
383
|
+
}
|
|
384
|
+
.kit-article:hover { border-color: var(--kit-accent, #FDB215); }
|
|
385
|
+
.kit-article .thumb {
|
|
386
|
+
aspect-ratio: 16 / 9;
|
|
387
|
+
background: var(--kit-surface-2, #1b1f27) center / cover;
|
|
388
|
+
position: relative;
|
|
389
|
+
}
|
|
390
|
+
.kit-article .src {
|
|
391
|
+
position: absolute;
|
|
392
|
+
top: 8px;
|
|
393
|
+
left: 8px;
|
|
394
|
+
background: var(--kit-accent, #FDB215);
|
|
395
|
+
color: var(--kit-accent-ink, #13161C);
|
|
396
|
+
font-size: 0.62rem;
|
|
397
|
+
font-weight: 700;
|
|
398
|
+
letter-spacing: 0.05em;
|
|
399
|
+
text-transform: uppercase;
|
|
400
|
+
padding: 3px 8px;
|
|
401
|
+
}
|
|
402
|
+
.kit-article .src.ext {
|
|
403
|
+
background: var(--kit-surface, #14171d);
|
|
404
|
+
color: var(--kit-muted, #8b92a0);
|
|
405
|
+
border: 1px solid var(--kit-line, #252a34);
|
|
406
|
+
}
|
|
407
|
+
.kit-article .a-body {
|
|
408
|
+
padding: 12px 14px;
|
|
409
|
+
flex: 1;
|
|
410
|
+
display: flex;
|
|
411
|
+
flex-direction: column;
|
|
412
|
+
gap: 6px;
|
|
413
|
+
}
|
|
414
|
+
.kit-article h4 {
|
|
415
|
+
font-size: 0.88rem;
|
|
416
|
+
font-weight: 600;
|
|
417
|
+
color: var(--kit-text, #f4f6fa);
|
|
418
|
+
margin: 0;
|
|
419
|
+
line-height: 1.4;
|
|
420
|
+
}
|
|
421
|
+
.kit-article .meta {
|
|
422
|
+
font-size: 0.75rem;
|
|
423
|
+
color: var(--kit-muted, #8b92a0);
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
/* Coverage / Creators */
|
|
427
|
+
.kit-creators {
|
|
428
|
+
display: grid;
|
|
429
|
+
grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
|
|
430
|
+
gap: 12px;
|
|
431
|
+
}
|
|
432
|
+
.kit-creator {
|
|
433
|
+
display: flex;
|
|
434
|
+
flex-direction: column;
|
|
435
|
+
align-items: center;
|
|
436
|
+
text-align: center;
|
|
437
|
+
gap: 8px;
|
|
438
|
+
padding: 20px 14px;
|
|
439
|
+
background: var(--kit-surface, #14171d);
|
|
440
|
+
border: 1px solid var(--kit-line, #252a34);
|
|
441
|
+
text-decoration: none;
|
|
442
|
+
color: inherit;
|
|
443
|
+
transition: border-color 0.15s;
|
|
444
|
+
}
|
|
445
|
+
.kit-creator:hover { border-color: var(--kit-accent, #FDB215); }
|
|
446
|
+
.kit-creator .av {
|
|
447
|
+
width: 52px;
|
|
448
|
+
height: 52px;
|
|
449
|
+
background: var(--kit-surface-2, #1b1f27) center / cover;
|
|
450
|
+
border: 2px solid var(--kit-accent, #FDB215);
|
|
451
|
+
}
|
|
452
|
+
.kit-creator .cn {
|
|
453
|
+
font-size: 0.88rem;
|
|
454
|
+
font-weight: 600;
|
|
455
|
+
color: var(--kit-text, #f4f6fa);
|
|
456
|
+
}
|
|
457
|
+
.kit-creator .cp {
|
|
458
|
+
font-size: 0.75rem;
|
|
459
|
+
color: var(--kit-muted, #8b92a0);
|
|
460
|
+
}
|
|
461
|
+
.kit-creator .cv {
|
|
462
|
+
font-size: 0.68rem;
|
|
463
|
+
font-weight: 700;
|
|
464
|
+
text-transform: uppercase;
|
|
465
|
+
letter-spacing: 1px;
|
|
466
|
+
color: var(--kit-muted, #8b92a0);
|
|
467
|
+
border: 1px solid var(--kit-line, #252a34);
|
|
468
|
+
padding: 2px 8px;
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
/* Team / credits */
|
|
472
|
+
.kit-team {
|
|
473
|
+
display: grid;
|
|
474
|
+
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
|
|
475
|
+
gap: 10px;
|
|
476
|
+
}
|
|
477
|
+
.kit-member {
|
|
478
|
+
display: flex;
|
|
479
|
+
flex-direction: column;
|
|
480
|
+
gap: 2px;
|
|
481
|
+
padding: 12px 14px;
|
|
482
|
+
background: var(--kit-surface, #14171d);
|
|
483
|
+
border: 1px solid var(--kit-line, #252a34);
|
|
484
|
+
}
|
|
485
|
+
.kit-member span:first-child {
|
|
486
|
+
font-size: 0.9rem;
|
|
487
|
+
font-weight: 600;
|
|
488
|
+
color: var(--kit-text, #f4f6fa);
|
|
489
|
+
}
|
|
490
|
+
.kit-member .role {
|
|
491
|
+
font-size: 0.78rem;
|
|
492
|
+
color: var(--kit-muted, #8b92a0);
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
/* Ecosystem */
|
|
496
|
+
.kit-eco {
|
|
497
|
+
display: grid;
|
|
498
|
+
grid-template-columns: 1fr 1fr;
|
|
499
|
+
gap: 14px;
|
|
500
|
+
}
|
|
501
|
+
.kit-eco-card {
|
|
502
|
+
background: var(--kit-surface, #14171d);
|
|
503
|
+
border: 1px solid var(--kit-line, #252a34);
|
|
504
|
+
padding: 20px;
|
|
505
|
+
display: flex;
|
|
506
|
+
flex-direction: column;
|
|
507
|
+
gap: 10px;
|
|
508
|
+
text-decoration: none;
|
|
509
|
+
color: inherit;
|
|
510
|
+
transition: border-color 0.15s;
|
|
511
|
+
}
|
|
512
|
+
.kit-eco-card:hover { border-color: var(--kit-accent, #FDB215); }
|
|
513
|
+
.kit-eco-card.full { grid-column: 1 / -1; }
|
|
514
|
+
.kit-eco-h {
|
|
515
|
+
display: flex;
|
|
516
|
+
align-items: center;
|
|
517
|
+
gap: 8px;
|
|
518
|
+
font-size: 0.7rem;
|
|
519
|
+
text-transform: uppercase;
|
|
520
|
+
letter-spacing: var(--kit-head-ls, 3px);
|
|
521
|
+
font-weight: 700;
|
|
522
|
+
color: var(--kit-muted, #8b92a0);
|
|
523
|
+
}
|
|
524
|
+
.kit-eco-h .ic { color: var(--kit-accent, #FDB215); }
|
|
525
|
+
.kit-sbadges { display: flex; flex-wrap: wrap; gap: 8px; }
|
|
526
|
+
.kit-sbadge {
|
|
527
|
+
display: inline-flex;
|
|
528
|
+
align-items: center;
|
|
529
|
+
gap: 6px;
|
|
530
|
+
padding: 5px 12px;
|
|
531
|
+
background: var(--kit-surface-2, #1b1f27);
|
|
532
|
+
border: 1px solid var(--kit-line, #252a34);
|
|
533
|
+
font-size: 0.8rem;
|
|
534
|
+
color: var(--kit-muted, #8b92a0);
|
|
535
|
+
}
|
|
536
|
+
.kit-sbadge.feat {
|
|
537
|
+
border-color: var(--kit-accent, #FDB215);
|
|
538
|
+
color: var(--kit-text, #f4f6fa);
|
|
539
|
+
}
|
|
540
|
+
.kit-sbadge .medal { font-size: 1rem; }
|
|
541
|
+
.kit-vrow {
|
|
542
|
+
display: flex;
|
|
543
|
+
align-items: center;
|
|
544
|
+
gap: 10px;
|
|
545
|
+
text-decoration: none;
|
|
546
|
+
}
|
|
547
|
+
.kit-vrow .vlogo {
|
|
548
|
+
font-size: 0.65rem;
|
|
549
|
+
font-weight: 800;
|
|
550
|
+
letter-spacing: 2px;
|
|
551
|
+
color: var(--kit-accent, #FDB215);
|
|
552
|
+
border: 1px solid var(--kit-accent, #FDB215);
|
|
553
|
+
padding: 4px 8px;
|
|
554
|
+
}
|
|
555
|
+
.kit-vrow .vtxt {
|
|
556
|
+
font-size: 0.82rem;
|
|
557
|
+
color: var(--kit-muted, #8b92a0);
|
|
558
|
+
flex: 1;
|
|
559
|
+
}
|
|
560
|
+
.kit-mag-row {
|
|
561
|
+
display: flex;
|
|
562
|
+
align-items: center;
|
|
563
|
+
gap: 14px;
|
|
564
|
+
}
|
|
565
|
+
.mcover {
|
|
566
|
+
width: 44px;
|
|
567
|
+
aspect-ratio: 3 / 4;
|
|
568
|
+
background: var(--kit-surface-2, #1b1f27) center / cover;
|
|
569
|
+
border: 1px solid var(--kit-line, #252a34);
|
|
570
|
+
flex-shrink: 0;
|
|
571
|
+
}
|
|
572
|
+
.mtitle {
|
|
573
|
+
font-size: 0.88rem;
|
|
574
|
+
font-weight: 600;
|
|
575
|
+
color: var(--kit-text, #f4f6fa);
|
|
576
|
+
}
|
|
577
|
+
.mmeta {
|
|
578
|
+
font-size: 0.75rem;
|
|
579
|
+
color: var(--kit-muted, #8b92a0);
|
|
580
|
+
margin-top: 2px;
|
|
581
|
+
}
|
|
582
|
+
.kit-ccta {
|
|
583
|
+
display: flex;
|
|
584
|
+
align-items: center;
|
|
585
|
+
justify-content: space-between;
|
|
586
|
+
gap: 20px;
|
|
587
|
+
flex-wrap: wrap;
|
|
588
|
+
}
|
|
589
|
+
.ctitle {
|
|
590
|
+
font-size: 0.95rem;
|
|
591
|
+
font-weight: 600;
|
|
592
|
+
color: var(--kit-text, #f4f6fa);
|
|
593
|
+
}
|
|
594
|
+
.cmeta {
|
|
595
|
+
font-size: 0.78rem;
|
|
596
|
+
color: var(--kit-muted, #8b92a0);
|
|
597
|
+
margin-top: 2px;
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
/* CTA block */
|
|
601
|
+
.kit-cta {
|
|
602
|
+
background: var(--kit-surface, #14171d);
|
|
603
|
+
border: 1px solid var(--kit-line, #252a34);
|
|
604
|
+
border-left: 3px solid var(--kit-accent, #FDB215);
|
|
605
|
+
padding: 28px;
|
|
606
|
+
display: flex;
|
|
607
|
+
flex-direction: column;
|
|
608
|
+
gap: 12px;
|
|
609
|
+
}
|
|
610
|
+
.kit-cta h2 {
|
|
611
|
+
font-size: 1.1rem;
|
|
612
|
+
font-weight: 700;
|
|
613
|
+
color: var(--kit-text, #f4f6fa);
|
|
614
|
+
margin: 0;
|
|
615
|
+
text-transform: none;
|
|
616
|
+
letter-spacing: 0;
|
|
617
|
+
border: none;
|
|
618
|
+
padding: 0;
|
|
619
|
+
}
|
|
620
|
+
.kit-cta p {
|
|
621
|
+
font-size: 0.9rem;
|
|
622
|
+
color: var(--kit-muted, #8b92a0);
|
|
623
|
+
margin: 0;
|
|
624
|
+
line-height: 1.6;
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
/* Footer */
|
|
628
|
+
.kit-madewith {
|
|
629
|
+
font-size: 0.75rem;
|
|
630
|
+
color: var(--kit-muted, #8b92a0);
|
|
631
|
+
margin: 0;
|
|
632
|
+
padding-top: 24px;
|
|
633
|
+
border-top: 1px solid var(--kit-line, #252a34);
|
|
634
|
+
}
|
|
635
|
+
.kit-madewith a {
|
|
636
|
+
color: var(--kit-muted, #8b92a0);
|
|
637
|
+
text-decoration: none;
|
|
638
|
+
border-bottom: 1px solid var(--kit-line, #252a34);
|
|
639
|
+
}
|
|
640
|
+
.kit-madewith a:hover {
|
|
641
|
+
color: var(--kit-accent, #FDB215);
|
|
642
|
+
border-color: var(--kit-accent, #FDB215);
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
/* ── Responsive ─────────────────────────────────────────────────────*/
|
|
646
|
+
@media (max-width: 900px) {
|
|
647
|
+
.kit-layout {
|
|
648
|
+
grid-template-columns: 1fr;
|
|
649
|
+
}
|
|
650
|
+
.kit-sidebar { position: static; }
|
|
651
|
+
.kit-cover { min-height: 360px; }
|
|
652
|
+
.kit-cover-inner { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px 16px; }
|
|
653
|
+
.kit-cover-poster { display: none; }
|
|
654
|
+
.kit-cover-text h1 { font-size: 1.8rem; }
|
|
655
|
+
.kit-eco { grid-template-columns: 1fr; }
|
|
656
|
+
}
|
|
657
|
+
@media (max-width: 600px) {
|
|
658
|
+
.kit-wrap { padding: 24px 16px 40px; }
|
|
659
|
+
.kit-features { grid-template-columns: 1fr; }
|
|
660
|
+
.kit-actions { flex-direction: column; }
|
|
661
|
+
}
|
package/assets/kit/kit-theme.css
CHANGED
|
@@ -28,14 +28,63 @@
|
|
|
28
28
|
|
|
29
29
|
/* ── Layout templates (the `layout` field) ──
|
|
30
30
|
Applied by the kit pages on the root element; the page provides the
|
|
31
|
-
.kit-layout / .kit-sidebar / .kit-main / .kit-factsheet structure.
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
.kit-layout / .kit-sidebar / .kit-main / .kit-factsheet structure.
|
|
32
|
+
|
|
33
|
+
classic — default: sidebar left 280px + main right (no overrides needed)
|
|
34
|
+
compact — sidebar flips to the right; shorter hero
|
|
35
|
+
showcase — cinematic full-height hero; sidebar becomes a horizontal
|
|
36
|
+
stats band above main content; single-column reading view */
|
|
37
|
+
|
|
38
|
+
/* ── Compact ────────────────────────────────────────────────────────*/
|
|
39
|
+
[data-layout="compact"] .kit-cover { min-height: 340px; }
|
|
40
|
+
[data-layout="compact"] .kit-layout { grid-template-columns: 1fr 260px; }
|
|
34
41
|
[data-layout="compact"] .kit-sidebar { order: 2; }
|
|
35
|
-
[data-layout="compact"] .kit-main
|
|
42
|
+
[data-layout="compact"] .kit-main { order: 1; }
|
|
43
|
+
|
|
44
|
+
/* ── Showcase ───────────────────────────────────────────────────────*/
|
|
45
|
+
/* Taller, immersive cover */
|
|
46
|
+
[data-layout="showcase"] .kit-cover { min-height: 80vh; align-items: center; }
|
|
47
|
+
[data-layout="showcase"] .kit-cover-inner {
|
|
48
|
+
flex-direction: column;
|
|
49
|
+
align-items: center;
|
|
50
|
+
text-align: center;
|
|
51
|
+
padding: 64px 24px;
|
|
52
|
+
}
|
|
53
|
+
[data-layout="showcase"] .kit-cover-text h1 { font-size: 3.4rem; }
|
|
54
|
+
[data-layout="showcase"] .kit-cover-logo-img { margin: 0 auto 12px; }
|
|
55
|
+
[data-layout="showcase"] .kit-actions { justify-content: center; }
|
|
36
56
|
|
|
57
|
+
/* Single-column layout: sidebar becomes a horizontal fact band */
|
|
37
58
|
[data-layout="showcase"] .kit-layout { display: block; }
|
|
38
|
-
[data-layout="showcase"] .kit-sidebar {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
59
|
+
[data-layout="showcase"] .kit-sidebar {
|
|
60
|
+
position: static;
|
|
61
|
+
margin-bottom: 48px;
|
|
62
|
+
}
|
|
63
|
+
[data-layout="showcase"] .kit-factsheet {
|
|
64
|
+
display: grid;
|
|
65
|
+
grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
|
|
66
|
+
gap: 0;
|
|
67
|
+
border: 1px solid var(--kit-line, #252a34);
|
|
68
|
+
}
|
|
69
|
+
[data-layout="showcase"] .kit-fact-title {
|
|
70
|
+
grid-column: 1 / -1;
|
|
71
|
+
border-bottom: 1px solid var(--kit-line, #252a34);
|
|
72
|
+
padding-bottom: 12px;
|
|
73
|
+
margin-bottom: 0;
|
|
74
|
+
}
|
|
75
|
+
[data-layout="showcase"] .kit-fact {
|
|
76
|
+
border-bottom: none;
|
|
77
|
+
border-right: 1px solid var(--kit-line, #252a34);
|
|
78
|
+
padding: 14px 16px;
|
|
79
|
+
}
|
|
80
|
+
[data-layout="showcase"] .kit-fact:last-child { border-right: none; }
|
|
81
|
+
[data-layout="showcase"] .kit-socials { justify-content: flex-start; }
|
|
82
|
+
|
|
83
|
+
/* Narrow the reading column for better typography */
|
|
84
|
+
[data-layout="showcase"] .kit-main {
|
|
85
|
+
max-width: 860px;
|
|
86
|
+
margin: 0 auto;
|
|
87
|
+
}
|
|
88
|
+
[data-layout="showcase"] .kit-wrap {
|
|
89
|
+
max-width: var(--kit-maxw, 1180px);
|
|
90
|
+
}
|