@bytechain.cn/colamd-themes 0.6.1 → 0.7.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.
- package/README.md +41 -2
- package/dist/cli.js +44 -4
- package/dist/cli.js.map +1 -1
- package/dist/export-cli.js +16 -0
- package/dist/export-cli.js.map +1 -1
- package/dist/extractors/local-html.d.ts +43 -0
- package/dist/extractors/local-html.js +338 -0
- package/dist/extractors/local-html.js.map +1 -0
- package/dist/extractors/url-extractor.d.ts +11 -2
- package/dist/extractors/url-extractor.js +11 -0
- package/dist/extractors/url-extractor.js.map +1 -1
- package/dist/generator.js +2 -2
- package/dist/generator.js.map +1 -1
- package/dist/models.d.ts +22 -0
- package/dist/models.js.map +1 -1
- package/dist/pdf-check.d.ts +42 -0
- package/dist/pdf-check.js +206 -0
- package/dist/pdf-check.js.map +1 -0
- package/dist/slides-markdown.d.ts +10 -0
- package/dist/slides-markdown.js +38 -0
- package/dist/slides-markdown.js.map +1 -1
- package/dist/slides.d.ts +8 -0
- package/dist/slides.js +76 -0
- package/dist/slides.js.map +1 -1
- package/dist/validators.js +8 -1
- package/dist/validators.js.map +1 -1
- package/package.json +1 -1
- package/skills/build-skills.sh +13 -13
- package/skills/colamd-themes/SKILL.md +78 -8
- package/themes/broadside.css +1187 -837
- package/themes/editorial-forest.css +1464 -796
- package/themes/pink-script-dark.css +912 -648
|
@@ -1,648 +1,912 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* ColaMD Theme: Pink Script Dark(粉墨脚本 · 暗底精修版)
|
|
3
|
-
* 来源:D:\workspace\git\beautiful-html-templates\templates\pink-script\
|
|
4
|
-
* template.html + design.md(nocturnal couture editorial:热粉油墨印在暗暖黑纸上)
|
|
5
|
-
* colors: ink-deep #060507 / ink-violet #0F0D11 / paper-blush #F5EDF1
|
|
6
|
-
* pink #ED3D8C / pink-deep #B81D67 / line-pink rgba(237,61,140,.32)
|
|
7
|
-
* hair-paper rgba(245,237,241,.14)
|
|
8
|
-
* fonts: DM Serif Display(编辑体标题)/ Inter 300(正文)/ JetBrains Mono(元数据)
|
|
9
|
-
* 与工具生成版(themes/pink-script.css,from-html 提取,奶油纸方向)并存互不覆盖。
|
|
10
|
-
* 模板特有约定(已落实):零圆角、1px 发丝线体系、粉色 kicker、
|
|
11
|
-
* 标题 halo 光晕 text-shadow、标题内 em 切粉色、引用左轨 1px 粉线
|
|
12
|
-
* 契约:ColaMD 2.7.13(:root 活变量;CM6 每行一 div;引用/代码块禁纵向 padding;
|
|
13
|
-
* .cm-md-blockquote 不写 background;SECTION 1.5 为幻灯片 --slide-* 令牌)
|
|
14
|
-
*
|
|
15
|
-
* paradigm 说明(近黑底陷阱):surface/panel 在极低明度下 HSL 饱和度被放大,
|
|
16
|
-
* 模板 #060507/#0F0D11 直接用会触发 SL-01/SL-02;且 hslHue 对 max==min 返回 0,
|
|
17
|
-
* 带 1 级蓝差的面板(H240)又会撞 SL-03 —— 三层表面必须完全中性:
|
|
18
|
-
* #060606 / #0e0e0e / #111111(与模板差 1-2/255,肉眼不可辨)。
|
|
19
|
-
* 粉色身份由 accent / 边框 / kicker / 高亮 / Pele 承担,paradigm 全过。
|
|
20
|
-
*/
|
|
21
|
-
|
|
22
|
-
:root {
|
|
23
|
-
/* ── 1.1 Seed Palette(11 色) ── */
|
|
24
|
-
--seed-accent: #ED3D8C; /* pink —— 全系统唯一彩色 */
|
|
25
|
-
--seed-accent-light: rgba(237, 61, 140, 0.16);
|
|
26
|
-
--seed-accent-dark: #B81D67; /* pink-deep */
|
|
27
|
-
--seed-surface: #060606; /* ink-deep 中性化(SL-01:S=0) */
|
|
28
|
-
--seed-panel: #0e0e0e; /* ≈ink-violet,全中性(max==min → H0 与 surface 同轴) */
|
|
29
|
-
--seed-panel-alt: #111111; /* L 6.7%(SL-04:surface < panel < panelAlt) */
|
|
30
|
-
--seed-ink: #F5EDF1; /* paper-blush */
|
|
31
|
-
--seed-ink-muted: #b9aab2; /* mute-paper 轴向对齐版(NT-01 H328) */
|
|
32
|
-
--seed-ink-dim: #8c8287; /* H330,辅助文字 */
|
|
33
|
-
--seed-border: #272528; /* hair-paper 14% over surface(NT-03 中性发丝) */
|
|
34
|
-
--seed-border-strong: #B81D67; /* pink-deep 强调边框 */
|
|
35
|
-
|
|
36
|
-
/* ── 1.2 Semantic Colors(27 活变量 · 14 色) ── */
|
|
37
|
-
--bg-color: var(--seed-surface);
|
|
38
|
-
--text-color: var(--seed-ink);
|
|
39
|
-
--text-secondary: var(--seed-ink-muted);
|
|
40
|
-
--text-muted: var(--seed-ink-dim);
|
|
41
|
-
--border-color: var(--seed-border);
|
|
42
|
-
--link-color: var(--seed-accent);
|
|
43
|
-
|
|
44
|
-
--code-bg: #120a11; /* pink 8% over surface */
|
|
45
|
-
--code-block-bg: var(--seed-panel-alt);
|
|
46
|
-
--code-block-text: var(--seed-ink);
|
|
47
|
-
|
|
48
|
-
--blockquote-border: var(--seed-accent); /* 模板:1px 粉色左轨 */
|
|
49
|
-
--blockquote-bg: #14090f; /* pink 6% over surface */
|
|
50
|
-
--table-header-bg: #160b10; /* pink 7% over surface */
|
|
51
|
-
|
|
52
|
-
--selection-bg: rgba(237, 61, 140, 0.35);
|
|
53
|
-
--highlight-bg: #4b172f; /* pink 30% over surface */
|
|
54
|
-
|
|
55
|
-
/* ── 1.3 Typography & Metrics(4 活变量) ── */
|
|
56
|
-
--font-body: "Inter", "Noto Sans SC", source-han-sans-sc, "PingFang SC",
|
|
57
|
-
"Microsoft YaHei", system-ui, sans-serif;
|
|
58
|
-
--font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace,
|
|
59
|
-
"Noto Sans SC", monospace;
|
|
60
|
-
--editor-font-size: 16px; /* 模板 body 16px */
|
|
61
|
-
--editor-column-width: 840px;
|
|
62
|
-
|
|
63
|
-
/* ── 1.4 Pele Diagram(9 活变量) ── */
|
|
64
|
-
--pele-bg: var(--code-block-bg);
|
|
65
|
-
--pele-fg: var(--text-color);
|
|
66
|
-
--pele-muted: var(--seed-ink-dim);
|
|
67
|
-
--pele-line: var(--seed-ink-muted);
|
|
68
|
-
--pele-surface: var(--seed-panel);
|
|
69
|
-
--pele-surface-alt: var(--seed-panel-alt);
|
|
70
|
-
--pele-border: rgba(237, 61, 140, 0.42); /* 模板:图表轴线 = pink 32-42% */
|
|
71
|
-
--pele-accent: var(--seed-accent);
|
|
72
|
-
--pele-radius: 0px; /* 模板:结构元素零圆角 */
|
|
73
|
-
|
|
74
|
-
/* ── 1.5 PPT 幻灯片令牌(ColaMD 2.7.13 slides · 按 pink-script
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
--slide-serif: "DM Serif Display", "Noto Serif SC", "Songti SC", Georgia, serif;
|
|
82
|
-
--slide-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;
|
|
83
|
-
--slide-title-font: "DM Serif Display", "Noto Serif SC", "Songti SC", Georgia, serif;
|
|
84
|
-
--slide-title-weight: 400; /* DM Serif Display 仅 400 */
|
|
85
|
-
--slide-subhead-weight: 400;
|
|
86
|
-
--slide-title-size: 5.1em; /* s-stats/s-matrix h2 132px ÷26 */
|
|
87
|
-
--slide-title-tracking: -0.01em; /* 模板 .script 字距 */
|
|
88
|
-
--slide-title-line-height: 1.05; /* 模板 .script 行高 */
|
|
89
|
-
--slide-cover-title-size: 10.8em; /* s-cover title 280px ÷26 */
|
|
90
|
-
--slide-cover-title-line-height: 1.02;
|
|
91
|
-
--slide-cover-title-tracking: -0.015em;
|
|
92
|
-
--slide-section-title-size:
|
|
93
|
-
--slide-closing-title-size: 5.4em; /* s-cta h2 140px ÷26 */
|
|
94
|
-
--slide-lead-size: 0.95em; /* 模板 Inter 300 描述 24-26px ÷26 */
|
|
95
|
-
--slide-kicker-size: clamp(18px, 1.25vw, 24px); /* 模板 kicker 22-28px @1920 */
|
|
96
|
-
--slide-kicker-tracking: 0.18em; /* s-stats kicker;封面 .42em 由 1.6.2 页级覆盖 */
|
|
97
|
-
--slide-kicker-transform: uppercase;
|
|
98
|
-
--slide-chrome-opacity: 0.85; /* runner 用 mute 色,透明度留给淡出过渡 */
|
|
99
|
-
--slide-chrome-transform: uppercase;
|
|
100
|
-
--slide-kpi-number-size: 4.5em; /* s-stats figure 116px ÷26 */
|
|
101
|
-
--slide-quote-size: 3.5em; /* s-quote blockquote 92px ÷26 */
|
|
102
|
-
--slide-page-pad-x: 3.2vw; /* 模板页边距 60px @1920 */
|
|
103
|
-
--slide-page-top-pad: 132px; /* 模板正文顶 140px − chrome 安全区 */
|
|
104
|
-
--slide-page-top-pad-print:
|
|
105
|
-
--slide-cover-text-align: center; /* s-cover 舞台居中(stage flex center) */
|
|
106
|
-
--slide-cover-lead-inline: auto;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
/* ═══════════════ SECTION 1.6 — 版式页复刻(SLIDE-02:全部包裹在
|
|
110
|
-
body.presenting / body.slides-printing 作用域;仅已知令牌 + 版式类) ═══ */
|
|
111
|
-
|
|
112
|
-
/* 1.6.1 页标题声部对齐:主题文档式标题(#editor .cm-content 权重)会在放映时
|
|
113
|
-
压过 slides.css 的页标题规则——这里以更高权重重新断言 slides 声部。
|
|
114
|
-
模板内容页标题 = paper 色,em 才切粉(s-stats/s-chart/s-matrix/s-cta h2)。 */
|
|
115
|
-
body.presenting #editor .cm-content .cm-md-page-title,
|
|
116
|
-
body.slides-printing #editor .cm-content .cm-md-page-title {
|
|
117
|
-
font-family: var(--slide-title-font);
|
|
118
|
-
font-size: var(--slide-title-size);
|
|
119
|
-
font-weight: var(--slide-title-weight);
|
|
120
|
-
line-height: var(--slide-title-line-height);
|
|
121
|
-
letter-spacing: var(--slide-title-tracking);
|
|
122
|
-
color: var(--text-color);
|
|
123
|
-
border-bottom: none;
|
|
124
|
-
padding-bottom: 0.1em;
|
|
125
|
-
margin-bottom: 0.35em;
|
|
126
|
-
}
|
|
127
|
-
body.presenting #editor .cm-content .cm-md-page-title .cm-md-em,
|
|
128
|
-
body.slides-printing #editor .cm-content .cm-md-page-title .cm-md-em {
|
|
129
|
-
color: var(--seed-accent);
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
/* 1.6.2 cover · After Hours:居中粉字巨题 + 80px halo + .42em 宽字距 pre +
|
|
133
|
-
Inter 300 大写副题(s-cover .pre/.title/.sub
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
color: var(--
|
|
143
|
-
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
body.slides-printing .cm-md-slide-cover
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
}
|
|
168
|
-
body.presenting #editor .cm-content .cm-md-
|
|
169
|
-
body.
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
body.
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
body.
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
}
|
|
239
|
-
body.presenting #editor .cm-content .cm-md-slide-
|
|
240
|
-
body.slides-printing #editor .cm-content .cm-md-slide-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
}
|
|
253
|
-
body.presenting #editor .cm-content .cm-md-slide-
|
|
254
|
-
body.slides-printing #editor .cm-content .cm-md-slide-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
body.
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
body.presenting .cm-md-slide-
|
|
282
|
-
body.slides-printing .cm-md-slide-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
font-size:
|
|
296
|
-
|
|
297
|
-
}
|
|
298
|
-
body.presenting #editor .cm-content .cm-md-slide-
|
|
299
|
-
body.slides-printing #editor .cm-content .cm-md-slide-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
font-
|
|
304
|
-
|
|
305
|
-
color: var(--
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
body.
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
body.
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
body.presenting #editor
|
|
323
|
-
body.slides-printing .cm-md-slide-
|
|
324
|
-
font-size:
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
border:
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
font-size: 0.
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
font-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
}
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
#editor .cm-content .cm-md-
|
|
380
|
-
#editor .cm-content .cm-md-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
font-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
#editor .cm-content .cm-md-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
font-
|
|
433
|
-
font-weight: 400;
|
|
434
|
-
font-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
#editor .cm-content .cm-md-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
#editor .cm-content .cm-md-
|
|
444
|
-
#editor .cm-content .cm-md-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
#editor .cm-content .cm-md-blockquote {
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
font-
|
|
465
|
-
line-height: 1.
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
#editor .cm-content .cm-md-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
font-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
#editor .cm-content .cm-md-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
.
|
|
518
|
-
.
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
color: var(--
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
}
|
|
538
|
-
.
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
}
|
|
543
|
-
.
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
.
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
.
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
.
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
.
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
.
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
font-size:
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
}
|
|
592
|
-
.
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
}
|
|
598
|
-
.
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
}
|
|
607
|
-
|
|
608
|
-
.
|
|
609
|
-
.
|
|
610
|
-
.
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
font-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
.
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
1
|
+
/*
|
|
2
|
+
* ColaMD Theme: Pink Script Dark(粉墨脚本 · 暗底精修版)
|
|
3
|
+
* 来源:D:\workspace\git\beautiful-html-templates\templates\pink-script\
|
|
4
|
+
* template.html + design.md(nocturnal couture editorial:热粉油墨印在暗暖黑纸上)
|
|
5
|
+
* colors: ink-deep #060507 / ink-violet #0F0D11 / paper-blush #F5EDF1
|
|
6
|
+
* pink #ED3D8C / pink-deep #B81D67 / line-pink rgba(237,61,140,.32)
|
|
7
|
+
* hair-paper rgba(245,237,241,.14)
|
|
8
|
+
* fonts: DM Serif Display(编辑体标题)/ Inter 300(正文)/ JetBrains Mono(元数据)
|
|
9
|
+
* 与工具生成版(themes/pink-script.css,from-html 提取,奶油纸方向)并存互不覆盖。
|
|
10
|
+
* 模板特有约定(已落实):零圆角、1px 发丝线体系、粉色 kicker、
|
|
11
|
+
* 标题 halo 光晕 text-shadow、标题内 em 切粉色、引用左轨 1px 粉线
|
|
12
|
+
* 契约:ColaMD 2.7.13(:root 活变量;CM6 每行一 div;引用/代码块禁纵向 padding;
|
|
13
|
+
* .cm-md-blockquote 不写 background;SECTION 1.5 为幻灯片 --slide-* 令牌)
|
|
14
|
+
*
|
|
15
|
+
* paradigm 说明(近黑底陷阱):surface/panel 在极低明度下 HSL 饱和度被放大,
|
|
16
|
+
* 模板 #060507/#0F0D11 直接用会触发 SL-01/SL-02;且 hslHue 对 max==min 返回 0,
|
|
17
|
+
* 带 1 级蓝差的面板(H240)又会撞 SL-03 —— 三层表面必须完全中性:
|
|
18
|
+
* #060606 / #0e0e0e / #111111(与模板差 1-2/255,肉眼不可辨)。
|
|
19
|
+
* 粉色身份由 accent / 边框 / kicker / 高亮 / Pele 承担,paradigm 全过。
|
|
20
|
+
*/
|
|
21
|
+
|
|
22
|
+
:root {
|
|
23
|
+
/* ── 1.1 Seed Palette(11 色) ── */
|
|
24
|
+
--seed-accent: #ED3D8C; /* pink —— 全系统唯一彩色 */
|
|
25
|
+
--seed-accent-light: rgba(237, 61, 140, 0.16);
|
|
26
|
+
--seed-accent-dark: #B81D67; /* pink-deep */
|
|
27
|
+
--seed-surface: #060606; /* ink-deep 中性化(SL-01:S=0) */
|
|
28
|
+
--seed-panel: #0e0e0e; /* ≈ink-violet,全中性(max==min → H0 与 surface 同轴) */
|
|
29
|
+
--seed-panel-alt: #111111; /* L 6.7%(SL-04:surface < panel < panelAlt) */
|
|
30
|
+
--seed-ink: #F5EDF1; /* paper-blush */
|
|
31
|
+
--seed-ink-muted: #b9aab2; /* mute-paper 轴向对齐版(NT-01 H328) */
|
|
32
|
+
--seed-ink-dim: #8c8287; /* H330,辅助文字 */
|
|
33
|
+
--seed-border: #272528; /* hair-paper 14% over surface(NT-03 中性发丝) */
|
|
34
|
+
--seed-border-strong: #B81D67; /* pink-deep 强调边框 */
|
|
35
|
+
|
|
36
|
+
/* ── 1.2 Semantic Colors(27 活变量 · 14 色) ── */
|
|
37
|
+
--bg-color: var(--seed-surface);
|
|
38
|
+
--text-color: var(--seed-ink);
|
|
39
|
+
--text-secondary: var(--seed-ink-muted);
|
|
40
|
+
--text-muted: var(--seed-ink-dim);
|
|
41
|
+
--border-color: var(--seed-border);
|
|
42
|
+
--link-color: var(--seed-accent);
|
|
43
|
+
|
|
44
|
+
--code-bg: #120a11; /* pink 8% over surface */
|
|
45
|
+
--code-block-bg: var(--seed-panel-alt);
|
|
46
|
+
--code-block-text: var(--seed-ink);
|
|
47
|
+
|
|
48
|
+
--blockquote-border: var(--seed-accent); /* 模板:1px 粉色左轨 */
|
|
49
|
+
--blockquote-bg: #14090f; /* pink 6% over surface */
|
|
50
|
+
--table-header-bg: #160b10; /* pink 7% over surface */
|
|
51
|
+
|
|
52
|
+
--selection-bg: rgba(237, 61, 140, 0.35);
|
|
53
|
+
--highlight-bg: #4b172f; /* pink 30% over surface */
|
|
54
|
+
|
|
55
|
+
/* ── 1.3 Typography & Metrics(4 活变量) ── */
|
|
56
|
+
--font-body: "Inter", "Noto Sans SC", source-han-sans-sc, "PingFang SC",
|
|
57
|
+
"Microsoft YaHei", system-ui, sans-serif;
|
|
58
|
+
--font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace,
|
|
59
|
+
"Noto Sans SC", monospace;
|
|
60
|
+
--editor-font-size: 16px; /* 模板 body 16px */
|
|
61
|
+
--editor-column-width: 840px;
|
|
62
|
+
|
|
63
|
+
/* ── 1.4 Pele Diagram(9 活变量) ── */
|
|
64
|
+
--pele-bg: var(--code-block-bg);
|
|
65
|
+
--pele-fg: var(--text-color);
|
|
66
|
+
--pele-muted: var(--seed-ink-dim);
|
|
67
|
+
--pele-line: var(--seed-ink-muted);
|
|
68
|
+
--pele-surface: var(--seed-panel);
|
|
69
|
+
--pele-surface-alt: var(--seed-panel-alt);
|
|
70
|
+
--pele-border: rgba(237, 61, 140, 0.42); /* 模板:图表轴线 = pink 32-42% */
|
|
71
|
+
--pele-accent: var(--seed-accent);
|
|
72
|
+
--pele-radius: 0px; /* 模板:结构元素零圆角 */
|
|
73
|
+
|
|
74
|
+
/* ── 1.5 PPT 幻灯片令牌(ColaMD 2.7.13 slides · 按 pink-script 逐页复刻) ──
|
|
75
|
+
放映:基准字号 clamp(17px,1.35vw,26px),1080p ≈ 26px/em,模板 px ÷ 26。
|
|
76
|
+
导出:1280×720 纸面 = 模板 1920×1080 × 2/3,基准 24px/em,
|
|
77
|
+
所以尺寸在 1.7 里按 “模板 px × 2/3 ÷ 24” 重新校准。页面对照:
|
|
78
|
+
cover←P1 agenda←P2 kpi←P3(s-stats) section←P4(s-section)
|
|
79
|
+
figure←P5 steps←P6(s-process) timeline←P6(s-process 步骤条)
|
|
80
|
+
matrix←P7 quote←P8(s-quote) closing←P9 */
|
|
81
|
+
--slide-serif: "DM Serif Display", "Noto Serif SC", "Songti SC", Georgia, serif;
|
|
82
|
+
--slide-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;
|
|
83
|
+
--slide-title-font: "DM Serif Display", "Noto Serif SC", "Songti SC", Georgia, serif;
|
|
84
|
+
--slide-title-weight: 400; /* DM Serif Display 仅 400 */
|
|
85
|
+
--slide-subhead-weight: 400;
|
|
86
|
+
--slide-title-size: 5.1em; /* s-stats/s-matrix h2 132px ÷26 */
|
|
87
|
+
--slide-title-tracking: -0.01em; /* 模板 .script 字距 */
|
|
88
|
+
--slide-title-line-height: 1.05; /* 模板 .script 行高 */
|
|
89
|
+
--slide-cover-title-size: 10.8em; /* s-cover title 280px ÷26 */
|
|
90
|
+
--slide-cover-title-line-height: 1.02;
|
|
91
|
+
--slide-cover-title-tracking: -0.015em;
|
|
92
|
+
--slide-section-title-size: 3.38em; /* P4 s-section h2 88px ÷26 */
|
|
93
|
+
--slide-closing-title-size: 5.4em; /* s-cta h2 140px ÷26 */
|
|
94
|
+
--slide-lead-size: 0.95em; /* 模板 Inter 300 描述 24-26px ÷26 */
|
|
95
|
+
--slide-kicker-size: clamp(18px, 1.25vw, 24px); /* 模板 kicker 22-28px @1920 */
|
|
96
|
+
--slide-kicker-tracking: 0.18em; /* s-stats kicker;封面 .42em 由 1.6.2 页级覆盖 */
|
|
97
|
+
--slide-kicker-transform: uppercase;
|
|
98
|
+
--slide-chrome-opacity: 0.85; /* runner 用 mute 色,透明度留给淡出过渡 */
|
|
99
|
+
--slide-chrome-transform: uppercase;
|
|
100
|
+
--slide-kpi-number-size: 4.5em; /* s-stats figure 116px ÷26 */
|
|
101
|
+
--slide-quote-size: 3.5em; /* s-quote blockquote 92px ÷26 */
|
|
102
|
+
--slide-page-pad-x: 3.2vw; /* 模板页边距 60px @1920 */
|
|
103
|
+
--slide-page-top-pad: 132px; /* 模板正文顶 140px − chrome 安全区 */
|
|
104
|
+
--slide-page-top-pad-print: 90px; /* 模板 140px × 2/3 */
|
|
105
|
+
--slide-cover-text-align: center; /* s-cover 舞台居中(stage flex center) */
|
|
106
|
+
--slide-cover-lead-inline: auto;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
/* ═══════════════ SECTION 1.6 — 版式页复刻(SLIDE-02:全部包裹在
|
|
110
|
+
body.presenting / body.slides-printing 作用域;仅已知令牌 + 版式类) ═══ */
|
|
111
|
+
|
|
112
|
+
/* 1.6.1 页标题声部对齐:主题文档式标题(#editor .cm-content 权重)会在放映时
|
|
113
|
+
压过 slides.css 的页标题规则——这里以更高权重重新断言 slides 声部。
|
|
114
|
+
模板内容页标题 = paper 色,em 才切粉(s-stats/s-chart/s-matrix/s-cta h2)。 */
|
|
115
|
+
body.presenting #editor .cm-content .cm-md-page-title,
|
|
116
|
+
body.slides-printing #editor .cm-content .cm-md-page-title {
|
|
117
|
+
font-family: var(--slide-title-font);
|
|
118
|
+
font-size: var(--slide-title-size);
|
|
119
|
+
font-weight: var(--slide-title-weight);
|
|
120
|
+
line-height: var(--slide-title-line-height);
|
|
121
|
+
letter-spacing: var(--slide-title-tracking);
|
|
122
|
+
color: var(--text-color);
|
|
123
|
+
border-bottom: none;
|
|
124
|
+
padding-bottom: 0.1em;
|
|
125
|
+
margin-bottom: 0.35em;
|
|
126
|
+
}
|
|
127
|
+
body.presenting #editor .cm-content .cm-md-page-title .cm-md-em,
|
|
128
|
+
body.slides-printing #editor .cm-content .cm-md-page-title .cm-md-em {
|
|
129
|
+
color: var(--seed-accent);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
/* 1.6.2 cover · After Hours:居中粉字巨题 + 80px halo + .42em 宽字距 pre +
|
|
133
|
+
Inter 300 大写副题(s-cover .pre/.title/.sub)。
|
|
134
|
+
导出作用域必须带 #editor .cm-content 提到 id 权重:data-slide-layout 属性
|
|
135
|
+
只在放映时写上,导出纸面靠行类 .cm-md-slide-cover 命中;不带 id 的选择器
|
|
136
|
+
会被 1.6.1 的纸面页题规则压掉,粉色巨题退化成纸色普通页题。 */
|
|
137
|
+
body.presenting #editor[data-slide-layout='cover'] .cm-content .cm-md-page-title,
|
|
138
|
+
body.slides-printing #editor .cm-content .cm-md-slide-cover.cm-md-page-title {
|
|
139
|
+
font-size: var(--slide-cover-title-size);
|
|
140
|
+
line-height: var(--slide-cover-title-line-height, 1.02);
|
|
141
|
+
letter-spacing: var(--slide-cover-title-tracking, -0.015em);
|
|
142
|
+
color: var(--seed-accent);
|
|
143
|
+
text-shadow: 0 0 80px rgba(237, 61, 140, 0.18);
|
|
144
|
+
}
|
|
145
|
+
/* 放映的封面居中靠 flex 容器,导出是块流,只能逐行对齐;
|
|
146
|
+
导语块再按 --slide-cover-lead-inline 收进中线。 */
|
|
147
|
+
body.slides-printing #editor .cm-content .cm-md-slide-cover {
|
|
148
|
+
text-align: var(--slide-cover-text-align, center);
|
|
149
|
+
}
|
|
150
|
+
body.slides-printing #editor .cm-content .cm-md-slide-cover.cm-md-page-lead {
|
|
151
|
+
margin-inline: var(--slide-cover-lead-inline, auto);
|
|
152
|
+
}
|
|
153
|
+
/* 放映的封面是整页垂直居中,导出块流只能给页首垫一个近似值,
|
|
154
|
+
让巨题落在纸面中上而不是贴顶(页首行可能是隐藏的指令行,
|
|
155
|
+
所以要 !important 压过 slides.css 的安全区规则)。 */
|
|
156
|
+
body.slides-printing #editor .cm-content .cm-md-slide-cover.cm-md-page-start {
|
|
157
|
+
padding-top: 140px !important;
|
|
158
|
+
}
|
|
159
|
+
body.presenting #editor .cm-content .cm-md-page-title[data-slide-kicker]::before,
|
|
160
|
+
body.slides-printing #editor .cm-content .cm-md-page-title[data-slide-kicker]::before {
|
|
161
|
+
color: var(--text-color);
|
|
162
|
+
opacity: 0.75;
|
|
163
|
+
}
|
|
164
|
+
body.presenting #editor[data-slide-layout='cover'] .cm-content .cm-md-page-title[data-slide-kicker]::before,
|
|
165
|
+
body.slides-printing #editor .cm-content .cm-md-slide-cover.cm-md-page-title[data-slide-kicker]::before {
|
|
166
|
+
letter-spacing: 0.42em;
|
|
167
|
+
}
|
|
168
|
+
body.presenting #editor[data-slide-layout='cover'] .cm-content .cm-md-atxheading2,
|
|
169
|
+
body.presenting #editor[data-slide-layout='cover'] .cm-content .cm-md-atxheading3,
|
|
170
|
+
body.slides-printing #editor .cm-content .cm-md-slide-cover .cm-md-atxheading2,
|
|
171
|
+
body.slides-printing #editor .cm-content .cm-md-slide-cover .cm-md-atxheading3 {
|
|
172
|
+
font-family: var(--font-body);
|
|
173
|
+
font-weight: 300;
|
|
174
|
+
font-size: 1.1em;
|
|
175
|
+
letter-spacing: 0.12em;
|
|
176
|
+
text-transform: uppercase;
|
|
177
|
+
color: var(--text-color);
|
|
178
|
+
border-bottom: none; /* 导出侧去掉文档式 h2 的粉色发丝线 */
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
/* 1.6.3 section · 参照模板第 4 页 s-section(Movements):
|
|
182
|
+
导出纸面上:左侧 600px×2/3 粉色衬线巨号(当前章序 01/02…)+ 右栏 kicker /
|
|
183
|
+
88px×2/3 paper 标题 / Inter 压淡导语。巨号挂在页首空行的 ::after 上
|
|
184
|
+
(浮动、不占正文行;不能用 ::before —— slides-export 给 hero 页的居中
|
|
185
|
+
垫高正是 page-start::before)。放映模式保留下游的顶部对齐排版。 */
|
|
186
|
+
body.slides-printing #editor .cm-content {
|
|
187
|
+
counter-reset: ps-section;
|
|
188
|
+
}
|
|
189
|
+
body.slides-printing #editor .cm-content .cm-md-slide-section.cm-md-page-start {
|
|
190
|
+
counter-increment: ps-section;
|
|
191
|
+
}
|
|
192
|
+
body.slides-printing #editor .cm-content .cm-md-slide-section.cm-md-page-start::after {
|
|
193
|
+
content: counter(ps-section, decimal-leading-zero);
|
|
194
|
+
visibility: visible;
|
|
195
|
+
display: block;
|
|
196
|
+
float: left;
|
|
197
|
+
width: 40%;
|
|
198
|
+
white-space: nowrap;
|
|
199
|
+
font-family: var(--slide-title-font);
|
|
200
|
+
font-size: 400px; /* 600px × 2/3 */
|
|
201
|
+
line-height: 0.82;
|
|
202
|
+
letter-spacing: -0.02em;
|
|
203
|
+
color: var(--seed-accent);
|
|
204
|
+
text-shadow: 0 0 120px rgba(237, 61, 140, 0.22);
|
|
205
|
+
}
|
|
206
|
+
body.presenting #editor[data-slide-layout='section'] .cm-content {
|
|
207
|
+
justify-content: flex-start;
|
|
208
|
+
min-height: 92vh;
|
|
209
|
+
padding-top: 140px;
|
|
210
|
+
}
|
|
211
|
+
body.presenting #editor .cm-content .cm-md-slide-section .cm-md-page-title,
|
|
212
|
+
body.slides-printing #editor .cm-content .cm-md-slide-section.cm-md-page-title {
|
|
213
|
+
font-size: var(--slide-section-title-size);
|
|
214
|
+
max-width: 10em;
|
|
215
|
+
}
|
|
216
|
+
body.presenting #editor[data-slide-layout='section'] .cm-content .cm-md-page-title[data-slide-kicker]::before,
|
|
217
|
+
body.slides-printing #editor .cm-content .cm-md-slide-section .cm-md-page-title[data-slide-kicker]::before {
|
|
218
|
+
color: var(--seed-accent);
|
|
219
|
+
opacity: 1;
|
|
220
|
+
}
|
|
221
|
+
body.presenting #editor[data-slide-layout='section'] .cm-content .cm-md-page-lead,
|
|
222
|
+
body.slides-printing #editor .cm-content .cm-md-slide-section.cm-md-page-lead {
|
|
223
|
+
font-size: 0.92em;
|
|
224
|
+
color: var(--text-muted);
|
|
225
|
+
max-width: 42%;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
/* 1.6.4 kpi · 参照模板第 3 页 s-stats(By the Numbers):
|
|
229
|
+
左栏 38% = kicker + 132px paper 标题 + 压淡导语(float 左栏,高度只有 ~180px,
|
|
230
|
+
在页内早早收尾,不会像数字行 float 那样跨页泄漏);右侧 57% 数字带——
|
|
231
|
+
240px 粉色衬线数字 / 说明右栏,行间 hairline。 */
|
|
232
|
+
body.presenting #editor .cm-content .cm-md-slide-kpi.cm-md-page-title,
|
|
233
|
+
body.slides-printing #editor .cm-content .cm-md-slide-kpi.cm-md-page-title {
|
|
234
|
+
float: left;
|
|
235
|
+
width: 38%;
|
|
236
|
+
margin: 0 5% 0 0;
|
|
237
|
+
font-size: var(--slide-title-size);
|
|
238
|
+
}
|
|
239
|
+
body.presenting #editor .cm-content .cm-md-slide-kpi.cm-md-page-lead,
|
|
240
|
+
body.slides-printing #editor .cm-content .cm-md-slide-kpi.cm-md-page-lead {
|
|
241
|
+
float: left;
|
|
242
|
+
clear: left;
|
|
243
|
+
width: 38%;
|
|
244
|
+
max-width: none;
|
|
245
|
+
margin: 0.2em 5% 0 0;
|
|
246
|
+
font-size: 0.92em;
|
|
247
|
+
color: var(--text-muted);
|
|
248
|
+
}
|
|
249
|
+
body.presenting #editor .cm-content .cm-md-slide-kpi .cm-md-page-title[data-slide-kicker]::before,
|
|
250
|
+
body.slides-printing #editor .cm-content .cm-md-slide-kpi .cm-md-page-title[data-slide-kicker]::before {
|
|
251
|
+
color: var(--seed-accent);
|
|
252
|
+
}
|
|
253
|
+
body.presenting #editor .cm-content .cm-md-slide-kpi.cm-md-li,
|
|
254
|
+
body.slides-printing #editor .cm-content .cm-md-slide-kpi.cm-md-li {
|
|
255
|
+
width: 57%;
|
|
256
|
+
margin: 0 0 0 43%;
|
|
257
|
+
padding: 0.5em 0;
|
|
258
|
+
border-bottom: 1px solid var(--border-color);
|
|
259
|
+
font-size: 0.92em;
|
|
260
|
+
line-height: 1.5;
|
|
261
|
+
}
|
|
262
|
+
body.presenting #editor .cm-content .cm-md-slide-kpi .cm-md-strong,
|
|
263
|
+
body.slides-printing #editor .cm-content .cm-md-slide-kpi .cm-md-strong {
|
|
264
|
+
display: inline-block;
|
|
265
|
+
width: 30%;
|
|
266
|
+
vertical-align: middle;
|
|
267
|
+
font-family: var(--slide-title-font);
|
|
268
|
+
font-size: var(--slide-kpi-number-size);
|
|
269
|
+
font-weight: 400;
|
|
270
|
+
line-height: 0.9;
|
|
271
|
+
letter-spacing: -0.01em;
|
|
272
|
+
color: var(--seed-accent);
|
|
273
|
+
}
|
|
274
|
+
body.presenting #editor .cm-content .cm-md-slide-kpi .cm-md-li-bullet,
|
|
275
|
+
body.slides-printing #editor .cm-content .cm-md-slide-kpi .cm-md-li-bullet {
|
|
276
|
+
display: none;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
/* 1.6.5 timeline · 参照模板第 6 页 s-process(Process)步骤条:
|
|
280
|
+
页题 156px,三/五列横排,每列顶部 1px 粉线 → 96px 粉色衬线年份 → 22px 说明 */
|
|
281
|
+
body.presenting #editor .cm-content .cm-md-slide-timeline.cm-md-page-title,
|
|
282
|
+
body.slides-printing #editor .cm-content .cm-md-slide-timeline.cm-md-page-title {
|
|
283
|
+
font-size: 6em;
|
|
284
|
+
max-width: 12ch;
|
|
285
|
+
}
|
|
286
|
+
body.presenting #editor .cm-content .cm-md-slide-timeline.cm-md-li,
|
|
287
|
+
body.slides-printing #editor .cm-content .cm-md-slide-timeline.cm-md-li {
|
|
288
|
+
display: inline-block;
|
|
289
|
+
width: 29%;
|
|
290
|
+
margin: 0 3% 1.2em 0;
|
|
291
|
+
vertical-align: top;
|
|
292
|
+
border: none;
|
|
293
|
+
border-top: 1px solid rgba(237, 61, 140, 0.55);
|
|
294
|
+
padding: 0.9em 0 0;
|
|
295
|
+
font-size: 0.85em;
|
|
296
|
+
text-align: left;
|
|
297
|
+
}
|
|
298
|
+
body.presenting #editor .cm-content .cm-md-slide-timeline .cm-md-strong,
|
|
299
|
+
body.slides-printing #editor .cm-content .cm-md-slide-timeline .cm-md-strong {
|
|
300
|
+
display: block;
|
|
301
|
+
font-family: var(--slide-title-font);
|
|
302
|
+
font-size: 2.9em; /* 64px ÷26 ÷0.85 */
|
|
303
|
+
font-weight: 400;
|
|
304
|
+
line-height: 1;
|
|
305
|
+
color: var(--seed-accent);
|
|
306
|
+
margin-bottom: 0.35em;
|
|
307
|
+
}
|
|
308
|
+
body.presenting #editor .cm-content .cm-md-slide-timeline .cm-md-li-bullet,
|
|
309
|
+
body.slides-printing #editor .cm-content .cm-md-slide-timeline .cm-md-li-bullet {
|
|
310
|
+
display: none;
|
|
311
|
+
}
|
|
312
|
+
/* 上游时间轴在每个条目前画圆点(左侧轴线的节点);模板 P6 是纯顶部横线,
|
|
313
|
+
这里把圆点收掉。 */
|
|
314
|
+
body.presenting #editor .cm-content .cm-md-slide-timeline.cm-md-li::before,
|
|
315
|
+
body.slides-printing #editor .cm-content .cm-md-slide-timeline.cm-md-li::before {
|
|
316
|
+
display: none;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
/* 1.6.6 agenda · 参照模板第 2 页 s-toc(The Index):
|
|
320
|
+
页题 220px 粉衬线(h1 ÷26);行式条目 = hairline 底线,衬线粉序号 64px、
|
|
321
|
+
衬线 paper 章名 56px、说明 24px mute */
|
|
322
|
+
body.presenting #editor .cm-content .cm-md-slide-agenda .cm-md-page-title,
|
|
323
|
+
body.slides-printing .cm-md-slide-agenda.cm-md-page-title {
|
|
324
|
+
font-size: 8.5em;
|
|
325
|
+
line-height: 1.04;
|
|
326
|
+
color: var(--seed-accent);
|
|
327
|
+
}
|
|
328
|
+
body.presenting #editor .cm-content .cm-md-slide-agenda.cm-md-li,
|
|
329
|
+
body.slides-printing #editor .cm-content .cm-md-slide-agenda.cm-md-li {
|
|
330
|
+
font-size: 0.92em;
|
|
331
|
+
margin: 0;
|
|
332
|
+
padding: 1em 0;
|
|
333
|
+
border-top: none;
|
|
334
|
+
border-bottom: 1px solid var(--border-color);
|
|
335
|
+
}
|
|
336
|
+
body.presenting #editor .cm-content .cm-md-slide-agenda .cm-md-listmark,
|
|
337
|
+
body.slides-printing #editor .cm-content .cm-md-slide-agenda .cm-md-listmark {
|
|
338
|
+
font-family: var(--slide-title-font);
|
|
339
|
+
font-size: 2.67em; /* 64px ÷26 ÷0.92(li) */
|
|
340
|
+
line-height: 1;
|
|
341
|
+
font-weight: 400;
|
|
342
|
+
margin-right: 0.5em;
|
|
343
|
+
}
|
|
344
|
+
body.presenting #editor .cm-content .cm-md-slide-agenda .cm-md-strong,
|
|
345
|
+
body.slides-printing #editor .cm-content .cm-md-slide-agenda .cm-md-strong {
|
|
346
|
+
font-family: var(--slide-title-font);
|
|
347
|
+
font-size: 2.34em; /* 56px ÷26 ÷0.92(li) */
|
|
348
|
+
font-weight: 400;
|
|
349
|
+
color: var(--text-color);
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
/* 1.6.7 steps · 参照模板第 6 页 s-process(Process):
|
|
353
|
+
页题 156px paper(em 切粉);五列横排步骤条——顶线 1px 粉、衬线粉序号 96px、
|
|
354
|
+
衬线 paper 步骤名 38px、说明 22px mute(.row .step) */
|
|
355
|
+
body.presenting #editor[data-slide-layout='steps'] .cm-content .cm-md-page-title,
|
|
356
|
+
body.slides-printing .cm-md-slide-steps.cm-md-page-title {
|
|
357
|
+
font-size: 6em; /* 156px ÷26 */
|
|
358
|
+
max-width: 12ch;
|
|
359
|
+
}
|
|
360
|
+
body.presenting #editor .cm-content .cm-md-slide-steps.cm-md-page-start.cm-md-slide-directive,
|
|
361
|
+
body.slides-printing #editor .cm-content .cm-md-slide-steps.cm-md-page-start.cm-md-slide-directive {
|
|
362
|
+
counter-reset: ps-step;
|
|
363
|
+
}
|
|
364
|
+
body.presenting #editor .cm-content .cm-md-slide-steps.cm-md-li,
|
|
365
|
+
body.slides-printing #editor .cm-content .cm-md-slide-steps.cm-md-li {
|
|
366
|
+
display: inline-block;
|
|
367
|
+
width: 18.4%; /* 五列 + 24px gap @1920 */
|
|
368
|
+
margin: 0 1.9% 1.2em 0;
|
|
369
|
+
vertical-align: top;
|
|
370
|
+
border-left: none;
|
|
371
|
+
border-bottom: none;
|
|
372
|
+
border-top: 1px solid rgba(237, 61, 140, 0.45);
|
|
373
|
+
padding: 0.9em 0 0;
|
|
374
|
+
font-size: 0.85em; /* 说明 22px ÷26 */
|
|
375
|
+
text-align: left;
|
|
376
|
+
list-style: none;
|
|
377
|
+
counter-increment: ps-step;
|
|
378
|
+
}
|
|
379
|
+
body.presenting #editor .cm-content .cm-md-slide-steps.cm-md-li::before,
|
|
380
|
+
body.slides-printing #editor .cm-content .cm-md-slide-steps.cm-md-li::before {
|
|
381
|
+
content: counter(ps-step, decimal-leading-zero);
|
|
382
|
+
display: block;
|
|
383
|
+
font-family: var(--slide-title-font);
|
|
384
|
+
font-size: 96px; /* 模板序号 96px;导出在 1.7 收成 64px */
|
|
385
|
+
font-weight: 400;
|
|
386
|
+
line-height: 1;
|
|
387
|
+
color: var(--seed-accent);
|
|
388
|
+
margin-bottom: 0.18em;
|
|
389
|
+
}
|
|
390
|
+
body.presenting #editor .cm-content .cm-md-slide-steps .cm-md-li-bullet,
|
|
391
|
+
body.slides-printing #editor .cm-content .cm-md-slide-steps .cm-md-li-bullet,
|
|
392
|
+
body.presenting #editor .cm-content .cm-md-slide-steps .cm-md-listmark,
|
|
393
|
+
body.slides-printing #editor .cm-content .cm-md-slide-steps .cm-md-listmark {
|
|
394
|
+
display: none;
|
|
395
|
+
}
|
|
396
|
+
body.presenting #editor .cm-content .cm-md-slide-steps .cm-md-strong,
|
|
397
|
+
body.slides-printing #editor .cm-content .cm-md-slide-steps .cm-md-strong {
|
|
398
|
+
display: block;
|
|
399
|
+
border: none;
|
|
400
|
+
border-radius: 0;
|
|
401
|
+
background: transparent;
|
|
402
|
+
padding: 0;
|
|
403
|
+
min-width: 0;
|
|
404
|
+
font-family: var(--slide-title-font);
|
|
405
|
+
font-size: 1.72em; /* 38px ÷26 ÷0.85(li) */
|
|
406
|
+
font-weight: 400;
|
|
407
|
+
line-height: 1.05;
|
|
408
|
+
color: var(--text-color);
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
/* 1.6.8 quote · 参照模板第 8 页 s-quote(Voices):
|
|
412
|
+
左栏 320px 粉色巨引号(挂在页首空行的 ::after 浮动),右栏 92px paper 金句;
|
|
413
|
+
署名行 = 粉色 1px 顶线 + 48px 衬线 paper */
|
|
414
|
+
body.presenting #editor .cm-content .cm-md-slide-quote.cm-md-page-start::after,
|
|
415
|
+
body.slides-printing #editor .cm-content .cm-md-slide-quote.cm-md-page-start::after {
|
|
416
|
+
content: "\201C";
|
|
417
|
+
visibility: visible;
|
|
418
|
+
display: block;
|
|
419
|
+
float: left;
|
|
420
|
+
width: 22%;
|
|
421
|
+
font-family: var(--slide-title-font);
|
|
422
|
+
font-size: 320px; /* 模板 320px;导出在 1.7 收成 213px */
|
|
423
|
+
line-height: 0.65;
|
|
424
|
+
color: var(--seed-accent);
|
|
425
|
+
}
|
|
426
|
+
body.presenting #editor .cm-content .cm-md-slide-quote.cm-md-blockquote,
|
|
427
|
+
body.slides-printing #editor .cm-content .cm-md-slide-quote.cm-md-blockquote {
|
|
428
|
+
--blockquote-bg: transparent; /* 模板 P8 无底衬:只留 1px 粉左轨 */
|
|
429
|
+
margin-left: 26%;
|
|
430
|
+
max-width: 68%;
|
|
431
|
+
font-family: var(--slide-title-font);
|
|
432
|
+
font-size: var(--slide-quote-size);
|
|
433
|
+
font-weight: 400;
|
|
434
|
+
font-style: normal;
|
|
435
|
+
line-height: 1.05;
|
|
436
|
+
letter-spacing: -0.005em;
|
|
437
|
+
color: var(--text-color);
|
|
438
|
+
}
|
|
439
|
+
body.presenting #editor .cm-content .cm-md-slide-quote .cm-md-blockquote .cm-md-em,
|
|
440
|
+
body.slides-printing #editor .cm-content .cm-md-slide-quote .cm-md-blockquote .cm-md-em {
|
|
441
|
+
color: var(--seed-accent);
|
|
442
|
+
}
|
|
443
|
+
body.presenting #editor .cm-content .cm-md-slide-quote.cm-md-blockquote:not(:has(+ .cm-md-blockquote)),
|
|
444
|
+
body.slides-printing #editor .cm-content .cm-md-slide-quote.cm-md-blockquote:not(:has(+ .cm-md-blockquote)) {
|
|
445
|
+
margin-bottom: 0;
|
|
446
|
+
border-bottom: none;
|
|
447
|
+
}
|
|
448
|
+
/* 署名行:模板 .attr —— 26% 起的粉色顶线 + 48px 衬线 paper。
|
|
449
|
+
排除空行(CM6 空行 = <div class="cm-line"><br></div>),否则引文上下的
|
|
450
|
+
空行也会各画一条发丝线。 */
|
|
451
|
+
body.presenting #editor .cm-content .cm-md-slide-quote:not(.cm-md-blockquote):not(.cm-md-page-start):not(.cm-md-slide-directive):not(:has(> br:only-child)),
|
|
452
|
+
body.slides-printing #editor .cm-content .cm-md-slide-quote:not(.cm-md-blockquote):not(.cm-md-page-start):not(.cm-md-slide-directive):not(:has(> br:only-child)) {
|
|
453
|
+
margin: 1.1em 0 0 26%;
|
|
454
|
+
padding-top: 0.6em;
|
|
455
|
+
border-top: 1px solid rgba(237, 61, 140, 0.55);
|
|
456
|
+
font-family: var(--slide-title-font);
|
|
457
|
+
font-size: 1.85em; /* 48px ÷26 */
|
|
458
|
+
color: var(--text-color);
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
/* 1.6.9 closing · Encore:标题 paper 色 + 清单换模板顶线画法(s-cta .step) */
|
|
462
|
+
body.presenting #editor[data-slide-layout='closing'] .cm-content .cm-md-page-title,
|
|
463
|
+
body.slides-printing .cm-md-slide-closing.cm-md-page-title {
|
|
464
|
+
font-size: var(--slide-closing-title-size);
|
|
465
|
+
line-height: 1.04;
|
|
466
|
+
color: var(--text-color);
|
|
467
|
+
}
|
|
468
|
+
body.presenting .cm-md-slide-closing.cm-md-li,
|
|
469
|
+
body.slides-printing .cm-md-slide-closing.cm-md-li {
|
|
470
|
+
border-top: 1px solid rgba(237, 61, 140, 0.45);
|
|
471
|
+
padding-top: 0.8em;
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
/* 1.6.10 figure · The Curve:页题收一档(s-chart h2 90px ÷26) */
|
|
475
|
+
body.presenting #editor[data-slide-layout='figure'] .cm-content .cm-md-page-title,
|
|
476
|
+
body.slides-printing .cm-md-slide-figure.cm-md-page-title {
|
|
477
|
+
font-size: 3.5em;
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
/* 1.6.11 matrix · 参照模板第 7 页 s-matrix(The Field):
|
|
481
|
+
页题 132px paper(em 切粉,走 1.6.1 全局 5.1em);四列 hairline 底线网格,
|
|
482
|
+
行标 = 衬线 paper 32px,列头概念由 strong 承担(.cell.label) */
|
|
483
|
+
body.presenting #editor .cm-content .cm-md-slide-matrix.cm-md-li,
|
|
484
|
+
body.slides-printing #editor .cm-content .cm-md-slide-matrix.cm-md-li {
|
|
485
|
+
width: 22.5%; /* 四列 + gap @1920 */
|
|
486
|
+
margin: 0 1.5% 1.2em 0;
|
|
487
|
+
border: none;
|
|
488
|
+
border-bottom: 1px solid var(--border-color);
|
|
489
|
+
border-radius: 0;
|
|
490
|
+
background: transparent;
|
|
491
|
+
padding: 0.7em 0.2em;
|
|
492
|
+
font-size: 0.85em;
|
|
493
|
+
vertical-align: top;
|
|
494
|
+
}
|
|
495
|
+
body.presenting #editor .cm-content .cm-md-slide-matrix .cm-md-li-bullet,
|
|
496
|
+
body.slides-printing #editor .cm-content .cm-md-slide-matrix .cm-md-li-bullet,
|
|
497
|
+
body.presenting #editor .cm-content .cm-md-slide-closing .cm-md-li-bullet,
|
|
498
|
+
body.slides-printing #editor .cm-content .cm-md-slide-closing .cm-md-li-bullet {
|
|
499
|
+
display: none;
|
|
500
|
+
}
|
|
501
|
+
body.presenting #editor .cm-content .cm-md-slide-matrix .cm-md-strong,
|
|
502
|
+
body.slides-printing #editor .cm-content .cm-md-slide-matrix .cm-md-strong {
|
|
503
|
+
font-family: var(--slide-title-font);
|
|
504
|
+
font-size: 1.5em; /* 32px ÷26 ÷0.85(li) */
|
|
505
|
+
font-weight: 400;
|
|
506
|
+
color: var(--text-color);
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
/* 1.6.11 chrome · runner/footer:JetBrains Mono mute 色 .14em(.runner/.footer)。
|
|
510
|
+
SLIDE-02:.slide-chrome|foot 必须包裹在放映/导出作用域下 */
|
|
511
|
+
body.presenting .slide-chrome,
|
|
512
|
+
body.slides-printing .slide-chrome {
|
|
513
|
+
font-size: clamp(14px, 1.1vw, 22px);
|
|
514
|
+
letter-spacing: 0.14em;
|
|
515
|
+
color: var(--text-muted);
|
|
516
|
+
}
|
|
517
|
+
body.presenting .slide-foot,
|
|
518
|
+
body.slides-printing .slide-foot {
|
|
519
|
+
font-size: clamp(13px, 1vw, 20px);
|
|
520
|
+
letter-spacing: 0.14em;
|
|
521
|
+
color: var(--text-muted);
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
/* 1.6.12 导出纸面校准(1280×720 = 模板 1920×1080 × 2/3,基准 24px/em)
|
|
525
|
+
slides-export 的纸面高度只有 720px;按模板放映尺寸直接导出会把议程 / KPI /
|
|
526
|
+
时间线 / 双栏页撑成两页。这里只缩小导出尺寸,不改放映尺寸。 */
|
|
527
|
+
body.slides-printing {
|
|
528
|
+
--slide-title-size: 3.67em; /* 132px × 2/3 ÷ 24 */
|
|
529
|
+
--slide-section-title-size: 2.44em; /* 88px × 2/3 ÷ 24 */
|
|
530
|
+
--slide-cover-title-size: 7.5em; /* 280px × 2/3 ÷ 24 − 一字安全余量 */
|
|
531
|
+
--slide-closing-title-size: 3.9em; /* 140px × 2/3 ÷ 24 */
|
|
532
|
+
--slide-quote-size: 2.45em; /* 92px × 2/3 ÷ 24 − 安全余量 */
|
|
533
|
+
--slide-kpi-number-size: 4em; /* 116px 纸面收成 64px,给五行留高 */
|
|
534
|
+
--slide-lead-size: 0.667em; /* 24px × 2/3 ÷ 24 */
|
|
535
|
+
--slide-kicker-size: 13px;
|
|
536
|
+
--slide-page-top-pad-print: 90px;
|
|
537
|
+
}
|
|
538
|
+
body.slides-printing #editor .cm-content .cm-md-slide-section.cm-md-page-title {
|
|
539
|
+
width: 52%;
|
|
540
|
+
margin-left: 44%;
|
|
541
|
+
margin-top: 1.4em;
|
|
542
|
+
}
|
|
543
|
+
body.slides-printing #editor .cm-content .cm-md-slide-section.cm-md-page-lead {
|
|
544
|
+
font-size: 0.667em;
|
|
545
|
+
width: 50%;
|
|
546
|
+
margin-left: 44%;
|
|
547
|
+
/* 巨号是 float、不计入页高;给导语留出页尾余量,保证 400px 字号的
|
|
548
|
+
墨迹不会越过本页底边渗到下一页。 */
|
|
549
|
+
margin-bottom: 2.4em;
|
|
550
|
+
}
|
|
551
|
+
body.slides-printing #editor .cm-content .cm-md-slide-kpi.cm-md-li {
|
|
552
|
+
font-size: 0.667em;
|
|
553
|
+
padding: 0.35em 0;
|
|
554
|
+
}
|
|
555
|
+
body.slides-printing #editor .cm-content .cm-md-slide-kpi.cm-md-page-lead {
|
|
556
|
+
font-size: 0.667em;
|
|
557
|
+
}
|
|
558
|
+
body.slides-printing #editor .cm-content .cm-md-slide-agenda.cm-md-page-title {
|
|
559
|
+
font-size: 4.6em; /* 220px × 2/3 ÷ 24,给条目留高 */
|
|
560
|
+
}
|
|
561
|
+
body.slides-printing #editor .cm-content .cm-md-slide-agenda.cm-md-li {
|
|
562
|
+
font-size: 0.667em;
|
|
563
|
+
padding: 0.45em 0;
|
|
564
|
+
}
|
|
565
|
+
body.slides-printing #editor .cm-content .cm-md-slide-agenda .cm-md-listmark {
|
|
566
|
+
font-size: 2.7em; /* 43px ÷ 16 */
|
|
567
|
+
}
|
|
568
|
+
body.slides-printing #editor .cm-content .cm-md-slide-agenda .cm-md-strong {
|
|
569
|
+
font-size: 2.3em; /* 37px ÷ 16 */
|
|
570
|
+
}
|
|
571
|
+
body.slides-printing #editor .cm-content .cm-md-slide-timeline.cm-md-page-title {
|
|
572
|
+
font-size: 4.33em; /* 156px × 2/3 ÷ 24 */
|
|
573
|
+
}
|
|
574
|
+
body.slides-printing #editor .cm-content .cm-md-slide-timeline.cm-md-li {
|
|
575
|
+
font-size: 0.667em;
|
|
576
|
+
}
|
|
577
|
+
body.slides-printing #editor .cm-content .cm-md-slide-timeline .cm-md-strong {
|
|
578
|
+
font-size: 4em; /* 64px ÷ 16 */
|
|
579
|
+
}
|
|
580
|
+
body.slides-printing #editor .cm-content .cm-md-slide-steps.cm-md-page-title {
|
|
581
|
+
font-size: 4.33em;
|
|
582
|
+
}
|
|
583
|
+
body.slides-printing #editor .cm-content .cm-md-slide-steps.cm-md-li {
|
|
584
|
+
font-size: 0.667em;
|
|
585
|
+
}
|
|
586
|
+
body.slides-printing #editor .cm-content .cm-md-slide-steps.cm-md-li::before {
|
|
587
|
+
font-size: 64px; /* 96px × 2/3 */
|
|
588
|
+
}
|
|
589
|
+
body.slides-printing #editor .cm-content .cm-md-slide-steps .cm-md-strong {
|
|
590
|
+
font-size: 1.56em; /* 25px ÷ 16 */
|
|
591
|
+
}
|
|
592
|
+
body.slides-printing #editor .cm-content .cm-md-slide-figure.cm-md-page-title {
|
|
593
|
+
font-size: 2.5em; /* 90px × 2/3 ÷ 24 */
|
|
594
|
+
}
|
|
595
|
+
body.slides-printing #editor .cm-content .cm-md-slide-matrix.cm-md-li {
|
|
596
|
+
font-size: 0.667em;
|
|
597
|
+
}
|
|
598
|
+
body.slides-printing #editor .cm-content .cm-md-slide-matrix .cm-md-strong {
|
|
599
|
+
font-size: 1.3em; /* 21px ÷ 16 */
|
|
600
|
+
}
|
|
601
|
+
body.slides-printing #editor .cm-content .cm-md-slide-quote.cm-md-page-start::after {
|
|
602
|
+
font-size: 213px; /* 320px × 2/3 */
|
|
603
|
+
}
|
|
604
|
+
body.slides-printing #editor .cm-content .cm-md-slide-quote:not(.cm-md-blockquote):not(.cm-md-page-start):not(.cm-md-slide-directive):not(:has(> br:only-child)) {
|
|
605
|
+
font-size: 1.33em; /* 32px ÷ 24 */
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
/* 1.7 纸面基础密度:720px 纸面比放映画面矮,1.7 行高会让表格 / 代码页
|
|
609
|
+
溢出到第二页 —— 纸面统一收到 1.62,表格与代码块再压一档字号(放映不变)。 */
|
|
610
|
+
body.slides-printing #editor .cm-content {
|
|
611
|
+
line-height: 1.62;
|
|
612
|
+
}
|
|
613
|
+
body.slides-printing #editor .cm-content .cm-md-table-widget th,
|
|
614
|
+
body.slides-printing #editor .cm-content .cm-md-table-widget td {
|
|
615
|
+
padding: 6px 10px;
|
|
616
|
+
font-size: 0.75em;
|
|
617
|
+
}
|
|
618
|
+
body.slides-printing #editor .cm-content .cm-md-codeblock {
|
|
619
|
+
padding: 0 16px; /* 每行一个 div:纵向内距会按行累加 */
|
|
620
|
+
font-size: 0.72em;
|
|
621
|
+
line-height: 1.45;
|
|
622
|
+
}
|
|
623
|
+
/* 空行(CM6 里就是 <div class="cm-line"><br></div>)在纸面上只作分隔,
|
|
624
|
+
不该按整行 1.62 计高;压到 0.55 行,给版式页腾出 20px/行。 */
|
|
625
|
+
body.slides-printing #editor .cm-content .cm-line:has(> br:only-child) {
|
|
626
|
+
line-height: 0.55;
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
/* ═══════════════ SECTION 2 — Editor DOM ═══════════════ */
|
|
630
|
+
|
|
631
|
+
#editor .cm-content {
|
|
632
|
+
color: var(--text-color);
|
|
633
|
+
font-family: var(--font-body); /* Inter 300 正文声部 */
|
|
634
|
+
font-weight: 300;
|
|
635
|
+
line-height: 1.75;
|
|
636
|
+
letter-spacing: -0.005em;
|
|
637
|
+
-webkit-font-smoothing: antialiased;
|
|
638
|
+
text-rendering: optimizeLegibility;
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
/* ── 2.1 Headings:DM Serif Display 400 + 粉色光晕(模板 hero script) ── */
|
|
642
|
+
#editor .cm-content .cm-md-atxheading1,
|
|
643
|
+
#editor .cm-content .cm-md-atxheading2,
|
|
644
|
+
#editor .cm-content .cm-md-atxheading3,
|
|
645
|
+
#editor .cm-content .cm-md-atxheading4,
|
|
646
|
+
#editor .cm-content .cm-md-atxheading5,
|
|
647
|
+
#editor .cm-content .cm-md-atxheading6 {
|
|
648
|
+
color: var(--seed-ink);
|
|
649
|
+
font-family: "DM Serif Display", "Noto Serif SC", source-han-serif-sc,
|
|
650
|
+
"Songti SC", Georgia, serif;
|
|
651
|
+
font-weight: 400; /* DM Serif Display 只有 400 */
|
|
652
|
+
line-height: 1.1;
|
|
653
|
+
letter-spacing: -0.01em;
|
|
654
|
+
}
|
|
655
|
+
#editor .cm-content .cm-md-atxheading1 {
|
|
656
|
+
font-size: 3.05em;
|
|
657
|
+
line-height: 1.05;
|
|
658
|
+
letter-spacing: -0.015em;
|
|
659
|
+
color: var(--seed-accent); /* hero script 一律粉色 */
|
|
660
|
+
text-shadow: 0 0 0.6em rgba(237, 61, 140, 0.22); /* 模板 halo */
|
|
661
|
+
padding-bottom: 0.06em; /* 模板 padding-bottom .1em 补 descender */
|
|
662
|
+
}
|
|
663
|
+
#editor .cm-content .cm-md-atxheading2 {
|
|
664
|
+
font-size: 2.4em;
|
|
665
|
+
padding-bottom: 0.18em;
|
|
666
|
+
border-bottom: 1px solid rgba(237, 61, 140, 0.32); /* 粉色发丝 */
|
|
667
|
+
}
|
|
668
|
+
#editor .cm-content .cm-md-atxheading3 { font-size: 1.75em; }
|
|
669
|
+
#editor .cm-content .cm-md-atxheading4 { font-size: 1.42em; }
|
|
670
|
+
#editor .cm-content .cm-md-atxheading5 { font-size: 1.22em; }
|
|
671
|
+
#editor .cm-content .cm-md-atxheading6 {
|
|
672
|
+
font-size: 1.02em;
|
|
673
|
+
color: var(--seed-accent); /* 粉色 kicker 眉标 */
|
|
674
|
+
font-family: var(--font-mono);
|
|
675
|
+
font-weight: 400;
|
|
676
|
+
letter-spacing: 0.24em; /* 模板 mono-kicker 宽字距 */
|
|
677
|
+
text-transform: uppercase;
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
/* ── 2.2 Inline / Lists ── */
|
|
681
|
+
#editor .cm-content .cm-md-strong { color: var(--seed-ink); font-weight: 600; }
|
|
682
|
+
#editor .cm-content .cm-md-em {
|
|
683
|
+
font-family: Georgia, "Noto Serif SC", serif; /* 模板:正文斜体走衬线 */
|
|
684
|
+
font-style: italic;
|
|
685
|
+
}
|
|
686
|
+
#editor .cm-content .cm-md-strike { text-decoration: line-through; color: var(--text-muted); }
|
|
687
|
+
#editor .cm-content .cm-md-highlight { background: var(--highlight-bg); }
|
|
688
|
+
#editor .cm-content .cm-md-link {
|
|
689
|
+
color: var(--link-color);
|
|
690
|
+
text-decoration: none;
|
|
691
|
+
border-bottom: 1px solid rgba(237, 61, 140, 0.32);
|
|
692
|
+
}
|
|
693
|
+
#editor .cm-content .cm-md-url { color: var(--text-muted); font-family: var(--font-mono); }
|
|
694
|
+
#editor .cm-content .cm-md-inlinecode {
|
|
695
|
+
color: var(--text-color);
|
|
696
|
+
font-family: var(--font-mono);
|
|
697
|
+
font-weight: 400;
|
|
698
|
+
font-size: 0.88em;
|
|
699
|
+
background: var(--code-bg);
|
|
700
|
+
border: 1px solid rgba(237, 61, 140, 0.32); /* 粉色发丝框 */
|
|
701
|
+
border-radius: 0; /* 模板:零圆角 */
|
|
702
|
+
padding: 1px 5px;
|
|
703
|
+
}
|
|
704
|
+
#editor .cm-content .cm-md-marker,
|
|
705
|
+
#editor .cm-content .cm-md-quotemark { color: var(--text-muted); font-family: var(--font-mono); }
|
|
706
|
+
#editor .cm-content .cm-md-listmark { color: var(--seed-accent); }
|
|
707
|
+
#editor .cm-content .cm-md-li-0,
|
|
708
|
+
#editor .cm-content .cm-md-li-1,
|
|
709
|
+
#editor .cm-content .cm-md-li-2,
|
|
710
|
+
#editor .cm-content .cm-md-li-3,
|
|
711
|
+
#editor .cm-content .cm-md-li-4,
|
|
712
|
+
#editor .cm-content .cm-md-li-5,
|
|
713
|
+
#editor .cm-content .cm-md-li-6 { color: var(--text-color); }
|
|
714
|
+
|
|
715
|
+
/* ── 2.3 Blockquote / Code Block(禁纵向 padding;blockquote 不写 background) ── */
|
|
716
|
+
#editor .cm-content .cm-md-blockquote {
|
|
717
|
+
color: var(--text-secondary);
|
|
718
|
+
font-family: "DM Serif Display", "Noto Serif SC", "Songti SC", Georgia, serif;
|
|
719
|
+
font-size: 1.18em; /* 模板 serif-quote 声部 */
|
|
720
|
+
line-height: 1.5;
|
|
721
|
+
border-left: 1px solid var(--blockquote-border); /* 模板:1px 粉色左轨,无更粗边 */
|
|
722
|
+
padding-left: 16px;
|
|
723
|
+
padding-right: 16px;
|
|
724
|
+
}
|
|
725
|
+
#editor .cm-content .cm-md-codeblock {
|
|
726
|
+
color: var(--code-block-text);
|
|
727
|
+
font-family: var(--font-mono);
|
|
728
|
+
font-weight: 400;
|
|
729
|
+
line-height: 1.6;
|
|
730
|
+
background: var(--code-block-bg);
|
|
731
|
+
border-left: 1px solid var(--border-color);
|
|
732
|
+
border-right: 1px solid var(--border-color);
|
|
733
|
+
padding-left: 16px;
|
|
734
|
+
padding-right: 16px;
|
|
735
|
+
}
|
|
736
|
+
#editor .cm-content .cm-md-codeblock-first {
|
|
737
|
+
border-top: 1px solid var(--border-color);
|
|
738
|
+
border-radius: 0;
|
|
739
|
+
}
|
|
740
|
+
#editor .cm-content .cm-md-codeblock-last {
|
|
741
|
+
border-bottom: 1px solid var(--border-color);
|
|
742
|
+
border-radius: 0;
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
/* ── 2.4 Table / Rule(模板:表分隔线 = pink 32%) ── */
|
|
746
|
+
#editor .cm-content .cm-md-table-widget th,
|
|
747
|
+
#editor .cm-content .cm-md-table-widget td {
|
|
748
|
+
padding: 10px 14px;
|
|
749
|
+
border-color: rgba(237, 61, 140, 0.32);
|
|
750
|
+
}
|
|
751
|
+
#editor .cm-content .cm-md-table-widget td { font-weight: 400; }
|
|
752
|
+
#editor .cm-content .cm-md-table-widget th {
|
|
753
|
+
color: var(--seed-ink);
|
|
754
|
+
font-family: var(--font-mono);
|
|
755
|
+
font-size: 0.8em;
|
|
756
|
+
font-weight: 400;
|
|
757
|
+
letter-spacing: 0.14em; /* 模板 mono runner 字距 */
|
|
758
|
+
text-transform: uppercase;
|
|
759
|
+
background: var(--table-header-bg);
|
|
760
|
+
border-bottom: 1px solid var(--seed-accent);
|
|
761
|
+
}
|
|
762
|
+
#editor .cm-content .cm-md-table-widget tr:nth-child(even) td { background: var(--seed-panel); }
|
|
763
|
+
#editor .cm-content .cm-md-hr { border-top-color: rgba(237, 61, 140, 0.32); }
|
|
764
|
+
#editor .cm-content .cm-md-task-checked { color: var(--text-muted); }
|
|
765
|
+
|
|
766
|
+
/* ═══════════════ SECTION 3 — Exported HTML ═══════════════ */
|
|
767
|
+
|
|
768
|
+
.colamd-document {
|
|
769
|
+
color: var(--text-color);
|
|
770
|
+
font-family: var(--font-body);
|
|
771
|
+
font-weight: 300; /* Inter 300 正文 */
|
|
772
|
+
font-size: var(--editor-font-size);
|
|
773
|
+
line-height: 1.75;
|
|
774
|
+
letter-spacing: -0.005em;
|
|
775
|
+
-webkit-font-smoothing: antialiased;
|
|
776
|
+
text-rendering: optimizeLegibility;
|
|
777
|
+
background: var(--bg-color);
|
|
778
|
+
}
|
|
779
|
+
.colamd-document h1,
|
|
780
|
+
.colamd-document h2,
|
|
781
|
+
.colamd-document h3,
|
|
782
|
+
.colamd-document h4,
|
|
783
|
+
.colamd-document h5,
|
|
784
|
+
.colamd-document h6 {
|
|
785
|
+
color: var(--seed-ink);
|
|
786
|
+
font-family: "DM Serif Display", "Noto Serif SC", source-han-serif-sc,
|
|
787
|
+
"Songti SC", Georgia, serif;
|
|
788
|
+
font-weight: 400;
|
|
789
|
+
line-height: 1.1;
|
|
790
|
+
letter-spacing: -0.01em;
|
|
791
|
+
margin: 1.6em 0 0.55em;
|
|
792
|
+
}
|
|
793
|
+
.colamd-document h1 {
|
|
794
|
+
font-size: 3.05em;
|
|
795
|
+
line-height: 1.05;
|
|
796
|
+
letter-spacing: -0.015em;
|
|
797
|
+
color: var(--seed-accent);
|
|
798
|
+
text-shadow: 0 0 0.6em rgba(237, 61, 140, 0.22); /* halo */
|
|
799
|
+
padding-bottom: 0.06em;
|
|
800
|
+
margin-top: 0.4em;
|
|
801
|
+
}
|
|
802
|
+
.colamd-document h2 {
|
|
803
|
+
font-size: 2.4em;
|
|
804
|
+
padding-bottom: 0.18em;
|
|
805
|
+
border-bottom: 1px solid rgba(237, 61, 140, 0.32);
|
|
806
|
+
}
|
|
807
|
+
.colamd-document h3 { font-size: 1.75em; }
|
|
808
|
+
.colamd-document h4 { font-size: 1.42em; }
|
|
809
|
+
.colamd-document h5 { font-size: 1.22em; }
|
|
810
|
+
.colamd-document h6 {
|
|
811
|
+
font-size: 1.02em;
|
|
812
|
+
color: var(--seed-accent); /* 粉色 kicker */
|
|
813
|
+
font-family: var(--font-mono);
|
|
814
|
+
font-weight: 400;
|
|
815
|
+
letter-spacing: 0.24em;
|
|
816
|
+
text-transform: uppercase;
|
|
817
|
+
}
|
|
818
|
+
/* 模板:标题里的 em = 切成粉色(不是斜体) */
|
|
819
|
+
.colamd-document h1 em,
|
|
820
|
+
.colamd-document h2 em,
|
|
821
|
+
.colamd-document h3 em,
|
|
822
|
+
.colamd-document h4 em {
|
|
823
|
+
color: var(--seed-accent);
|
|
824
|
+
font-style: normal;
|
|
825
|
+
}
|
|
826
|
+
.colamd-document strong { color: var(--seed-ink); font-weight: 600; }
|
|
827
|
+
.colamd-document em {
|
|
828
|
+
font-family: Georgia, "Noto Serif SC", serif;
|
|
829
|
+
font-style: italic;
|
|
830
|
+
}
|
|
831
|
+
.colamd-document a {
|
|
832
|
+
color: var(--link-color);
|
|
833
|
+
text-decoration: none;
|
|
834
|
+
border-bottom: 1px solid rgba(237, 61, 140, 0.32);
|
|
835
|
+
}
|
|
836
|
+
.colamd-document p { margin: 0.9em 0; }
|
|
837
|
+
.colamd-document ul,
|
|
838
|
+
.colamd-document ol { padding-left: 1.75em; }
|
|
839
|
+
.colamd-document li { margin: 0.25em 0; }
|
|
840
|
+
.colamd-document li::marker { color: var(--seed-accent); }
|
|
841
|
+
.colamd-document code {
|
|
842
|
+
color: var(--text-color);
|
|
843
|
+
font-family: var(--font-mono);
|
|
844
|
+
font-weight: 400;
|
|
845
|
+
font-size: 0.88em;
|
|
846
|
+
background: var(--code-bg);
|
|
847
|
+
border: 1px solid rgba(237, 61, 140, 0.32);
|
|
848
|
+
border-radius: 0;
|
|
849
|
+
padding: 1px 5px;
|
|
850
|
+
}
|
|
851
|
+
.colamd-document pre {
|
|
852
|
+
background: var(--code-block-bg);
|
|
853
|
+
border: 1px solid var(--border-color);
|
|
854
|
+
border-radius: 0; /* 零圆角 */
|
|
855
|
+
}
|
|
856
|
+
.colamd-document pre code {
|
|
857
|
+
color: var(--code-block-text);
|
|
858
|
+
background: transparent;
|
|
859
|
+
border: 0;
|
|
860
|
+
padding: 0;
|
|
861
|
+
}
|
|
862
|
+
.colamd-document blockquote {
|
|
863
|
+
color: var(--text-secondary);
|
|
864
|
+
font-family: "DM Serif Display", "Noto Serif SC", "Songti SC", Georgia, serif;
|
|
865
|
+
font-size: 1.18em;
|
|
866
|
+
line-height: 1.5;
|
|
867
|
+
background: var(--blockquote-bg);
|
|
868
|
+
border-left: 1px solid var(--blockquote-border);
|
|
869
|
+
padding: 0.5em 1.2em;
|
|
870
|
+
}
|
|
871
|
+
.colamd-document mark { background: var(--highlight-bg); color: var(--seed-ink); }
|
|
872
|
+
.colamd-document table { border-collapse: collapse; width: 100%; }
|
|
873
|
+
.colamd-document th,
|
|
874
|
+
.colamd-document td {
|
|
875
|
+
border: 1px solid rgba(237, 61, 140, 0.32);
|
|
876
|
+
padding: 10px 14px;
|
|
877
|
+
border-radius: 0;
|
|
878
|
+
}
|
|
879
|
+
.colamd-document td { font-weight: 400; }
|
|
880
|
+
.colamd-document th {
|
|
881
|
+
color: var(--seed-ink);
|
|
882
|
+
font-family: var(--font-mono);
|
|
883
|
+
font-size: 0.8em;
|
|
884
|
+
font-weight: 400;
|
|
885
|
+
letter-spacing: 0.14em;
|
|
886
|
+
text-transform: uppercase;
|
|
887
|
+
background: var(--table-header-bg);
|
|
888
|
+
border-bottom: 1px solid var(--seed-accent);
|
|
889
|
+
}
|
|
890
|
+
.colamd-document tbody tr:nth-child(even) td { background: var(--seed-panel); }
|
|
891
|
+
.colamd-document hr {
|
|
892
|
+
border: 0;
|
|
893
|
+
border-top: 1px solid rgba(237, 61, 140, 0.32); /* 粉色发丝分隔 */
|
|
894
|
+
}
|
|
895
|
+
.colamd-document img {
|
|
896
|
+
max-width: 100%;
|
|
897
|
+
border: 1px solid var(--border-color);
|
|
898
|
+
border-radius: 0;
|
|
899
|
+
}
|
|
900
|
+
.colamd-document svg.pele { background: var(--pele-bg); border-radius: var(--pele-radius); }
|
|
901
|
+
|
|
902
|
+
/* ═══════════════ SECTION 4 — Print ═══════════════ */
|
|
903
|
+
|
|
904
|
+
@media print {
|
|
905
|
+
html,
|
|
906
|
+
body {
|
|
907
|
+
background: var(--bg-color);
|
|
908
|
+
color: var(--text-color);
|
|
909
|
+
-webkit-print-color-adjust: exact;
|
|
910
|
+
print-color-adjust: exact;
|
|
911
|
+
}
|
|
912
|
+
}
|