@iasiv5/dsh-skills 1.0.0 → 1.0.2
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/locale/en.json +6 -0
- package/locale/zh.json +6 -0
- package/package.json +4 -2
- package/skills/answer-me-with-html/SKILL.md +4 -2
- package/skills/answer-me-with-html/scripts/am.mjs +627 -192
- package/skills/guizang-ppt-skill/README.en.md +10 -8
- package/skills/guizang-ppt-skill/README.md +10 -8
- package/skills/guizang-ppt-skill/SKILL.md +20 -16
- package/skills/guizang-ppt-skill/assets/template-swiss.html +1068 -456
- package/skills/guizang-ppt-skill/assets/template.html +991 -225
- package/skills/guizang-ppt-skill/references/checklist.md +5 -4
- package/skills/guizang-ppt-skill/references/components.md +9 -5
- package/skills/guizang-ppt-skill/references/gz-components.md +289 -0
- package/skills/guizang-ppt-skill/references/layouts-swiss.md +17 -17
- package/skills/guizang-ppt-skill/references/layouts.md +1 -1
- package/skills/guizang-ppt-skill/references/themes-swiss.md +57 -86
- package/skills/guizang-ppt-skill/references/themes.md +65 -63
- package/skills/guizang-ppt-skill/scripts/gz-theme.mjs +434 -0
- package/skills/guizang-social-card-skill/HANDOFF.md +19 -1
- package/skills/guizang-social-card-skill/README.en.md +20 -7
- package/skills/guizang-social-card-skill/README.md +20 -7
- package/skills/guizang-social-card-skill/SKILL.md +7 -5
- package/skills/guizang-social-card-skill/assets/template-editorial-card.html +954 -126
- package/skills/guizang-social-card-skill/assets/template-swiss-card.html +588 -84
- package/skills/guizang-social-card-skill/package-lock.json +90 -1
- package/skills/guizang-social-card-skill/package.json +7 -4
- package/skills/guizang-social-card-skill/references/background-systems.md +7 -15
- package/skills/guizang-social-card-skill/references/components.md +16 -10
- package/skills/guizang-social-card-skill/references/gz-components.md +289 -0
- package/skills/guizang-social-card-skill/references/layout-recipes.md +1 -1
- package/skills/guizang-social-card-skill/references/production-workflow.md +10 -12
- package/skills/guizang-social-card-skill/references/style-system.md +1 -1
- package/skills/guizang-social-card-skill/references/theme-presets.md +59 -111
- package/skills/guizang-social-card-skill/scripts/gz-fonts.mjs +654 -0
- package/skills/guizang-social-card-skill/scripts/gz-theme.mjs +434 -0
- package/skills/guizang-social-card-skill/scripts/render.mjs +92 -0
- package/skills/guizang-social-card-skill/validate-social-deck.mjs +11 -6
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
<!doctype html>
|
|
2
|
-
<html lang="zh-CN" data-
|
|
2
|
+
<html lang="zh-CN" data-theme="ikb" data-family="swiss" data-medium="card">
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8">
|
|
5
5
|
<title>[必填] 替换为社交卡组标题 · Social Card Set</title>
|
|
6
6
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
<!-- GZ:FONTS:START · 字体由 guizang-design 字体清单生成;需要把字体内置进 HTML 时用 gz-fonts.mjs embed(卡片 skill 的 render.mjs 会自动内置) -->
|
|
8
|
+
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
9
|
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
10
|
+
<link rel="stylesheet" data-gz-fonts="inter noto-sans-sc jetbrains-mono" href="https://fonts.googleapis.com/css2?family=Inter:wght@100..900&family=Noto+Sans+SC:wght@100..900&family=JetBrains+Mono:wght@100..800&display=swap">
|
|
11
|
+
<!-- GZ:FONTS:END -->
|
|
10
12
|
<script src="https://unpkg.com/lucide@latest/dist/umd/lucide.min.js"></script>
|
|
11
13
|
<style>
|
|
12
14
|
/* =========================================================
|
|
@@ -18,77 +20,568 @@
|
|
|
18
20
|
.poster.wide 2100× 900 (21:9 微信主封面)
|
|
19
21
|
.pair-preview 21:9 + 1:1 配对预览
|
|
20
22
|
|
|
21
|
-
Accent switching via <html data-
|
|
22
|
-
ikb (Klein Blue) | lemon
|
|
23
|
+
Accent switching via <html data-theme="…">:
|
|
24
|
+
ikb (Klein Blue) | lemon | lemon-green | safety-orange (old data-accent="lemon-yellow" still works)
|
|
23
25
|
|
|
24
26
|
Fill posters where marked <!-- POSTERS_HERE -->.
|
|
25
27
|
Each poster carries one Layout Recipe (S01-S12) from
|
|
26
28
|
references/layout-recipes.md.
|
|
27
29
|
========================================================= */
|
|
28
30
|
|
|
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
|
-
|
|
31
|
+
/* GZ:TOKENS:START · guizang-design v0.1.0 生成,不要手改;改设计请改 guizang-design 后运行 scripts/sync-skill.mjs */
|
|
32
|
+
:root{
|
|
33
|
+
--font-display:'Inter','Noto Sans SC','PingFang SC','Hiragino Sans GB','Microsoft YaHei',system-ui,sans-serif;
|
|
34
|
+
--font-sans:'Inter','Noto Sans SC','PingFang SC','Hiragino Sans GB','Microsoft YaHei',system-ui,sans-serif;
|
|
35
|
+
--font-mono:'JetBrains Mono','Noto Sans SC',ui-monospace,'SF Mono',Menlo,monospace;
|
|
36
|
+
--sp-1:2px;
|
|
37
|
+
--sp-2:4px;
|
|
38
|
+
--sp-3:8px;
|
|
39
|
+
--sp-4:12px;
|
|
40
|
+
--sp-5:16px;
|
|
41
|
+
--sp-6:24px;
|
|
42
|
+
--sp-7:32px;
|
|
43
|
+
--sp-8:40px;
|
|
44
|
+
--sp-9:48px;
|
|
45
|
+
--sp-10:64px;
|
|
46
|
+
--sp-11:80px;
|
|
47
|
+
--sp-12:96px;
|
|
48
|
+
--sp-13:160px;
|
|
49
|
+
--radius-none:0px;
|
|
50
|
+
--radius-xs:0px;
|
|
51
|
+
--radius-sm:4px;
|
|
52
|
+
--radius-md:10px;
|
|
53
|
+
--radius-pill:999px;
|
|
54
|
+
--ease-standard:cubic-bezier(.2,0,.38,.9);
|
|
55
|
+
--ease-expressive:cubic-bezier(.4,.14,.3,1);
|
|
56
|
+
--ease-entrance:cubic-bezier(0,0,.3,1);
|
|
57
|
+
--ease-entrance-standard:cubic-bezier(0,0,.38,.9);
|
|
58
|
+
--ease-editorial:cubic-bezier(.22,1,.36,1);
|
|
59
|
+
--ease-page:cubic-bezier(.77,0,.175,1);
|
|
60
|
+
--dur-fast-1:70ms;
|
|
61
|
+
--dur-fast-2:110ms;
|
|
62
|
+
--dur-moderate-1:150ms;
|
|
63
|
+
--dur-moderate-2:240ms;
|
|
64
|
+
--dur-slow-1:400ms;
|
|
65
|
+
--dur-slow-2:700ms;
|
|
66
|
+
--dur-page:900ms;
|
|
67
|
+
--stagger-tight:70ms;
|
|
68
|
+
--stagger-base:100ms;
|
|
69
|
+
--stagger-loose:160ms;
|
|
70
|
+
--move-sm:8px;
|
|
71
|
+
--move-md:16px;
|
|
72
|
+
--move-lg:24px;
|
|
73
|
+
--paper:#fafaf8;
|
|
74
|
+
--paper-2:#f0f0ee;
|
|
75
|
+
--ink:#0a0a0a;
|
|
76
|
+
--muted:#737373;
|
|
77
|
+
--grey-1:#f0f0ee;
|
|
78
|
+
--grey-2:#d4d4d2;
|
|
79
|
+
--grey-3:#737373;
|
|
80
|
+
--accent:#002FA7;
|
|
81
|
+
--accent-on:#ffffff;
|
|
82
|
+
--accent-ink:#002FA7;
|
|
83
|
+
--accent-bright:#5B7BFF;
|
|
84
|
+
--accent-deep:#001d6b;
|
|
85
|
+
--accent-display:#002FA7;
|
|
86
|
+
--accent-ink-inverse:#96b0ff;
|
|
87
|
+
--accent-soft:#d5deef;
|
|
88
|
+
--text-primary:#0a0a0a;
|
|
89
|
+
--text-body:#252524;
|
|
90
|
+
--text-secondary:#525252;
|
|
91
|
+
--text-helper:#737373;
|
|
92
|
+
--text-placeholder:#a3a3a3;
|
|
93
|
+
--text-on-color:#ffffff;
|
|
94
|
+
--line-strong:#a3a3a3;
|
|
95
|
+
--line:#d4d4d2;
|
|
96
|
+
--line-subtle:#e0e0e0;
|
|
97
|
+
--ink-rgb:10,10,10;
|
|
98
|
+
--paper-rgb:250,250,248;
|
|
99
|
+
--accent-rgb:0,47,167;
|
|
100
|
+
--accent-on-rgb:255,255,255;
|
|
101
|
+
--accent-on-text:#ffffff;
|
|
102
|
+
--accent-on-text-rgb:255,255,255;
|
|
103
|
+
color-scheme:light;
|
|
104
|
+
}
|
|
105
|
+
[data-theme="ikb"],[data-accent="ikb"]{
|
|
106
|
+
--paper:#fafaf8;
|
|
107
|
+
--paper-2:#f0f0ee;
|
|
108
|
+
--ink:#0a0a0a;
|
|
109
|
+
--muted:#737373;
|
|
110
|
+
--grey-1:#f0f0ee;
|
|
111
|
+
--grey-2:#d4d4d2;
|
|
112
|
+
--grey-3:#737373;
|
|
113
|
+
--accent:#002FA7;
|
|
114
|
+
--accent-on:#ffffff;
|
|
115
|
+
--accent-ink:#002FA7;
|
|
116
|
+
--accent-bright:#5B7BFF;
|
|
117
|
+
--accent-deep:#001d6b;
|
|
118
|
+
--accent-display:#002FA7;
|
|
119
|
+
--accent-ink-inverse:#96b0ff;
|
|
120
|
+
--accent-soft:#d5deef;
|
|
121
|
+
--text-primary:#0a0a0a;
|
|
122
|
+
--text-body:#252524;
|
|
123
|
+
--text-secondary:#525252;
|
|
124
|
+
--text-helper:#737373;
|
|
125
|
+
--text-placeholder:#a3a3a3;
|
|
126
|
+
--text-on-color:#ffffff;
|
|
127
|
+
--line-strong:#a3a3a3;
|
|
128
|
+
--line:#d4d4d2;
|
|
129
|
+
--line-subtle:#e0e0e0;
|
|
130
|
+
--ink-rgb:10,10,10;
|
|
131
|
+
--paper-rgb:250,250,248;
|
|
132
|
+
--accent-rgb:0,47,167;
|
|
133
|
+
--accent-on-rgb:255,255,255;
|
|
134
|
+
--accent-on-text:#ffffff;
|
|
135
|
+
--accent-on-text-rgb:255,255,255;
|
|
136
|
+
color-scheme:light;
|
|
137
|
+
}
|
|
138
|
+
[data-theme="lemon"],[data-accent="lemon-yellow"]{
|
|
139
|
+
--paper:#fafaf8;
|
|
140
|
+
--paper-2:#f0f0ee;
|
|
141
|
+
--ink:#0a0a0a;
|
|
142
|
+
--muted:#737373;
|
|
143
|
+
--grey-1:#f0f0ee;
|
|
144
|
+
--grey-2:#d4d4d2;
|
|
145
|
+
--grey-3:#737373;
|
|
146
|
+
--accent:#FFD500;
|
|
147
|
+
--accent-on:#0a0a0a;
|
|
148
|
+
--accent-ink:#7a5f00;
|
|
149
|
+
--accent-bright:#FFE34D;
|
|
150
|
+
--accent-deep:#5e4900;
|
|
151
|
+
--accent-display:#7a5f00;
|
|
152
|
+
--accent-ink-inverse:#FFE34D;
|
|
153
|
+
--accent-soft:#fbf6e1;
|
|
154
|
+
--text-primary:#0a0a0a;
|
|
155
|
+
--text-body:#252524;
|
|
156
|
+
--text-secondary:#525252;
|
|
157
|
+
--text-helper:#737373;
|
|
158
|
+
--text-placeholder:#a3a3a3;
|
|
159
|
+
--text-on-color:#0a0a0a;
|
|
160
|
+
--line-strong:#a3a3a3;
|
|
161
|
+
--line:#d4d4d2;
|
|
162
|
+
--line-subtle:#e0e0e0;
|
|
163
|
+
--ink-rgb:10,10,10;
|
|
164
|
+
--paper-rgb:250,250,248;
|
|
165
|
+
--accent-rgb:255,213,0;
|
|
166
|
+
--accent-on-rgb:10,10,10;
|
|
167
|
+
--accent-on-text:#0a0a0a;
|
|
168
|
+
--accent-on-text-rgb:10,10,10;
|
|
169
|
+
color-scheme:light;
|
|
170
|
+
}
|
|
171
|
+
[data-theme="lemon-green"],[data-accent="lemon-green"]{
|
|
172
|
+
--paper:#fafaf8;
|
|
173
|
+
--paper-2:#f0f0ee;
|
|
174
|
+
--ink:#0a0a0a;
|
|
175
|
+
--muted:#737373;
|
|
176
|
+
--grey-1:#f0f0ee;
|
|
177
|
+
--grey-2:#d4d4d2;
|
|
178
|
+
--grey-3:#737373;
|
|
179
|
+
--accent:#C5E803;
|
|
180
|
+
--accent-on:#0a0a0a;
|
|
181
|
+
--accent-ink:#4a6400;
|
|
182
|
+
--accent-bright:#D4F040;
|
|
183
|
+
--accent-deep:#3a5000;
|
|
184
|
+
--accent-display:#4a6400;
|
|
185
|
+
--accent-ink-inverse:#D4F040;
|
|
186
|
+
--accent-soft:#f2f8e1;
|
|
187
|
+
--text-primary:#0a0a0a;
|
|
188
|
+
--text-body:#252524;
|
|
189
|
+
--text-secondary:#525252;
|
|
190
|
+
--text-helper:#737373;
|
|
191
|
+
--text-placeholder:#a3a3a3;
|
|
192
|
+
--text-on-color:#0a0a0a;
|
|
193
|
+
--line-strong:#a3a3a3;
|
|
194
|
+
--line:#d4d4d2;
|
|
195
|
+
--line-subtle:#e0e0e0;
|
|
196
|
+
--ink-rgb:10,10,10;
|
|
197
|
+
--paper-rgb:250,250,248;
|
|
198
|
+
--accent-rgb:197,232,3;
|
|
199
|
+
--accent-on-rgb:10,10,10;
|
|
200
|
+
--accent-on-text:#0a0a0a;
|
|
201
|
+
--accent-on-text-rgb:10,10,10;
|
|
202
|
+
color-scheme:light;
|
|
203
|
+
}
|
|
204
|
+
[data-theme="safety-orange"],[data-accent="safety-orange"]{
|
|
205
|
+
--paper:#fafaf8;
|
|
206
|
+
--paper-2:#f0f0ee;
|
|
207
|
+
--ink:#0a0a0a;
|
|
208
|
+
--muted:#737373;
|
|
209
|
+
--grey-1:#f0f0ee;
|
|
210
|
+
--grey-2:#d4d4d2;
|
|
211
|
+
--grey-3:#737373;
|
|
212
|
+
--accent:#FF6B35;
|
|
213
|
+
--accent-on:#ffffff;
|
|
214
|
+
--accent-ink:#c2410c;
|
|
215
|
+
--accent-bright:#FF9A6C;
|
|
216
|
+
--accent-deep:#9a3409;
|
|
217
|
+
--accent-display:#FF6B35;
|
|
218
|
+
--accent-ink-inverse:#FF9A6C;
|
|
219
|
+
--accent-soft:#fee8de;
|
|
220
|
+
--text-primary:#0a0a0a;
|
|
221
|
+
--text-body:#252524;
|
|
222
|
+
--text-secondary:#525252;
|
|
223
|
+
--text-helper:#737373;
|
|
224
|
+
--text-placeholder:#a3a3a3;
|
|
225
|
+
--text-on-color:#ffffff;
|
|
226
|
+
--line-strong:#a3a3a3;
|
|
227
|
+
--line:#d4d4d2;
|
|
228
|
+
--line-subtle:#e0e0e0;
|
|
229
|
+
--ink-rgb:10,10,10;
|
|
230
|
+
--paper-rgb:250,250,248;
|
|
231
|
+
--accent-rgb:255,107,53;
|
|
232
|
+
--accent-on-rgb:255,255,255;
|
|
233
|
+
--accent-on-text:#0a0a0a;
|
|
234
|
+
--accent-on-text-rgb:10,10,10;
|
|
235
|
+
color-scheme:light;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
:root{
|
|
239
|
+
--fs-display:168px;
|
|
240
|
+
--fw-display:200;
|
|
241
|
+
--lh-display:1.02;
|
|
242
|
+
--ls-display:-.02em;
|
|
243
|
+
--ff-display:var(--font-display);
|
|
244
|
+
--fst-display:normal;
|
|
245
|
+
--tt-display:none;
|
|
246
|
+
--fs-title:96px;
|
|
247
|
+
--fw-title:300;
|
|
248
|
+
--lh-title:1.08;
|
|
249
|
+
--ls-title:-.01em;
|
|
250
|
+
--ff-title:var(--font-display);
|
|
251
|
+
--fst-title:normal;
|
|
252
|
+
--tt-title:none;
|
|
253
|
+
--fs-heading:56px;
|
|
254
|
+
--fw-heading:400;
|
|
255
|
+
--lh-heading:1.18;
|
|
256
|
+
--ls-heading:0;
|
|
257
|
+
--ff-heading:var(--font-sans);
|
|
258
|
+
--fst-heading:normal;
|
|
259
|
+
--tt-heading:none;
|
|
260
|
+
--fs-lead:30px;
|
|
261
|
+
--fw-lead:400;
|
|
262
|
+
--lh-lead:1.55;
|
|
263
|
+
--ls-lead:0;
|
|
264
|
+
--ff-lead:var(--font-sans);
|
|
265
|
+
--fst-lead:normal;
|
|
266
|
+
--tt-lead:none;
|
|
267
|
+
--fs-body:26px;
|
|
268
|
+
--fw-body:400;
|
|
269
|
+
--lh-body:1.6;
|
|
270
|
+
--ls-body:0;
|
|
271
|
+
--ff-body:var(--font-sans);
|
|
272
|
+
--fst-body:normal;
|
|
273
|
+
--tt-body:none;
|
|
274
|
+
--fs-small:22px;
|
|
275
|
+
--fw-small:400;
|
|
276
|
+
--lh-small:1.3;
|
|
277
|
+
--ls-small:0;
|
|
278
|
+
--ff-small:var(--font-sans);
|
|
279
|
+
--fst-small:normal;
|
|
280
|
+
--tt-small:none;
|
|
281
|
+
--fs-caption:18px;
|
|
282
|
+
--fw-caption:500;
|
|
283
|
+
--lh-caption:1.3;
|
|
284
|
+
--ls-caption:.12em;
|
|
285
|
+
--ff-caption:var(--font-mono);
|
|
286
|
+
--fst-caption:normal;
|
|
287
|
+
--tt-caption:uppercase;
|
|
288
|
+
--fs-label:22px;
|
|
289
|
+
--fw-label:600;
|
|
290
|
+
--lh-label:1.3;
|
|
291
|
+
--ls-label:.08em;
|
|
292
|
+
--ff-label:var(--font-sans);
|
|
293
|
+
--fst-label:normal;
|
|
294
|
+
--tt-label:uppercase;
|
|
295
|
+
--fs-meta:20px;
|
|
296
|
+
--fw-meta:500;
|
|
297
|
+
--lh-meta:1.3;
|
|
298
|
+
--ls-meta:.14em;
|
|
299
|
+
--ff-meta:var(--font-mono);
|
|
300
|
+
--fst-meta:normal;
|
|
301
|
+
--tt-meta:uppercase;
|
|
302
|
+
--fs-num-xl:168px;
|
|
303
|
+
--fw-num-xl:200;
|
|
304
|
+
--lh-num-xl:0.92;
|
|
305
|
+
--ls-num-xl:-.03em;
|
|
306
|
+
--ff-num-xl:var(--font-display);
|
|
307
|
+
--fst-num-xl:normal;
|
|
308
|
+
--tt-num-xl:none;
|
|
309
|
+
--fs-num-l:120px;
|
|
310
|
+
--fw-num-l:200;
|
|
311
|
+
--lh-num-l:0.96;
|
|
312
|
+
--ls-num-l:-.02em;
|
|
313
|
+
--ff-num-l:var(--font-display);
|
|
314
|
+
--fst-num-l:normal;
|
|
315
|
+
--tt-num-l:none;
|
|
316
|
+
--fs-num-m:96px;
|
|
317
|
+
--fw-num-m:200;
|
|
318
|
+
--lh-num-m:1;
|
|
319
|
+
--ls-num-m:-.02em;
|
|
320
|
+
--ff-num-m:var(--font-display);
|
|
321
|
+
--fst-num-m:normal;
|
|
322
|
+
--tt-num-m:none;
|
|
323
|
+
--fs-display-zh:168px;
|
|
324
|
+
--fw-display-zh:200;
|
|
325
|
+
--lh-display-zh:1.02;
|
|
326
|
+
--ls-display-zh:-.02em;
|
|
327
|
+
--ff-display-zh:var(--font-display);
|
|
328
|
+
--fst-display-zh:normal;
|
|
329
|
+
--tt-display-zh:none;
|
|
330
|
+
--fs-title-zh:96px;
|
|
331
|
+
--fw-title-zh:300;
|
|
332
|
+
--lh-title-zh:1.08;
|
|
333
|
+
--ls-title-zh:-.01em;
|
|
334
|
+
--ff-title-zh:var(--font-display);
|
|
335
|
+
--fst-title-zh:normal;
|
|
336
|
+
--tt-title-zh:none;
|
|
337
|
+
--fs-subhead:56px;
|
|
338
|
+
--fw-subhead:400;
|
|
339
|
+
--lh-subhead:1.18;
|
|
340
|
+
--ls-subhead:0;
|
|
341
|
+
--ff-subhead:var(--font-sans);
|
|
342
|
+
--fst-subhead:normal;
|
|
343
|
+
--tt-subhead:none;
|
|
344
|
+
--fs-quote:56px;
|
|
345
|
+
--fw-quote:400;
|
|
346
|
+
--lh-quote:1.18;
|
|
347
|
+
--ls-quote:0;
|
|
348
|
+
--ff-quote:var(--font-sans);
|
|
349
|
+
--fst-quote:normal;
|
|
350
|
+
--tt-quote:none;
|
|
351
|
+
}
|
|
352
|
+
:root,[data-board="xhs"]{
|
|
353
|
+
--board-w:1080px;
|
|
354
|
+
--board-h:1440px;
|
|
355
|
+
--canvas-padding:96px 80px;
|
|
356
|
+
}
|
|
357
|
+
[data-board="square"]{
|
|
358
|
+
--board-w:1080px;
|
|
359
|
+
--board-h:1080px;
|
|
360
|
+
--canvas-padding:80px;
|
|
361
|
+
--fs-display:180px;
|
|
362
|
+
--fs-title:88px;
|
|
363
|
+
--fs-num-xl:168px;
|
|
364
|
+
--fs-num-l:112px;
|
|
365
|
+
}
|
|
366
|
+
[data-board="wide"]{
|
|
367
|
+
--board-w:2100px;
|
|
368
|
+
--board-h:900px;
|
|
369
|
+
--canvas-padding:80px 160px;
|
|
370
|
+
--fs-display:200px;
|
|
371
|
+
--fs-title:104px;
|
|
372
|
+
--fs-num-xl:200px;
|
|
373
|
+
--fs-num-l:144px;
|
|
374
|
+
}
|
|
375
|
+
.gz-t-display{font-family:var(--ff-display);font-size:var(--fs-display);font-weight:var(--fw-display);line-height:var(--lh-display);letter-spacing:var(--ls-display);font-style:var(--fst-display);text-transform:var(--tt-display)}
|
|
376
|
+
.gz-t-title{font-family:var(--ff-title);font-size:var(--fs-title);font-weight:var(--fw-title);line-height:var(--lh-title);letter-spacing:var(--ls-title);font-style:var(--fst-title);text-transform:var(--tt-title)}
|
|
377
|
+
.gz-t-heading{font-family:var(--ff-heading);font-size:var(--fs-heading);font-weight:var(--fw-heading);line-height:var(--lh-heading);letter-spacing:var(--ls-heading);font-style:var(--fst-heading);text-transform:var(--tt-heading)}
|
|
378
|
+
.gz-t-lead{font-family:var(--ff-lead);font-size:var(--fs-lead);font-weight:var(--fw-lead);line-height:var(--lh-lead);letter-spacing:var(--ls-lead);font-style:var(--fst-lead);text-transform:var(--tt-lead)}
|
|
379
|
+
.gz-t-body{font-family:var(--ff-body);font-size:var(--fs-body);font-weight:var(--fw-body);line-height:var(--lh-body);letter-spacing:var(--ls-body);font-style:var(--fst-body);text-transform:var(--tt-body)}
|
|
380
|
+
.gz-t-small{font-family:var(--ff-small);font-size:var(--fs-small);font-weight:var(--fw-small);line-height:var(--lh-small);letter-spacing:var(--ls-small);font-style:var(--fst-small);text-transform:var(--tt-small)}
|
|
381
|
+
.gz-t-caption{font-family:var(--ff-caption);font-size:var(--fs-caption);font-weight:var(--fw-caption);line-height:var(--lh-caption);letter-spacing:var(--ls-caption);font-style:var(--fst-caption);text-transform:var(--tt-caption)}
|
|
382
|
+
.gz-t-label{font-family:var(--ff-label);font-size:var(--fs-label);font-weight:var(--fw-label);line-height:var(--lh-label);letter-spacing:var(--ls-label);font-style:var(--fst-label);text-transform:var(--tt-label)}
|
|
383
|
+
.gz-t-meta{font-family:var(--ff-meta);font-size:var(--fs-meta);font-weight:var(--fw-meta);line-height:var(--lh-meta);letter-spacing:var(--ls-meta);font-style:var(--fst-meta);text-transform:var(--tt-meta)}
|
|
384
|
+
.gz-t-num-xl{font-family:var(--ff-num-xl);font-size:var(--fs-num-xl);font-weight:var(--fw-num-xl);line-height:var(--lh-num-xl);letter-spacing:var(--ls-num-xl);font-style:var(--fst-num-xl);text-transform:var(--tt-num-xl)}
|
|
385
|
+
.gz-t-num-l{font-family:var(--ff-num-l);font-size:var(--fs-num-l);font-weight:var(--fw-num-l);line-height:var(--lh-num-l);letter-spacing:var(--ls-num-l);font-style:var(--fst-num-l);text-transform:var(--tt-num-l)}
|
|
386
|
+
.gz-t-num-m{font-family:var(--ff-num-m);font-size:var(--fs-num-m);font-weight:var(--fw-num-m);line-height:var(--lh-num-m);letter-spacing:var(--ls-num-m);font-style:var(--fst-num-m);text-transform:var(--tt-num-m)}
|
|
387
|
+
.gz-t-display-zh{font-family:var(--ff-display-zh);font-size:var(--fs-display-zh);font-weight:var(--fw-display-zh);line-height:var(--lh-display-zh);letter-spacing:var(--ls-display-zh);font-style:var(--fst-display-zh);text-transform:var(--tt-display-zh)}
|
|
388
|
+
.gz-t-title-zh{font-family:var(--ff-title-zh);font-size:var(--fs-title-zh);font-weight:var(--fw-title-zh);line-height:var(--lh-title-zh);letter-spacing:var(--ls-title-zh);font-style:var(--fst-title-zh);text-transform:var(--tt-title-zh)}
|
|
389
|
+
.gz-t-subhead{font-family:var(--ff-subhead);font-size:var(--fs-subhead);font-weight:var(--fw-subhead);line-height:var(--lh-subhead);letter-spacing:var(--ls-subhead);font-style:var(--fst-subhead);text-transform:var(--tt-subhead)}
|
|
390
|
+
.gz-t-quote{font-family:var(--ff-quote);font-size:var(--fs-quote);font-weight:var(--fw-quote);line-height:var(--lh-quote);letter-spacing:var(--ls-quote);font-style:var(--fst-quote);text-transform:var(--tt-quote)}
|
|
391
|
+
|
|
392
|
+
:lang(zh){line-break:strict;text-spacing-trim:normal;text-autospace:normal;overflow-wrap:break-word}
|
|
393
|
+
:lang(zh) .gz-prose em:not(:lang(en)){font-style:normal;text-emphasis:filled dot;text-emphasis-position:under right}
|
|
394
|
+
.gz-tnum{font-variant-numeric:tabular-nums}
|
|
395
|
+
|
|
396
|
+
/* 歸藏设计系统 · 共享组件
|
|
397
|
+
*
|
|
398
|
+
* 一份结构,三种介质:根节点 <html data-family="magazine|swiss" data-medium="slide|card|page">。
|
|
399
|
+
* 这里只管布局、颜色和间距;字号、字重、行高一律由 gz-t-<角色> 类提供,
|
|
400
|
+
* 所以同一个组件放进 PPT、卡片、网页会自动换成各自的字号。
|
|
401
|
+
* 颜色只用语义 token(--text-* / --line-* / --accent*),换主题不需要改组件。
|
|
402
|
+
*/
|
|
403
|
+
|
|
404
|
+
/* ---------- 家族差异 ---------- */
|
|
405
|
+
/* 单张卡片 / 单页换主题([data-theme])或反色([data-surface])时,线条变量要在那一层重新计算,否则沿用根节点的颜色 */
|
|
406
|
+
[data-family="magazine"], [data-family="magazine"] [data-theme], [data-family="magazine"] [data-surface] { --img-pos: center top; --rule: 1px solid var(--line-strong); --rule-strong: 1px solid var(--line-strong) }
|
|
407
|
+
[data-family="swiss"], [data-family="swiss"] [data-theme], [data-family="swiss"] [data-surface] { --img-pos: center center; --rule: 1px solid var(--line); --rule-strong: 2px solid var(--ink) }
|
|
408
|
+
|
|
409
|
+
/* ---------- 表面:反色块里文字角色跟着换 ---------- */
|
|
410
|
+
[data-surface="ink"] {
|
|
411
|
+
background: var(--ink); color: var(--paper);
|
|
412
|
+
--text-primary: var(--paper); --text-body: rgba(var(--paper-rgb), .86); --text-secondary: rgba(var(--paper-rgb), .72);
|
|
413
|
+
--text-helper: rgba(var(--paper-rgb), .62); --line: rgba(var(--paper-rgb), .22); --line-strong: rgba(var(--paper-rgb), .45);
|
|
414
|
+
--accent-ink: var(--accent-ink-inverse); --accent-display: var(--accent-ink-inverse); --rule-strong: 2px solid var(--paper);
|
|
415
|
+
}
|
|
416
|
+
[data-family="magazine"] [data-surface="ink"], [data-family="magazine"][data-surface="ink"] { --rule-strong: 1px solid rgba(var(--paper-rgb), .45) }
|
|
417
|
+
[data-surface="accent"] {
|
|
418
|
+
background: var(--accent); color: var(--accent-on);
|
|
419
|
+
--text-primary: var(--accent-on); --text-body: rgba(var(--accent-on-rgb), .88); --text-secondary: rgba(var(--accent-on-rgb), .78);
|
|
420
|
+
--text-helper: rgba(var(--accent-on-rgb), .7); --line: rgba(var(--accent-on-rgb), .3); --line-strong: rgba(var(--accent-on-rgb), .55);
|
|
421
|
+
--accent-ink: var(--accent-on); --accent-display: var(--accent-on); --rule-strong: 2px solid var(--accent-on);
|
|
422
|
+
}
|
|
423
|
+
[data-surface="paper-2"] { background: var(--paper-2) }
|
|
424
|
+
|
|
425
|
+
/* 强调色文字:小字用 accent-ink,大字 / 大数字用 accent-display(浅色强调色在纸上会自动加深;反色块里自动切换) */
|
|
426
|
+
.gz-c-accent { color: var(--accent-ink) }
|
|
427
|
+
.gz-c-accent-display { color: var(--accent-display) }
|
|
428
|
+
|
|
429
|
+
/* ---------- 页眉页脚 chrome ---------- */
|
|
430
|
+
.gz-chrome { display: flex; justify-content: space-between; align-items: baseline; gap: var(--sp-6); color: var(--text-helper); border-top: var(--rule); padding-top: var(--sp-4) }
|
|
431
|
+
.gz-chrome[data-pos="top"] { border-top: 0; border-bottom: var(--rule); padding: 0 0 var(--sp-4) }
|
|
432
|
+
.gz-chrome__group { display: flex; gap: var(--sp-5); min-width: 0 }
|
|
433
|
+
.gz-chrome__accent { color: var(--accent-ink) }
|
|
434
|
+
|
|
435
|
+
/* ---------- 封面 cover ---------- */
|
|
436
|
+
.gz-cover { display: flex; flex-direction: column; gap: var(--sp-6); color: var(--text-primary) }
|
|
437
|
+
.gz-cover__kicker { color: var(--text-helper) }
|
|
438
|
+
[data-family="swiss"] .gz-cover__kicker { color: var(--accent-ink) }
|
|
439
|
+
.gz-cover__body { width: 100%; container-type: inline-size }
|
|
440
|
+
/* 标题按最长一行的字数自动收字号:--chars 由 components/render.mjs 算好写进 style;手写时填最长一行的字数(中文 1、西文约 0.56)。上限仍是 token 定的展示字号 */
|
|
441
|
+
.gz-cover__title { margin: 0; font-size: min(var(--fs-display-zh), calc(100cqi / var(--chars, 1) * .94)) }
|
|
442
|
+
.gz-cover__rule { width: 96px; height: 0; border-top: 2px solid var(--accent) }
|
|
443
|
+
[data-family="swiss"] .gz-cover__rule { border-top-width: 3px }
|
|
444
|
+
.gz-cover__sub { margin: 0; color: var(--text-body); max-width: 32em }
|
|
445
|
+
.gz-cover__meta { margin-top: auto }
|
|
446
|
+
/* 幻灯片、卡片:封面撑满画布,标题压在下半部 */
|
|
447
|
+
[data-medium="slide"] .gz-cover, [data-medium="card"] .gz-cover { height: 100% }
|
|
448
|
+
[data-medium="slide"] .gz-cover__body, [data-medium="card"] .gz-cover__body { margin-top: auto; display: flex; flex-direction: column; gap: var(--sp-7) }
|
|
449
|
+
[data-medium="slide"] .gz-cover__meta, [data-medium="card"] .gz-cover__meta { margin-top: var(--sp-10) }
|
|
450
|
+
/* 网页:杂志风居中,瑞士风左对齐 */
|
|
451
|
+
[data-medium="page"] .gz-cover { padding: var(--sp-11) 0 var(--sp-9); border-bottom: var(--rule) }
|
|
452
|
+
[data-medium="page"] .gz-cover__body { display: flex; flex-direction: column; gap: var(--sp-6) }
|
|
453
|
+
[data-medium="page"][data-family="magazine"] .gz-cover { align-items: center; text-align: center }
|
|
454
|
+
[data-medium="page"][data-family="magazine"] .gz-cover__body { align-items: center }
|
|
455
|
+
[data-medium="page"] .gz-cover__meta { margin-top: var(--sp-6); border-top: 0; padding-top: 0; justify-content: center }
|
|
456
|
+
[data-medium="page"][data-family="swiss"] .gz-cover__meta { justify-content: flex-start }
|
|
457
|
+
|
|
458
|
+
/* ---------- 大数字 stat ---------- */
|
|
459
|
+
.gz-stats { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: var(--sp-9) var(--sp-7) }
|
|
460
|
+
.gz-stats[data-count="1"] { --cols: 1 } .gz-stats[data-count="2"] { --cols: 2 } .gz-stats[data-count="4"] { --cols: 4 }
|
|
461
|
+
[data-medium="card"] .gz-stats { --cols: 2 }
|
|
462
|
+
[data-medium="card"] .gz-stats[data-count="1"], [data-medium="card"] .gz-stats[data-count="3"] { --cols: 1 }
|
|
463
|
+
.gz-stat { display: flex; flex-direction: column; gap: var(--sp-4); border-top: var(--rule-strong); padding-top: var(--sp-5); min-width: 0 }
|
|
464
|
+
.gz-stat__label { color: var(--text-helper) }
|
|
465
|
+
.gz-stat__value { display: flex; align-items: baseline; gap: .06em; font-variant-numeric: tabular-nums lining-nums; white-space: nowrap }
|
|
466
|
+
.gz-stat__unit { font-size: .4em; font-weight: 500; letter-spacing: 0; color: var(--text-secondary) }
|
|
467
|
+
.gz-stat.is-accent .gz-stat__num { color: var(--accent-ink) }
|
|
468
|
+
.gz-stat__note { margin: 0; color: var(--text-secondary); max-width: 24em }
|
|
469
|
+
[data-medium="card"] .gz-stats[data-count="3"] .gz-stat { display: grid; grid-template-columns: auto 1fr; align-items: end; column-gap: var(--sp-7) }
|
|
470
|
+
[data-medium="card"] .gz-stats[data-count="3"] .gz-stat__label { grid-column: 1 / -1 }
|
|
471
|
+
[data-medium="card"] .gz-stats[data-count="3"] .gz-stat__note { padding-bottom: .6em }
|
|
472
|
+
|
|
473
|
+
/* ---------- 引言 quote ---------- */
|
|
474
|
+
.gz-quote { margin: 0; display: flex; flex-direction: column; gap: var(--sp-7) }
|
|
475
|
+
.gz-quote__text { margin: 0; color: var(--text-primary); text-wrap: balance }
|
|
476
|
+
.gz-quote__text p { margin: 0; text-wrap: balance }
|
|
477
|
+
[data-family="magazine"] .gz-quote__text::before { content: "\201C"; display: block; font-family: var(--font-display); font-style: normal; color: var(--accent); font-size: 1.8em; line-height: 1; height: .55em }
|
|
478
|
+
[data-family="swiss"] .gz-quote { border-top: var(--rule-strong); padding-top: var(--sp-7) }
|
|
479
|
+
.gz-quote__source { color: var(--text-helper) }
|
|
480
|
+
[data-medium="page"][data-family="magazine"] .gz-quote { align-items: center; text-align: center; padding: var(--sp-9) 0 }
|
|
481
|
+
|
|
482
|
+
/* ---------- 流程 process:幻灯片 / 网页横排,卡片竖排 ---------- */
|
|
483
|
+
.gz-process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: var(--sp-7) }
|
|
484
|
+
.gz-process__step { display: flex; flex-direction: column; gap: var(--sp-4); border-top: var(--rule-strong); padding-top: var(--sp-5); min-width: 0 }
|
|
485
|
+
.gz-process__nb { color: var(--accent-ink) }
|
|
486
|
+
.gz-process__title { margin: 0 }
|
|
487
|
+
.gz-process__desc { margin: 0; color: var(--text-secondary) }
|
|
488
|
+
[data-medium="card"] .gz-process { grid-template-columns: 1fr; gap: 0; border-bottom: var(--rule) }
|
|
489
|
+
[data-medium="card"] .gz-process__step { display: grid; grid-template-columns: 112px minmax(0, 1fr); column-gap: var(--sp-6); row-gap: var(--sp-3); padding: var(--sp-7) 0 }
|
|
490
|
+
[data-medium="card"] .gz-process__step + .gz-process__step { border-top: var(--rule) }
|
|
491
|
+
[data-medium="card"] .gz-process__nb { grid-row: span 2 }
|
|
492
|
+
[data-medium="page"] .gz-process { --n: 2; row-gap: var(--sp-8) }
|
|
493
|
+
|
|
494
|
+
/* ---------- 对比 compare:左右分栏,卡片上下叠 ---------- */
|
|
495
|
+
.gz-compare { display: grid; grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr); gap: 0 var(--sp-9) }
|
|
496
|
+
.gz-compare__rule { background: var(--line-strong) }
|
|
497
|
+
.gz-compare__side { display: flex; flex-direction: column; gap: var(--sp-5); min-width: 0 }
|
|
498
|
+
.gz-compare__tag { color: var(--text-helper) }
|
|
499
|
+
.gz-compare__side[data-side="after"] .gz-compare__tag { color: var(--accent-ink) }
|
|
500
|
+
.gz-compare__title { margin: 0 }
|
|
501
|
+
.gz-compare__side[data-side="before"] .gz-compare__title { color: var(--text-secondary) }
|
|
502
|
+
.gz-compare__desc { margin: 0; color: var(--text-secondary) }
|
|
503
|
+
.gz-compare__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: var(--sp-3); color: var(--text-body) }
|
|
504
|
+
.gz-compare__list li { padding-left: 1.2em; position: relative }
|
|
505
|
+
.gz-compare__list li::before { content: ""; position: absolute; left: 0; top: .72em; width: .5em; border-top: 1px solid currentColor }
|
|
506
|
+
[data-family="swiss"] .gz-compare__side[data-side="after"][data-surface] { padding: var(--sp-8) }
|
|
507
|
+
[data-medium="card"] .gz-compare { grid-template-columns: 1fr; gap: var(--sp-8) 0 }
|
|
508
|
+
[data-medium="card"] .gz-compare__rule { height: 1px }
|
|
509
|
+
|
|
510
|
+
/* ---------- 图框 figure:照片 cover 裁切,截图 contain 放在底台上 ---------- */
|
|
511
|
+
.gz-figure { margin: 0; display: flex; flex-direction: column; gap: var(--sp-4); min-width: 0 }
|
|
512
|
+
.gz-figure__well { position: relative; aspect-ratio: var(--ratio, 16 / 10); overflow: hidden; background: var(--paper-2) }
|
|
513
|
+
.gz-figure__well > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--img-pos) }
|
|
514
|
+
.gz-figure[data-ratio="16x9"] { --ratio: 16 / 9 } .gz-figure[data-ratio="16x10"] { --ratio: 16 / 10 } .gz-figure[data-ratio="4x3"] { --ratio: 4 / 3 }
|
|
515
|
+
.gz-figure[data-ratio="3x2"] { --ratio: 3 / 2 } .gz-figure[data-ratio="1x1"] { --ratio: 1 } .gz-figure[data-ratio="3x4"] { --ratio: 3 / 4 } .gz-figure[data-ratio="21x9"] { --ratio: 21 / 9 }
|
|
516
|
+
.gz-figure[data-kind="screenshot"] .gz-figure__well { display: flex; align-items: center; justify-content: center; padding: var(--inset, var(--sp-8)) }
|
|
517
|
+
.gz-figure[data-kind="screenshot"] .gz-figure__well > img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: var(--radius-sm); box-shadow: 0 0 0 1px var(--line) }
|
|
518
|
+
[data-family="magazine"] .gz-figure[data-kind="screenshot"] .gz-figure__well > img { box-shadow: 0 0 0 1px var(--line), 0 18px 40px -24px rgba(var(--ink-rgb), .45) }
|
|
519
|
+
[data-family="swiss"] .gz-figure[data-kind="screenshot"] .gz-figure__well { background: var(--grey-1); border-top: 3px solid var(--accent) }
|
|
520
|
+
[data-family="swiss"] .gz-figure[data-kind="screenshot"] .gz-figure__well > img { border-radius: 0 }
|
|
521
|
+
.gz-figure__cap { color: var(--text-helper); display: flex; gap: var(--sp-4) }
|
|
522
|
+
.gz-figure__idx { color: var(--accent-ink); flex: none }
|
|
91
523
|
|
|
524
|
+
/* ---------- 图片网格 gallery ---------- */
|
|
525
|
+
.gz-gallery { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: var(--sp-7) var(--sp-6) }
|
|
526
|
+
[data-medium="card"] .gz-gallery { --cols: 2 }
|
|
527
|
+
[data-medium="card"] .gz-gallery[data-count="3"] > :first-child { grid-column: 1 / -1; --ratio: 16 / 9 }
|
|
528
|
+
|
|
529
|
+
/* ---------- 条目清单 ledger ---------- */
|
|
530
|
+
.gz-ledger { list-style: none; margin: 0; padding: 0; border-top: var(--rule-strong) }
|
|
531
|
+
.gz-ledger__row { display: grid; grid-template-columns: var(--nb-w, 3.2em) minmax(0, 1fr) auto; column-gap: var(--sp-6); align-items: baseline; padding: var(--sp-6) 0; border-bottom: var(--rule) }
|
|
532
|
+
.gz-ledger__nb { color: var(--accent-ink) }
|
|
533
|
+
.gz-ledger__title { margin: 0 }
|
|
534
|
+
.gz-ledger__note { margin: var(--sp-2) 0 0; color: var(--text-secondary) }
|
|
535
|
+
.gz-ledger__value { color: var(--text-helper); text-align: right; white-space: nowrap }
|
|
536
|
+
[data-medium="card"] .gz-ledger__row { --nb-w: 72px; padding: var(--sp-7) 0 }
|
|
537
|
+
|
|
538
|
+
/* 歸藏设计系统 · 纹理与特效图层(纯 CSS,颜色全部来自 token)
|
|
539
|
+
* 来源:PPT 瑞士风 .dots / .dot-mat / .ring-mat / .cross-mat / .hatch,卡片杂志风 .grain / .paper-wash。
|
|
540
|
+
*/
|
|
541
|
+
|
|
542
|
+
/* 特效画布:铺满父容器、在内容下面、不挡点击。父容器需要 position: relative */
|
|
543
|
+
.gz-effect { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; z-index: 0 }
|
|
544
|
+
.gz-layer-content { position: relative; z-index: 1 }
|
|
545
|
+
|
|
546
|
+
/* 点阵:前景色画点,跟随所在表面的文字色 */
|
|
547
|
+
.gz-dots { background-image: radial-gradient(currentColor 1px, transparent 1.2px); background-size: 12px 12px; opacity: .18 }
|
|
548
|
+
.gz-dots-fine { background-image: radial-gradient(currentColor .8px, transparent 1px); background-size: 8px 8px; opacity: .14 }
|
|
549
|
+
.gz-dots-bold { background-image: radial-gradient(currentColor 1.4px, transparent 1.6px); background-size: 18px 18px; opacity: .22 }
|
|
550
|
+
|
|
551
|
+
.gz-dot-mat { --mat: 14px; background-image: radial-gradient(currentColor 1.4px, transparent 1.6px); background-size: var(--mat) var(--mat); opacity: .5 }
|
|
552
|
+
.gz-dot-mat.is-lg { --mat: 22px } .gz-dot-mat.is-xl { --mat: 34px }
|
|
553
|
+
.gz-dot-mat.is-dense{ --mat: 9px; opacity: .62 }
|
|
554
|
+
.gz-ring-mat { --mat: 18px; background-image: radial-gradient(circle, transparent 2px, currentColor 2px, currentColor 2.7px, transparent 2.9px); background-size: var(--mat) var(--mat); opacity: .55 }
|
|
555
|
+
.gz-ring-mat.is-lg { --mat: 28px }
|
|
556
|
+
.gz-cross-mat { --mat: 22px; background: currentColor; opacity: .42;
|
|
557
|
+
-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Cpath d='M8 8l6 6M14 8l-6 6' stroke='%23000' stroke-width='1.4'/%3E%3C/svg%3E") 0 0 / var(--mat) var(--mat);
|
|
558
|
+
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Cpath d='M8 8l6 6M14 8l-6 6' stroke='%23000' stroke-width='1.4'/%3E%3C/svg%3E") 0 0 / var(--mat) var(--mat) }
|
|
559
|
+
.gz-cross-mat.is-lg { --mat: 32px }
|
|
560
|
+
.gz-hatch { background-image: repeating-linear-gradient(135deg, currentColor 0 1px, transparent 1px 8px); opacity: .55 }
|
|
561
|
+
|
|
562
|
+
/* 纸张颗粒与墨色晕染:杂志风卡片的「氛围层」,叠在特效画布上、内容下 */
|
|
563
|
+
.gz-grain { position: absolute; inset: 0; pointer-events: none; z-index: 0; mix-blend-mode: multiply; opacity: .35;
|
|
564
|
+
background-image: radial-gradient(rgba(0,0,0,.045) 1px, transparent 1px); background-size: 3px 3px }
|
|
565
|
+
[data-scheme="dark"] .gz-grain, .gz-grain.is-dark { mix-blend-mode: screen; opacity: .26; background-image: radial-gradient(rgba(255,244,214,.10) 1px, transparent 1px) }
|
|
566
|
+
.gz-paper-wash { position: absolute; inset: 0; pointer-events: none; z-index: 0;
|
|
567
|
+
background: linear-gradient(180deg, rgba(var(--ink-rgb), .02), rgba(var(--ink-rgb), .05) 60%, rgba(var(--ink-rgb), .08)) }
|
|
568
|
+
.gz-ink-vignette { position: absolute; inset: 0; pointer-events: none; z-index: 0;
|
|
569
|
+
background: radial-gradient(circle at 18% 12%, rgba(var(--ink-rgb), .10), transparent 34%), radial-gradient(circle at 82% 80%, rgba(var(--accent-rgb), .10), transparent 38%) }
|
|
570
|
+
|
|
571
|
+
/* PPT 杂志风:WebGL 背景上的纸 / 墨蒙版,保证文字可读(原 .slide.light/.dark::before) */
|
|
572
|
+
.gz-veil { position: absolute; inset: 0; pointer-events: none; z-index: 0; backdrop-filter: blur(3px); background: rgba(var(--paper-rgb), .78) }
|
|
573
|
+
.gz-veil.is-ink{ background: rgba(var(--ink-rgb), .78) }
|
|
574
|
+
.gz-veil.is-hero { backdrop-filter: none; background: rgba(var(--paper-rgb), .16) }
|
|
575
|
+
.gz-veil.is-hero.is-ink { background: rgba(var(--ink-rgb), .12) }
|
|
576
|
+
|
|
577
|
+
@media (prefers-reduced-motion: reduce) { .gz-effect { animation: none } }
|
|
578
|
+
|
|
579
|
+
/* 旧变量名别名(迁移期保留) */
|
|
580
|
+
:root{--sans:var(--font-sans);--sans-zh:'Noto Sans SC','PingFang SC','Hiragino Sans GB','Microsoft YaHei',sans-serif;--mono:var(--font-mono)}
|
|
581
|
+
/* 模板自己的反色块 → 设计系统反色表面 */
|
|
582
|
+
.card-ink{--text-primary: var(--paper);--text-body: rgba(var(--paper-rgb), .86);--text-secondary: rgba(var(--paper-rgb), .72);--text-helper: rgba(var(--paper-rgb), .62);--line: rgba(var(--paper-rgb), .22);--line-strong: rgba(var(--paper-rgb), .45);--accent-ink: var(--accent-ink-inverse);--accent-display: var(--accent-ink-inverse);--rule-strong: 2px solid var(--paper)}
|
|
583
|
+
.card-accent{--text-primary: var(--accent-on);--text-body: rgba(var(--accent-on-rgb), .88);--text-secondary: rgba(var(--accent-on-rgb), .78);--text-helper: rgba(var(--accent-on-rgb), .7);--line: rgba(var(--accent-on-rgb), .3);--line-strong: rgba(var(--accent-on-rgb), .55);--accent-ink: var(--accent-on);--accent-display: var(--accent-on);--rule-strong: 2px solid var(--accent-on)}
|
|
584
|
+
/* GZ:TOKENS:END */
|
|
92
585
|
/* ---------- 4. Reset & sheet ---------- */
|
|
93
586
|
*,*::before,*::after { box-sizing: border-box; }
|
|
94
587
|
html, body { margin: 0; padding: 0; }
|
|
@@ -144,14 +637,12 @@
|
|
|
144
637
|
background-image: radial-gradient(circle at 50% 50%, transparent 4px, var(--ink) 4.5px, var(--ink) 5px, transparent 5.5px);
|
|
145
638
|
background-size: 32px 32px;
|
|
146
639
|
}
|
|
640
|
+
/* 十字阵:14px 的 + 号,22px 一格(原写法把 1px 线条首尾相接铺成了一层灰) */
|
|
147
641
|
.cross-mat {
|
|
148
|
-
opacity: .
|
|
149
|
-
background
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
background-size: 1px 14px, 14px 1px;
|
|
153
|
-
background-position: center, center;
|
|
154
|
-
background-repeat: repeat;
|
|
642
|
+
opacity: .12;
|
|
643
|
+
background: var(--ink);
|
|
644
|
+
-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Cpath d='M11 4v14M4 11h14' stroke='%23000' stroke-width='1'/%3E%3C/svg%3E") 0 0 / 22px 22px;
|
|
645
|
+
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Cpath d='M11 4v14M4 11h14' stroke='%23000' stroke-width='1'/%3E%3C/svg%3E") 0 0 / 22px 22px;
|
|
155
646
|
}
|
|
156
647
|
|
|
157
648
|
/* ---------- 6. Typography roles (Swiss extreme contrast) ----------
|
|
@@ -215,7 +706,7 @@
|
|
|
215
706
|
font-size: 22px;
|
|
216
707
|
letter-spacing: .08em;
|
|
217
708
|
text-transform: uppercase;
|
|
218
|
-
color: var(--accent);
|
|
709
|
+
color: var(--accent-ink);
|
|
219
710
|
margin: 0;
|
|
220
711
|
}
|
|
221
712
|
.t-meta {
|
|
@@ -287,7 +778,9 @@
|
|
|
287
778
|
.span-2 { grid-column: span 2; }
|
|
288
779
|
.span-3 { grid-column: span 3; }
|
|
289
780
|
.span-4 { grid-column: span 4; }
|
|
781
|
+
.span-5 { grid-column: span 5; }
|
|
290
782
|
.span-6 { grid-column: span 6; }
|
|
783
|
+
.span-7 { grid-column: span 7; }
|
|
291
784
|
.span-8 { grid-column: span 8; }
|
|
292
785
|
.span-9 { grid-column: span 9; }
|
|
293
786
|
.span-12 { grid-column: span 12; }
|
|
@@ -300,9 +793,10 @@
|
|
|
300
793
|
border: 0;
|
|
301
794
|
margin: 0;
|
|
302
795
|
}
|
|
796
|
+
/* 细线用 --accent-display:柠檬黄 / 柠檬绿的 3px 原色线在纸色上几乎看不见,会自动换成加深版 */
|
|
303
797
|
.hr-accent {
|
|
304
798
|
height: 3px;
|
|
305
|
-
background: var(--accent);
|
|
799
|
+
background: var(--accent-display);
|
|
306
800
|
border: 0;
|
|
307
801
|
width: 96px;
|
|
308
802
|
margin: 0;
|
|
@@ -320,7 +814,8 @@
|
|
|
320
814
|
.card-ink .t-meta,
|
|
321
815
|
.card-ink .lead,
|
|
322
816
|
.card-ink .body,
|
|
323
|
-
.card-ink .h-md
|
|
817
|
+
.card-ink .h-md,
|
|
818
|
+
.card-ink :is(.h-hero, .h-statement, .h-xl, .num-mega, .num-xl) { color: var(--paper); }
|
|
324
819
|
.card-accent {
|
|
325
820
|
background: var(--accent);
|
|
326
821
|
color: var(--accent-on);
|
|
@@ -331,6 +826,7 @@
|
|
|
331
826
|
.card-accent .lead,
|
|
332
827
|
.card-accent .body,
|
|
333
828
|
.card-accent .h-md { color: var(--accent-on); }
|
|
829
|
+
.card-accent :is(.h-hero, .h-statement, .h-xl, .num-mega, .num-xl) { color: var(--accent-on); }
|
|
334
830
|
.card-fill {
|
|
335
831
|
background: var(--grey-1);
|
|
336
832
|
color: var(--ink);
|
|
@@ -362,6 +858,7 @@
|
|
|
362
858
|
.frame-img.r-3x4 { aspect-ratio: 3 / 4; }
|
|
363
859
|
.frame-img.r-1x1 { aspect-ratio: 1 / 1; }
|
|
364
860
|
.frame-img.r-4x3 { aspect-ratio: 4 / 3; }
|
|
861
|
+
.frame-img.r-3x2 { aspect-ratio: 3 / 2; }
|
|
365
862
|
.frame-img.r-16x9 { aspect-ratio: 16 / 9; }
|
|
366
863
|
.frame-img.r-16x10 { aspect-ratio: 16 / 10; }
|
|
367
864
|
.frame-img.r-21x9 { aspect-ratio: 21 / 9; }
|
|
@@ -560,7 +1057,7 @@
|
|
|
560
1057
|
text-transform: uppercase;
|
|
561
1058
|
color: var(--grey-3);
|
|
562
1059
|
}
|
|
563
|
-
.map-pin.accent .card .name { color: var(--accent); }
|
|
1060
|
+
.map-pin.accent .card .name { color: var(--accent-ink); }
|
|
564
1061
|
|
|
565
1062
|
.map-legend {
|
|
566
1063
|
position: absolute;
|
|
@@ -761,7 +1258,7 @@
|
|
|
761
1258
|
.stacked-ledger .ledger-icn {
|
|
762
1259
|
width: 56px;
|
|
763
1260
|
height: 56px;
|
|
764
|
-
color: var(--accent);
|
|
1261
|
+
color: var(--accent-display);
|
|
765
1262
|
}
|
|
766
1263
|
.poster.square .stacked-ledger .ledger-num { font-size: 88px; }
|
|
767
1264
|
.poster.square .stacked-ledger .ledger-row { grid-template-columns: 220px 1fr auto; }
|
|
@@ -781,6 +1278,7 @@
|
|
|
781
1278
|
gap: var(--sp-4);
|
|
782
1279
|
min-height: 160px;
|
|
783
1280
|
}
|
|
1281
|
+
.matrix-fill .matrix-cell > * { margin: 0; } /* 格子里的 <p> 带浏览器默认上下边距,会把内容撑出卡片 */
|
|
784
1282
|
.matrix-fill .matrix-cell .cell-nb {
|
|
785
1283
|
font-family: var(--mono);
|
|
786
1284
|
font-size: 18px;
|
|
@@ -844,15 +1342,21 @@
|
|
|
844
1342
|
margin-bottom: var(--sp-9);
|
|
845
1343
|
}
|
|
846
1344
|
|
|
1345
|
+
/* 页眉在墨色 / 强调色块上跟着反色(整张卡片反色时给 <section class="poster"> 加 data-surface="ink|accent") */
|
|
1346
|
+
.card-ink .chrome-min, [data-surface="ink"] .chrome-min { color: rgba(var(--paper-rgb), .62); border-bottom-color: rgba(var(--paper-rgb), .22); }
|
|
1347
|
+
.card-accent .chrome-min, [data-surface="accent"] .chrome-min { color: rgba(var(--accent-on-rgb), .7); border-bottom-color: rgba(var(--accent-on-rgb), .3); }
|
|
1348
|
+
|
|
847
1349
|
/* ---------- 12. Pair preview frame ---------- */
|
|
1350
|
+
/* 宽幅 + 方形并排预览:宽度随内容(2100 + 1080 + 间距),两张顶部对齐 */
|
|
848
1351
|
.pair-preview {
|
|
849
|
-
|
|
850
|
-
|
|
1352
|
+
align-self: flex-start;
|
|
1353
|
+
width: max-content;
|
|
851
1354
|
background: var(--grey-1);
|
|
852
1355
|
padding: var(--sp-9);
|
|
853
1356
|
display: grid;
|
|
854
1357
|
grid-template-columns: 2100px 1080px;
|
|
855
|
-
grid-template-rows:
|
|
1358
|
+
grid-template-rows: auto;
|
|
1359
|
+
align-items: start;
|
|
856
1360
|
gap: var(--sp-9);
|
|
857
1361
|
align-content: center;
|
|
858
1362
|
justify-content: center;
|
|
@@ -880,7 +1384,7 @@
|
|
|
880
1384
|
<body>
|
|
881
1385
|
<!-- ACCENT_OVERRIDE
|
|
882
1386
|
Change <html data-accent="…"> above to:
|
|
883
|
-
ikb | lemon
|
|
1387
|
+
ikb | lemon | lemon-green | safety-orange (old data-accent="lemon-yellow" still works)
|
|
884
1388
|
One deck — one accent. Never combine.
|
|
885
1389
|
-->
|
|
886
1390
|
<main class="sheet">
|