css-pkg-01 1.2.0 → 1.3.0

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.
@@ -0,0 +1,583 @@
1
+ :root {
2
+ --bg: #150715;
3
+ --surface: #291033;
4
+ --surface-light: #3d1b4d;
5
+ --accent: #f5c542;
6
+ --accent-dim: rgba(245, 197, 66, 0.2);
7
+ --accent2: #e040fb;
8
+ --text: #fdf4ff;
9
+ --muted: #b595b8;
10
+ --font-display: 'Orbitron', sans-serif;
11
+ --font-body: 'Exo 2', sans-serif;
12
+ --container-width: 1200px;
13
+ --content-width: 800px;
14
+ }
15
+
16
+ * {
17
+ margin: 0;
18
+ padding: 0;
19
+ box-sizing: border-box;
20
+ }
21
+
22
+ body {
23
+ font-family: var(--font-body);
24
+ background-color: var(--bg);
25
+ color: var(--text);
26
+ line-height: 1.6;
27
+ -webkit-font-smoothing: antialiased;
28
+ overflow-x: hidden;
29
+ }
30
+
31
+ .container {
32
+ max-width: var(--container-width);
33
+ margin: 0 auto;
34
+ padding: 0 20px;
35
+ }
36
+
37
+ a {
38
+ color: var(--accent);
39
+ text-decoration: none;
40
+ transition: all 0.3s ease;
41
+ }
42
+
43
+ a:hover {
44
+ color: var(--accent2);
45
+ }
46
+
47
+ /* --- HEADER STYLES --- */
48
+ header {
49
+ background-color: rgba(21, 7, 21, 0.95);
50
+ border-bottom: 1px solid var(--surface-light);
51
+ position: sticky;
52
+ top: 0;
53
+ z-index: 100;
54
+ backdrop-filter: blur(10px);
55
+ }
56
+
57
+ .nav-container {
58
+ display: flex;
59
+ justify-content: space-between;
60
+ align-items: center;
61
+ height: 70px;
62
+ }
63
+
64
+ .logo {
65
+ font-family: var(--font-display);
66
+ font-size: 1.5rem;
67
+ font-weight: 700;
68
+ color: var(--text);
69
+ letter-spacing: 1px;
70
+ }
71
+
72
+ .logo span {
73
+ color: var(--accent);
74
+ }
75
+
76
+ .nav-links {
77
+ display: flex;
78
+ list-style: none;
79
+ gap: 20px;
80
+ }
81
+
82
+ .nav-links li a {
83
+ color: var(--text);
84
+ font-size: 0.95rem;
85
+ font-weight: 500;
86
+ text-transform: uppercase;
87
+ letter-spacing: 0.5px;
88
+ padding: 5px 0;
89
+ }
90
+
91
+ .nav-links li a:hover {
92
+ color: var(--accent);
93
+ }
94
+
95
+ .mobile-toggle {
96
+ display: none;
97
+ background: none;
98
+ border: none;
99
+ color: var(--accent);
100
+ font-size: 1.8rem;
101
+ cursor: pointer;
102
+ padding: 5px;
103
+ }
104
+
105
+ /* --- HERO BANNER --- */
106
+ .hero {
107
+ background: linear-gradient(135deg, var(--bg) 0%, var(--surface) 100%);
108
+ border-bottom: 2px solid var(--accent);
109
+ padding: 60px 0 40px;
110
+ text-align: center;
111
+ position: relative;
112
+ }
113
+
114
+ .hero::before {
115
+ content: '';
116
+ position: absolute;
117
+ top: 0; left: 0; right: 0; bottom: 0;
118
+ background-image: radial-gradient(circle at center, var(--accent-dim) 0%, transparent 70%);
119
+ pointer-events: none;
120
+ }
121
+
122
+ .hero-content {
123
+ position: relative;
124
+ z-index: 1;
125
+ max-width: var(--content-width);
126
+ }
127
+
128
+ .breadcrumb {
129
+ font-size: 0.85rem;
130
+ color: var(--muted);
131
+ margin-bottom: 20px;
132
+ font-family: var(--font-display);
133
+ text-transform: uppercase;
134
+ letter-spacing: 1px;
135
+ }
136
+
137
+ .breadcrumb a {
138
+ color: var(--accent);
139
+ }
140
+
141
+ .hero h1 {
142
+ font-family: var(--font-display);
143
+ font-size: 2.2rem;
144
+ color: var(--text);
145
+ margin-bottom: 25px;
146
+ line-height: 1.3;
147
+ text-shadow: 0 2px 10px rgba(0,0,0,0.5);
148
+ }
149
+
150
+ .meta-chips {
151
+ display: flex;
152
+ justify-content: center;
153
+ gap: 15px;
154
+ flex-wrap: wrap;
155
+ }
156
+
157
+ .chip {
158
+ background-color: var(--surface-light);
159
+ color: var(--accent);
160
+ padding: 6px 16px;
161
+ border-radius: 20px;
162
+ font-size: 0.85rem;
163
+ font-weight: 600;
164
+ border: 1px solid var(--accent-dim);
165
+ display: inline-flex;
166
+ align-items: center;
167
+ }
168
+
169
+ /* --- MAIN CONTENT --- */
170
+ .article-container {
171
+ max-width: var(--content-width);
172
+ padding: 50px 20px;
173
+ }
174
+
175
+ .intro-block {
176
+ background: linear-gradient(to right, var(--surface), var(--bg));
177
+ border-left: 4px solid var(--accent);
178
+ padding: 25px 30px;
179
+ margin-bottom: 40px;
180
+ border-radius: 0 8px 8px 0;
181
+ box-shadow: 0 10px 20px rgba(0,0,0,0.3);
182
+ }
183
+
184
+ .intro-block p {
185
+ font-size: 1.1rem;
186
+ color: var(--text);
187
+ margin: 0;
188
+ font-style: italic;
189
+ line-height: 1.8;
190
+ }
191
+
192
+ article h2 {
193
+ font-family: var(--font-display);
194
+ color: var(--accent);
195
+ font-size: 1.6rem;
196
+ margin: 40px 0 20px;
197
+ padding-bottom: 10px;
198
+ border-bottom: 1px solid var(--surface-light);
199
+ position: relative;
200
+ }
201
+
202
+ article h2::after {
203
+ content: '';
204
+ position: absolute;
205
+ bottom: -1px;
206
+ left: 0;
207
+ width: 50px;
208
+ height: 1px;
209
+ background-color: var(--accent2);
210
+ box-shadow: 0 0 10px var(--accent2);
211
+ }
212
+
213
+ article p {
214
+ margin-bottom: 20px;
215
+ font-size: 1.05rem;
216
+ color: #e8d5eb;
217
+ text-align: justify;
218
+ }
219
+
220
+ article a:not(.related-link):not(.btn) {
221
+ border-bottom: 1px dashed var(--accent);
222
+ font-weight: 500;
223
+ }
224
+
225
+ article a:not(.related-link):not(.btn):hover {
226
+ border-bottom-style: solid;
227
+ color: var(--accent2);
228
+ border-color: var(--accent2);
229
+ }
230
+
231
+ .custom-list {
232
+ list-style: none;
233
+ margin: 20px 0 30px 20px;
234
+ }
235
+
236
+ .custom-list li {
237
+ position: relative;
238
+ padding-left: 30px;
239
+ margin-bottom: 15px;
240
+ font-size: 1.05rem;
241
+ color: #e8d5eb;
242
+ }
243
+
244
+ .custom-list li::before {
245
+ content: '✦';
246
+ position: absolute;
247
+ left: 0;
248
+ top: 2px;
249
+ color: var(--accent);
250
+ font-size: 1.2rem;
251
+ }
252
+
253
+ /* --- FAQ SECTION --- */
254
+ .faq-wrapper {
255
+ margin-top: 50px;
256
+ }
257
+
258
+ details {
259
+ background-color: var(--surface);
260
+ border: 1px solid var(--surface-light);
261
+ border-radius: 8px;
262
+ margin-bottom: 15px;
263
+ overflow: hidden;
264
+ transition: all 0.3s ease;
265
+ }
266
+
267
+ details:hover {
268
+ border-color: var(--accent-dim);
269
+ box-shadow: 0 4px 15px rgba(0,0,0,0.2);
270
+ }
271
+
272
+ summary {
273
+ padding: 18px 20px;
274
+ font-family: var(--font-display);
275
+ font-weight: 500;
276
+ color: var(--text);
277
+ cursor: pointer;
278
+ list-style: none;
279
+ position: relative;
280
+ padding-right: 40px;
281
+ font-size: 1.05rem;
282
+ background: linear-gradient(90deg, var(--surface) 0%, rgba(41, 16, 51, 0.8) 100%);
283
+ }
284
+
285
+ summary::-webkit-details-marker {
286
+ display: none;
287
+ }
288
+
289
+ summary::after {
290
+ content: '+';
291
+ position: absolute;
292
+ right: 20px;
293
+ top: 50%;
294
+ transform: translateY(-50%);
295
+ color: var(--accent);
296
+ font-size: 1.5rem;
297
+ font-weight: 300;
298
+ transition: transform 0.3s ease;
299
+ }
300
+
301
+ details[open] summary::after {
302
+ transform: translateY(-50%) rotate(45deg);
303
+ color: var(--accent2);
304
+ }
305
+
306
+ details[open] summary {
307
+ border-bottom: 1px solid var(--surface-light);
308
+ color: var(--accent);
309
+ }
310
+
311
+ details p {
312
+ padding: 20px;
313
+ margin: 0;
314
+ background-color: rgba(21, 7, 21, 0.5);
315
+ }
316
+
317
+ /* --- RELATED LINKS --- */
318
+ .related-card {
319
+ background-color: var(--surface);
320
+ border-radius: 12px;
321
+ padding: 30px;
322
+ margin: 50px 0;
323
+ border: 1px solid var(--surface-light);
324
+ position: relative;
325
+ overflow: hidden;
326
+ }
327
+
328
+ .related-card::before {
329
+ content: '';
330
+ position: absolute;
331
+ top: 0; left: 0; width: 4px; height: 100%;
332
+ background: linear-gradient(to bottom, var(--accent), var(--accent2));
333
+ }
334
+
335
+ .related-card h3 {
336
+ font-family: var(--font-display);
337
+ color: var(--text);
338
+ margin-bottom: 20px;
339
+ font-size: 1.3rem;
340
+ }
341
+
342
+ .related-grid {
343
+ display: grid;
344
+ grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
345
+ gap: 15px;
346
+ }
347
+
348
+ .related-link {
349
+ display: block;
350
+ background-color: var(--bg);
351
+ padding: 15px 20px;
352
+ border-radius: 6px;
353
+ color: var(--muted);
354
+ text-align: center;
355
+ font-weight: 500;
356
+ border: 1px solid var(--surface-light);
357
+ text-transform: capitalize;
358
+ }
359
+
360
+ .related-link:hover {
361
+ background-color: var(--surface-light);
362
+ color: var(--accent);
363
+ border-color: var(--accent);
364
+ transform: translateY(-2px);
365
+ }
366
+
367
+ /* --- CTA SECTION --- */
368
+ .cta-section {
369
+ margin: 40px auto 60px;
370
+ max-width: var(--content-width);
371
+ }
372
+
373
+ .cta-box {
374
+ background: linear-gradient(145deg, var(--surface) 0%, #1e0b26 100%);
375
+ border: 1px solid var(--accent-dim);
376
+ border-radius: 16px;
377
+ padding: 50px 30px;
378
+ text-align: center;
379
+ box-shadow: 0 15px 35px rgba(0,0,0,0.4);
380
+ position: relative;
381
+ overflow: hidden;
382
+ }
383
+
384
+ .cta-box::after {
385
+ content: '♕';
386
+ position: absolute;
387
+ top: -20px;
388
+ right: -20px;
389
+ font-size: 120px;
390
+ color: rgba(245, 197, 66, 0.05);
391
+ line-height: 1;
392
+ pointer-events: none;
393
+ }
394
+
395
+ .cta-box h3 {
396
+ font-family: var(--font-display);
397
+ color: var(--accent);
398
+ font-size: 1.8rem;
399
+ margin-bottom: 15px;
400
+ }
401
+
402
+ .cta-box p {
403
+ color: var(--text);
404
+ margin-bottom: 30px;
405
+ font-size: 1.1rem;
406
+ max-width: 600px;
407
+ margin-left: auto;
408
+ margin-right: auto;
409
+ text-align: center;
410
+ }
411
+
412
+ .cta-actions {
413
+ display: flex;
414
+ justify-content: center;
415
+ gap: 20px;
416
+ flex-wrap: wrap;
417
+ }
418
+
419
+ .btn {
420
+ display: inline-block;
421
+ padding: 12px 30px;
422
+ border-radius: 30px;
423
+ font-family: var(--font-display);
424
+ font-weight: 600;
425
+ text-transform: uppercase;
426
+ letter-spacing: 1px;
427
+ font-size: 0.95rem;
428
+ min-width: 160px;
429
+ text-align: center;
430
+ }
431
+
432
+ .btn-primary {
433
+ background-color: var(--accent);
434
+ color: var(--bg);
435
+ border: 2px solid var(--accent);
436
+ box-shadow: 0 4px 15px rgba(245, 197, 66, 0.3);
437
+ }
438
+
439
+ .btn-primary:hover {
440
+ background-color: transparent;
441
+ color: var(--accent);
442
+ }
443
+
444
+ .btn-secondary {
445
+ background-color: transparent;
446
+ color: var(--accent2);
447
+ border: 2px solid var(--accent2);
448
+ }
449
+
450
+ .btn-secondary:hover {
451
+ background-color: var(--accent2);
452
+ color: var(--text);
453
+ box-shadow: 0 4px 15px rgba(224, 64, 251, 0.3);
454
+ }
455
+
456
+ /* --- FOOTER STYLES --- */
457
+ footer {
458
+ background-color: #0d040d;
459
+ border-top: 1px solid var(--surface);
460
+ padding: 60px 0 30px;
461
+ text-align: center;
462
+ }
463
+
464
+ .footer-logo {
465
+ font-family: var(--font-display);
466
+ font-size: 2rem;
467
+ font-weight: 700;
468
+ color: var(--text);
469
+ margin-bottom: 15px;
470
+ }
471
+
472
+ .footer-tagline {
473
+ color: var(--muted);
474
+ font-style: italic;
475
+ margin-bottom: 30px;
476
+ font-size: 1rem;
477
+ max-width: 600px;
478
+ margin-left: auto;
479
+ margin-right: auto;
480
+ }
481
+
482
+ .footer-links {
483
+ display: flex;
484
+ justify-content: center;
485
+ flex-wrap: wrap;
486
+ gap: 15px 25px;
487
+ list-style: none;
488
+ margin-bottom: 40px;
489
+ max-width: 800px;
490
+ margin-left: auto;
491
+ margin-right: auto;
492
+ }
493
+
494
+ .footer-links li a {
495
+ color: var(--text);
496
+ font-size: 0.9rem;
497
+ }
498
+
499
+ .footer-links li a:hover {
500
+ color: var(--accent);
501
+ }
502
+
503
+ .copyright {
504
+ color: var(--surface-light);
505
+ font-size: 0.85rem;
506
+ border-top: 1px solid rgba(255,255,255,0.05);
507
+ padding-top: 20px;
508
+ max-width: 800px;
509
+ margin: 0 auto;
510
+ }
511
+
512
+ /* --- RESPONSIVE DESIGN --- */
513
+ @media (max-width: 1024px) {
514
+ .hero h1 { font-size: 2rem; }
515
+ }
516
+
517
+ @media (max-width: 768px) {
518
+ .nav-links {
519
+ display: none;
520
+ position: absolute;
521
+ top: 70px;
522
+ left: 0;
523
+ width: 100%;
524
+ background-color: var(--surface);
525
+ flex-direction: column;
526
+ padding: 20px 0;
527
+ border-bottom: 1px solid var(--accent);
528
+ box-shadow: 0 10px 20px rgba(0,0,0,0.5);
529
+ }
530
+
531
+ .nav-links.active {
532
+ display: flex;
533
+ }
534
+
535
+ .nav-links li {
536
+ text-align: center;
537
+ padding: 10px 0;
538
+ }
539
+
540
+ .mobile-toggle {
541
+ display: block;
542
+ }
543
+
544
+ .hero { padding: 40px 0 30px; }
545
+ .hero h1 { font-size: 1.6rem; }
546
+
547
+ .article-container { padding: 30px 15px; }
548
+
549
+ .intro-block {
550
+ padding: 20px;
551
+ border-radius: 8px;
552
+ border-left: none;
553
+ border-top: 4px solid var(--accent);
554
+ }
555
+
556
+ article h2 { font-size: 1.3rem; }
557
+ article p { font-size: 1rem; }
558
+
559
+ .cta-box { padding: 30px 20px; }
560
+ .cta-actions { flex-direction: column; }
561
+ .btn { width: 100%; }
562
+ }
563
+
564
+ @media (max-width: 390px) {
565
+ .hero h1 { font-size: 1.4rem; }
566
+ .breadcrumb { font-size: 0.75rem; }
567
+ .chip { font-size: 0.75rem; padding: 5px 12px; }
568
+ article h2 { font-size: 1.2rem; }
569
+ .related-grid { grid-template-columns: 1fr; }
570
+ .footer-links { gap: 10px 15px; }
571
+ }
572
+
573
+
574
+ /* pipeline image & layout guards */
575
+ html, body { overflow-x: clip; }
576
+ img { max-width: 100%; height: auto; }
577
+ img.site-logo { height: 40px; width: auto; max-width: 240px; object-fit: contain; flex: none; }
578
+ header .logo a { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
579
+ img.hero-visual { width: 100%; max-width: 560px; height: auto; object-fit: cover; border-radius: 16px; display: block; margin-inline: auto; }
580
+ img[class^="strip-"], img[class*=" strip-"] { width: 100%; height: auto; display: block; border-radius: 12px; object-fit: cover; }
581
+ /* 合规声明块(zb-disclaimer,全站 footer) */
582
+ .zb-disclaimer { margin-top: 18px; padding-top: 14px; border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent); font-size: .72rem; line-height: 1.65; opacity: .8; display: grid; gap: 6px; }
583
+ .zb-disclaimer .zb-18 { justify-self: start; display: inline-flex; align-items: center; padding: 2px 10px; border: 1.5px solid currentColor; border-radius: 8px; font-weight: 800; letter-spacing: 1px; }