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