@bytechain.cn/colamd-themes 0.6.2 → 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 +39 -1
- 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 +52 -8
- package/themes/broadside.css +1187 -837
package/themes/broadside.css
CHANGED
|
@@ -1,837 +1,1187 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* ColaMD Theme: Broadside(大字报 · 手工精修版,逐页版式复刻)
|
|
3
|
-
* Near-black newspaper canvas, warm cream text, single fire-orange accent;
|
|
4
|
-
* orange register(cover/section/kpi/steps/closing)整页换 fire orange,"ink on fire"。
|
|
5
|
-
* 来源:D:\workspace\git\beautiful-html-templates\templates\broadside\template.html(16 页)
|
|
6
|
-
* + design.md(Barlow 900 小写巨字 / 双 register / 平面 1px hairline 体系)
|
|
7
|
-
*
|
|
8
|
-
* paradigm 备案与微调说明(校验基准见 src/templates/theme-paradigm.md):
|
|
9
|
-
* SL-01/SL-02 —— 橙色环境页 #e85d26(S≈83%)是模板身份"orange register 整页环境色",
|
|
10
|
-
* 但它只出现在 SECTION 1.6 版式规则里,不进 seed 色板;seed 层
|
|
11
|
-
* surface/panel 全部近中性,SL-01/SL-02 实测通过;
|
|
12
|
-
* SL-03 —— surface 微调 #111111→#111110(H0→H60,视觉无差),与 panel/panel-alt
|
|
13
|
-
* 同入 60° 暖灰轴,保三层表面同色相轴(可修则修);
|
|
14
|
-
* NT-01 —— cream 墨阶并轴:ink-muted #888880→#8a8680(H60→H36
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
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
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
--
|
|
131
|
-
--
|
|
132
|
-
--
|
|
133
|
-
--
|
|
134
|
-
--
|
|
135
|
-
--
|
|
136
|
-
--
|
|
137
|
-
--
|
|
138
|
-
--
|
|
139
|
-
--
|
|
140
|
-
--
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
--
|
|
144
|
-
--
|
|
145
|
-
--
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
/*
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
body
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
/*
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
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
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
/*
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
body.presenting
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
body.presenting #editor
|
|
250
|
-
body.
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
body.
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
body
|
|
270
|
-
|
|
271
|
-
body.presenting
|
|
272
|
-
body.presenting
|
|
273
|
-
body.presenting
|
|
274
|
-
body.presenting
|
|
275
|
-
body.
|
|
276
|
-
body.slides-printing:has(.cm-md-slide-
|
|
277
|
-
body.slides-printing:has(.cm-md-slide-
|
|
278
|
-
body.slides-printing:has(.cm-md-slide-
|
|
279
|
-
body.slides-printing:has(.cm-md-slide-
|
|
280
|
-
body.slides-printing:has(.cm-md-slide-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
body.
|
|
284
|
-
body.
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
body.presenting
|
|
290
|
-
body.presenting
|
|
291
|
-
body.presenting
|
|
292
|
-
body.presenting
|
|
293
|
-
body.presenting
|
|
294
|
-
body.
|
|
295
|
-
body.
|
|
296
|
-
body.
|
|
297
|
-
body.
|
|
298
|
-
body.
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
body.presenting #editor[data-slide-layout='
|
|
303
|
-
body.
|
|
304
|
-
body.
|
|
305
|
-
body.
|
|
306
|
-
body.
|
|
307
|
-
body.slides-printing:has(.cm-md-slide-
|
|
308
|
-
body.slides-printing:has(.cm-md-slide-
|
|
309
|
-
body.slides-printing:has(.cm-md-slide-
|
|
310
|
-
body.slides-printing:has(.cm-md-slide-
|
|
311
|
-
body.slides-printing:has(.cm-md-slide-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
body.
|
|
316
|
-
body.
|
|
317
|
-
body.
|
|
318
|
-
body.
|
|
319
|
-
body.
|
|
320
|
-
body.
|
|
321
|
-
body.
|
|
322
|
-
body.
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
body.
|
|
328
|
-
body.
|
|
329
|
-
body.
|
|
330
|
-
body.
|
|
331
|
-
body.
|
|
332
|
-
body.slides-printing:has(.cm-md-slide-
|
|
333
|
-
body.slides-printing:has(.cm-md-slide-
|
|
334
|
-
body.slides-printing:has(.cm-md-slide-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
/* 1.6.
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
body.presenting #editor[data-slide-layout='
|
|
343
|
-
body.
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
body.
|
|
348
|
-
body.slides-printing .cm-md-slide-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
body.presenting #editor
|
|
355
|
-
body.slides-printing .cm-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
body.presenting #editor[data-slide-layout='
|
|
361
|
-
body.
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
body.
|
|
369
|
-
body.slides-printing
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
body.
|
|
377
|
-
body.slides-printing
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
body.presenting #editor[data-slide-layout='
|
|
383
|
-
body.
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
body.
|
|
392
|
-
body.slides-printing
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
body.presenting
|
|
407
|
-
body.
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
body.presenting
|
|
423
|
-
body.
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
body.presenting #editor
|
|
437
|
-
body.
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
body.presenting #editor
|
|
457
|
-
body.slides-printing
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
body.
|
|
461
|
-
body.slides-printing
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
body.presenting #editor .cm-content .cm-md-
|
|
473
|
-
body.
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
body.
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
padding-bottom:
|
|
489
|
-
}
|
|
490
|
-
body.presenting #editor .cm-content .cm-md-slide-
|
|
491
|
-
body.slides-printing
|
|
492
|
-
font-size:
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
font-size:
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
body.
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
body.presenting #editor .cm-content .cm-md-slide-
|
|
516
|
-
body.slides-printing
|
|
517
|
-
font-size:
|
|
518
|
-
font-weight:
|
|
519
|
-
line-height:
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
margin-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
font-size:
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
body.
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
/*
|
|
571
|
-
|
|
572
|
-
body.presenting #editor .cm-content .cm-md-slide-
|
|
573
|
-
body.slides-printing .cm-md-slide-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
body.
|
|
581
|
-
|
|
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
|
-
|
|
621
|
-
#
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
color:
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
text-
|
|
658
|
-
}
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
#editor .cm-content .cm-md-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
color: var(--
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
#editor .cm-content .cm-md-
|
|
729
|
-
#editor .cm-content .cm-md-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
#
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
.
|
|
758
|
-
.
|
|
759
|
-
.
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
font-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
}
|
|
769
|
-
.
|
|
770
|
-
.
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
color:
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
.
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
}
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
.
|
|
818
|
-
.
|
|
819
|
-
.
|
|
820
|
-
.
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
1
|
+
/*
|
|
2
|
+
* ColaMD Theme: Broadside(大字报 · 手工精修版,逐页版式复刻)
|
|
3
|
+
* Near-black newspaper canvas, warm cream text, single fire-orange accent;
|
|
4
|
+
* orange register(cover/section/kpi/steps/closing)整页换 fire orange,"ink on fire"。
|
|
5
|
+
* 来源:D:\workspace\git\beautiful-html-templates\templates\broadside\template.html(16 页)
|
|
6
|
+
* + design.md(Barlow 900 小写巨字 / 双 register / 平面 1px hairline 体系)
|
|
7
|
+
*
|
|
8
|
+
* paradigm 备案与微调说明(校验基准见 src/templates/theme-paradigm.md):
|
|
9
|
+
* SL-01/SL-02 —— 橙色环境页 #e85d26(S≈83%)是模板身份"orange register 整页环境色",
|
|
10
|
+
* 但它只出现在 SECTION 1.6 版式规则里,不进 seed 色板;seed 层
|
|
11
|
+
* surface/panel 全部近中性,SL-01/SL-02 实测通过;
|
|
12
|
+
* SL-03 —— surface 微调 #111111→#111110(H0→H60,视觉无差),与 panel/panel-alt
|
|
13
|
+
* 同入 60° 暖灰轴,保三层表面同色相轴(可修则修);
|
|
14
|
+
* NT-01 —— cream 墨阶并轴:ink-muted #888880→#8a8680→#98938b(H60→H36,正文灰
|
|
15
|
+
* 亮度再提 10%)、ink-dim 微调,
|
|
16
|
+
* 三档 ΔH≤2°(可修则修,视觉无差);
|
|
17
|
+
* CR-03 —— ink-dim 模板 #505048 只有 2.3:1,提亮到 #6b6862(3.4:1)保 MUST(可修则修);
|
|
18
|
+
* NT-02 —— 模板 hairline #282826 与 panel 明度差 0.055<0.08(边框不可见),提亮到
|
|
19
|
+
* #7a7770(可修则修);1.6 版式层 chrome 仍用模板字面值 #282826;
|
|
20
|
+
* CR-04 —— accent #e85d26 对 #111 实测 5.5:1 ≥4.5,无需备案;橙底页文字一律切墨
|
|
21
|
+
* (ink on fire,#111 字面值),橙从不做橙底上的文字色;
|
|
22
|
+
* NT-03 —— border #7a7770 S=4.3% ≤5%,通过。
|
|
23
|
+
* 未复刻项(行式 DOM 无挂点,逐一注明于 SECTION 1.6):巨字引号以 ::before 近似,
|
|
24
|
+
* 其余见 1.5 注释清单。同形页:P3 statement/P6 fadelist/P9 compare/P15 cycle
|
|
25
|
+
* 均不单列,差异在对应版式注释备案。
|
|
26
|
+
*
|
|
27
|
+
* 契约:ColaMD Extend 2.7.13(CodeMirror 6 编辑器 + Pele 图表引擎)
|
|
28
|
+
*
|
|
29
|
+
* 两条硬规矩:
|
|
30
|
+
* 1. 变量一律写在 :root。没写的活变量继承 Light 主题默认值;写在别的选择器里
|
|
31
|
+
* 编辑器继承不到。
|
|
32
|
+
* 2. 编辑器里没有 <h1>/<blockquote> 这种元素:标题是「一行」带一个类,引用与
|
|
33
|
+
* 代码块是每一行一个 div,加粗是一个 span。所以选择器只认 .cm-md-* 钩子,
|
|
34
|
+
* 并且引用/代码块**不能加纵向 padding**——那会按行累加。
|
|
35
|
+
*
|
|
36
|
+
* ═══════════════════════════════════════════════════════════
|
|
37
|
+
* SECTION 1 — Design Tokens
|
|
38
|
+
* 改 11 个种子色 + 3 组字体即可换一套主题
|
|
39
|
+
* ═══════════════════════════════════════════════════════════ */
|
|
40
|
+
|
|
41
|
+
/* 参考页 template.html 用 Google Fonts 加载 Barlow / IBM Plex Mono(OFL);
|
|
42
|
+
这里镜像同一份 webfont(latin 子集),编号(.flow-num = f-display Barlow 900)
|
|
43
|
+
与拉丁标题才会呈现参考图字形。离线/断网时自动回落到系统 grotesk(Arial 等)。
|
|
44
|
+
用 @font-face 而非 @import:导出时主题 CSS 会被拼进已有样式表,@import 位置非法会被丢弃 */
|
|
45
|
+
@font-face {
|
|
46
|
+
font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap;
|
|
47
|
+
src: url("https://fonts.gstatic.com/s/barlow/v13/7cHpv4kjgoGqM7E_DMs5.woff2") format("woff2");
|
|
48
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
|
|
49
|
+
}
|
|
50
|
+
@font-face {
|
|
51
|
+
font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap;
|
|
52
|
+
src: url("https://fonts.gstatic.com/s/barlow/v13/7cHqv4kjgoGqM7E3_-gs51os.woff2") format("woff2");
|
|
53
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
|
|
54
|
+
}
|
|
55
|
+
@font-face {
|
|
56
|
+
font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap;
|
|
57
|
+
src: url("https://fonts.gstatic.com/s/barlow/v13/7cHqv4kjgoGqM7E3t-4s51os.woff2") format("woff2");
|
|
58
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
|
|
59
|
+
}
|
|
60
|
+
@font-face {
|
|
61
|
+
font-family: "Barlow"; font-style: normal; font-weight: 800; font-display: swap;
|
|
62
|
+
src: url("https://fonts.gstatic.com/s/barlow/v13/7cHqv4kjgoGqM7E3q-0s51os.woff2") format("woff2");
|
|
63
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
|
|
64
|
+
}
|
|
65
|
+
@font-face {
|
|
66
|
+
font-family: "Barlow"; font-style: normal; font-weight: 900; font-display: swap;
|
|
67
|
+
src: url("https://fonts.gstatic.com/s/barlow/v13/7cHqv4kjgoGqM7E3j-ws51os.woff2") format("woff2");
|
|
68
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
|
|
69
|
+
}
|
|
70
|
+
@font-face {
|
|
71
|
+
font-family: "IBM Plex Mono"; font-style: normal; font-weight: 300; font-display: swap;
|
|
72
|
+
src: url("https://fonts.gstatic.com/s/ibmplexmono/v23/-F6qfjptAgt5VM-kVkqdyU8n3oQIwlBFgg.woff2") format("woff2");
|
|
73
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
|
|
74
|
+
}
|
|
75
|
+
@font-face {
|
|
76
|
+
font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap;
|
|
77
|
+
src: url("https://fonts.gstatic.com/s/ibmplexmono/v23/-F63fjptAgt5VM-kVkqdyU8n1i8q1w.woff2") format("woff2");
|
|
78
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
|
|
79
|
+
}
|
|
80
|
+
@font-face {
|
|
81
|
+
font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap;
|
|
82
|
+
src: url("https://fonts.gstatic.com/s/ibmplexmono/v23/-F6qfjptAgt5VM-kVkqdyU8n3twJwlBFgg.woff2") format("woff2");
|
|
83
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
/* ── 0. Bilingual font split ──
|
|
87
|
+
字体栈按字符回退:中文衬线直接排进 --font-body 时,Barlow 未安装的机器上
|
|
88
|
+
拉丁也会落到衬线的拉丁字形(broadside 的 grotesk 声部丢失)。这里用
|
|
89
|
+
unicode-range 把拉丁与 CJK 拆成别名族:
|
|
90
|
+
Broadside Latin —— 拉丁/数字/西文标点,Barlow → Helvetica → Arial
|
|
91
|
+
Broadside Mono —— 拉丁等宽,IBM Plex Mono → Cascadia Mono → Consolas
|
|
92
|
+
Broadside Serif CJK —— 中文/全角标点,思源宋体 → 宋体-简 → 华文宋体 → 中易宋体
|
|
93
|
+
local() 缺失时别名族自动跳过,由栈里后续 family 兜底。 */
|
|
94
|
+
@font-face {
|
|
95
|
+
font-family: "Broadside Latin";
|
|
96
|
+
src: local("Barlow"), local("Helvetica Neue"), local("Arial"), local("Segoe UI");
|
|
97
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20A0-20CF;
|
|
98
|
+
}
|
|
99
|
+
@font-face {
|
|
100
|
+
font-family: "Broadside Mono";
|
|
101
|
+
src: local("IBM Plex Mono"), local("Cascadia Mono"), local("Consolas"), local("Menlo");
|
|
102
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20A0-20CF;
|
|
103
|
+
}
|
|
104
|
+
@font-face {
|
|
105
|
+
font-family: "Broadside Serif CJK";
|
|
106
|
+
src: local("Noto Serif SC"), local("Source Han Serif SC"), local("Songti SC"),
|
|
107
|
+
local("STSong"), local("SimSun"), local("宋体"), local("NSimSun");
|
|
108
|
+
unicode-range: U+2E80-2EFF, U+3000-303F, U+31C0-31EF, U+3400-4DBF, U+4E00-9FFF,
|
|
109
|
+
U+F900-FAFF, U+FE30-FE4F, U+FF00-FFEF;
|
|
110
|
+
}
|
|
111
|
+
/* 标题中文字族:参考 elegant 主题的主体(霞鹜文楷 → 思源宋体 → 宋体-简),
|
|
112
|
+
只在标题声部启用;正文仍用上面的 Serif CJK */
|
|
113
|
+
@font-face {
|
|
114
|
+
font-family: "Broadside Title CJK";
|
|
115
|
+
src: local("LXGW WenKai"), local("LXGW WenKai TC"), local("LXGW WenKai GB"),
|
|
116
|
+
local("Noto Serif SC"), local("Source Han Serif SC"), local("Songti SC"),
|
|
117
|
+
local("STSong"), local("SimSun"), local("宋体");
|
|
118
|
+
unicode-range: U+2E80-2EFF, U+3000-303F, U+31C0-31EF, U+3400-4DBF, U+4E00-9FFF,
|
|
119
|
+
U+F900-FAFF, U+FE30-FE4F, U+FF00-FFEF;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
:root {
|
|
123
|
+
|
|
124
|
+
/* ── 1.1 Seed Palette ──
|
|
125
|
+
本工具的再生成与校验读这一层;编辑器不消费。
|
|
126
|
+
来源(template.html :root):bg #111111 / bg-alt #1a1a18 / orange #e85d26
|
|
127
|
+
fg #f0ece5 / fg-2 #888880 / fg-3 #505048 / border #282826
|
|
128
|
+
模板约定:橙 = 暗底上的唯一强调(kicker/stat/序标/高亮条),也是声明页
|
|
129
|
+
(cover/chapter/stats/diagram/end)的整页环境色;橙底页文字一律墨 #111。 */
|
|
130
|
+
--seed-accent: #e85d26;
|
|
131
|
+
--seed-accent-light: #ef7d50; /* 派生提亮档(模板无此token) */
|
|
132
|
+
--seed-accent-dark: #c74c1f; /* 派生加深档 */
|
|
133
|
+
--seed-surface: #111110; /* 模板 #111111 微调保 SL-03(见头注) */
|
|
134
|
+
--seed-panel: #1a1a18; /* bg-alt 次表面 */
|
|
135
|
+
--seed-panel-alt: #282826; /* border-dark 档 */
|
|
136
|
+
--seed-ink: #f0ece5;
|
|
137
|
+
--seed-ink-muted: #98938b; /* 模板 #888880 并轴微调(NT-01);正文灰再提亮 10% */
|
|
138
|
+
--seed-ink-dim: #6b6862; /* 模板 #505048 提亮保 CR-03 ≥3:1 */
|
|
139
|
+
--seed-border: #7a7770; /* 模板 #282826 提亮保 NT-02(见头注) */
|
|
140
|
+
--seed-border-strong: #57534d; /* hr/th 强线档(暖灰) */
|
|
141
|
+
|
|
142
|
+
/* ── 1.2 Semantic Colors(活变量)── */
|
|
143
|
+
--bg-color: var(--seed-surface);
|
|
144
|
+
--text-color: var(--seed-ink);
|
|
145
|
+
--text-secondary: var(--seed-ink-muted);
|
|
146
|
+
--text-muted: var(--seed-ink-dim);
|
|
147
|
+
--border-color: var(--seed-border);
|
|
148
|
+
--link-color: var(--seed-accent); /* 5.5:1 ≥4.5(CR-04) */
|
|
149
|
+
|
|
150
|
+
--code-bg: var(--seed-panel);
|
|
151
|
+
--code-block-bg: var(--seed-panel);
|
|
152
|
+
--code-block-text: #f0ece5;
|
|
153
|
+
|
|
154
|
+
--blockquote-border: var(--seed-accent); /* 模板 .rule 36×2 橙短线的竖轨回声 */
|
|
155
|
+
--blockquote-bg: rgba(255, 255, 255, 0.04); /* img-placeholder 同款白纱 */
|
|
156
|
+
--table-header-bg: var(--seed-panel);
|
|
157
|
+
|
|
158
|
+
--selection-bg: rgba(232, 93, 38, 0.25);
|
|
159
|
+
--highlight-bg: rgba(232, 93, 38, 0.30);
|
|
160
|
+
|
|
161
|
+
/* ── 1.3 Typography & Metrics(活变量)──
|
|
162
|
+
Barlow 单一字相体系(400/500/700/800/900),display 永不大写;
|
|
163
|
+
IBM Plex Mono 只做 chrome(kicker/序标/页码)。
|
|
164
|
+
中文一律走印刷体(宋体/思源宋体)——报头气质靠衬线中文立住,标题尤其;
|
|
165
|
+
兜底顺序:Noto Serif SC / 思源宋体(900 可用)→ 宋体-简 → 华文宋体 → 中易宋体。 */
|
|
166
|
+
--font-body: "Barlow", "Broadside Latin", "Broadside Serif CJK", "Noto Serif SC",
|
|
167
|
+
"Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
|
|
168
|
+
/* 等宽声部只有拉丁需要真 mono;中文取印刷体(chrome 里的中文标签) */
|
|
169
|
+
--font-mono: "IBM Plex Mono", "Broadside Mono", "Broadside Serif CJK", "Sarasa Mono SC",
|
|
170
|
+
"Noto Sans Mono CJK SC", "Noto Serif SC", "Songti SC", "SimSun", monospace;
|
|
171
|
+
--editor-font-size: 17px; /* 中文印刷体在 16px 下偏细,抬一档更耐读 */
|
|
172
|
+
--editor-column-width: 820px;
|
|
173
|
+
|
|
174
|
+
/* ── 1.4 Pele Diagram(9 个变量,全部可省略)──
|
|
175
|
+
图画在暗底上;accent 橙 = 模板 bar-fill.accent / stat-value 的高亮条。 */
|
|
176
|
+
--pele-bg: var(--code-block-bg);
|
|
177
|
+
--pele-fg: var(--code-block-text);
|
|
178
|
+
--pele-muted: color-mix(in srgb, var(--code-block-text) 70%, var(--code-block-bg));
|
|
179
|
+
--pele-line: color-mix(in srgb, var(--code-block-text) 45%, var(--code-block-bg));
|
|
180
|
+
--pele-surface: color-mix(in srgb, var(--code-block-text) 14%, var(--code-block-bg));
|
|
181
|
+
--pele-surface-alt: color-mix(in srgb, var(--code-block-text) 24%, var(--code-block-bg));
|
|
182
|
+
--pele-border: color-mix(in srgb, var(--code-block-text) 40%, var(--code-block-bg));
|
|
183
|
+
--pele-accent: var(--seed-accent);
|
|
184
|
+
--pele-radius: 0px; /* 模板:平面体系,除 nav-dot 外零圆角 */
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
/* ── 1.5 PPT / Slides(ColaMD 2.7.13 · 按 broadside 16 页逐页复刻)──
|
|
188
|
+
换算锚点:放映基准字号 clamp(17px,1.35vw,26px),1080p ≈ 26px/em;
|
|
189
|
+
模板全 vw 流式,@1920 1vw=19.2px,px ÷ 26 = em(换算式随属性注释)。
|
|
190
|
+
字体体系:Barlow(display 900 小写 / h1 800 / h2 700 / h3 600,负字距)
|
|
191
|
+
+ IBM Plex Mono(chrome 500 大写 .14em);中文标题取 elegant 主体
|
|
192
|
+
(LXGW WenKai → 思源宋体 → 宋体-简),正文中文用思源宋体系。
|
|
193
|
+
页面对照(16 页 → 12 版式):
|
|
194
|
+
cover←P1(cover) section←P3(statement) agenda←P7(list)
|
|
195
|
+
matrix←P5(stats) quote←P6(fadelist) two-col←P9(compare)
|
|
196
|
+
kpi←P15(cycle) timeline←P14(vtimeline) steps←P11(diagram)
|
|
197
|
+
figure←P12(pie) default←P12(pie) closing←P16(end)
|
|
198
|
+
未单列的页(按用户指定对照,差异备案):
|
|
199
|
+
P2 chapter → section 的大字声部近似(h1 800 橙字),chapter-num/rule 无挂点;
|
|
200
|
+
P4 split → two-col(左文右图对半,two-col 保持上游列流);
|
|
201
|
+
P8 quote → 上游 quote 声部(大字金句),与本主题 quote←P6 的 fadelist
|
|
202
|
+
构图不冲突:fadelist 无引号、右对齐阶梯渐隐;
|
|
203
|
+
P10 chart → figure 的图表容器(保持上游默认);
|
|
204
|
+
P13 pyramid → matrix 的旧实现退役(matrix 改按 P5 stats)。
|
|
205
|
+
换底页(orange register,模板 .orange):P1 cover / P5 stats(matrix) /
|
|
206
|
+
P6 fadelist(quote) / P11 diagram(steps) / P16 end(closing) ——
|
|
207
|
+
整页换 #e85d26(五层链见 1.6.2),ghost opacity:0、td 换墨;
|
|
208
|
+
橙底页 kicker/chrome 一律 ink .55 / hairline ink .2。
|
|
209
|
+
极难复刻项(行式 DOM 无挂点):cover-meta 作者行、broadside-num 目录号、
|
|
210
|
+
rule 36×2 短线、fadelist 三词渐隐(以 :nth-child(of) 近似)、
|
|
211
|
+
compare 右半橙面板、bar-track/pie-donut、pyramid 明度阶梯、
|
|
212
|
+
vt-spine 橙方块、cycle 2×2 箭头网格、end 落款条。 */
|
|
213
|
+
:root {
|
|
214
|
+
--slide-mono: "IBM Plex Mono", "Broadside Mono", "Broadside Serif CJK", "Sarasa Mono SC",
|
|
215
|
+
"Noto Sans Mono CJK SC", "Noto Serif SC", "Songti SC", "SimSun", monospace;
|
|
216
|
+
--slide-title-font: "Barlow", "Broadside Latin", "Broadside Title CJK", "LXGW WenKai",
|
|
217
|
+
"LXGW WenKai TC", "Noto Serif SC", "Source Han Serif SC", "Songti SC",
|
|
218
|
+
"STSong", "SimSun", Georgia, serif; /* 中文标题 = elegant 主体声部 */
|
|
219
|
+
--slide-title-size: 3.32em; /* 内容页题 h2 4.5vw=86.4px ÷26 */
|
|
220
|
+
--slide-title-weight: 700; /* h2 700;display 永不大写 */
|
|
221
|
+
--slide-subhead-weight: 800; /* h1 800 */
|
|
222
|
+
--slide-title-tracking: -0.02em;
|
|
223
|
+
--slide-title-line-height: 1.1;
|
|
224
|
+
--slide-cover-title-size: 9.6em; /* display 13vw=249.6px ÷26 */
|
|
225
|
+
--slide-cover-title-line-height: 0.88;
|
|
226
|
+
--slide-cover-title-tracking: -0.04em;
|
|
227
|
+
--slide-section-title-size: 5.54em; /* P3 statement h1 7.5vw=144px ÷26 */
|
|
228
|
+
--slide-closing-title-size: 9.6em; /* end 同 display 13vw ÷26 */
|
|
229
|
+
--slide-lead-size: 1.18em; /* lead 1.6vw=30.7px ÷26 */
|
|
230
|
+
--slide-kicker-size: clamp(11px, 0.72vw, 14px); /* label 0.72vw=13.8px @1920 */
|
|
231
|
+
--slide-kicker-tracking: 0.14em; /* 模板 .label/.kicker .14em */
|
|
232
|
+
--slide-kicker-transform: uppercase;
|
|
233
|
+
--slide-chrome-opacity: 0.75;
|
|
234
|
+
--slide-chrome-transform: uppercase; /* chrome 全大写(mono 声部) */
|
|
235
|
+
--slide-kpi-number-size: 3.32em; /* P15 cycle-num 4vw=76.8px ÷26 ÷0.89 */
|
|
236
|
+
--slide-quote-size: 5.54em; /* P6 fadelist-item 7.5vw=144px ÷26 */
|
|
237
|
+
--slide-page-pad-x: 5.5vw; /* 模板 pad-x */
|
|
238
|
+
--slide-page-top-pad: 48px; /* pad-y 5.5vh≈59px@1080 − chrome 安全区 */
|
|
239
|
+
--slide-page-top-pad-print: 42px;
|
|
240
|
+
--slide-cover-text-align: left;
|
|
241
|
+
--slide-cover-lead-inline: 0; /* lead 左对齐,不居中 */
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
/* ═══════════════ SECTION 1.6 — 版式页复刻(SLIDE-02:全部包裹在
|
|
245
|
+
body.presenting / body.slides-printing 作用域) ═══════════════ */
|
|
246
|
+
|
|
247
|
+
/* 1.6.1 页标题声部对齐:Barlow 700 小写负字距;压掉文档式 h1/h2 的 border-bottom
|
|
248
|
+
(编辑器规则带 id 权重会漏进放映);kicker 全局切橙(模板 .kicker 暗底声部) */
|
|
249
|
+
body.presenting #editor .cm-content .cm-md-page-title,
|
|
250
|
+
body.slides-printing #editor .cm-content .cm-md-page-title {
|
|
251
|
+
font-family: var(--slide-title-font);
|
|
252
|
+
font-size: var(--slide-title-size);
|
|
253
|
+
font-weight: 700;
|
|
254
|
+
line-height: 1.1;
|
|
255
|
+
letter-spacing: -0.02em;
|
|
256
|
+
text-transform: none; /* Broadside:display 永不大写 */
|
|
257
|
+
color: var(--text-color);
|
|
258
|
+
border-bottom: none;
|
|
259
|
+
padding-bottom: 0;
|
|
260
|
+
margin-bottom: 0.45em;
|
|
261
|
+
}
|
|
262
|
+
body.presenting #editor .cm-content .cm-md-page-title[data-slide-kicker]::before,
|
|
263
|
+
body.slides-printing #editor .cm-content .cm-md-page-title[data-slide-kicker]::before {
|
|
264
|
+
color: var(--seed-accent);
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
/* 1.6.2 orange register · P1/P5/P6/P11/P16(cover/matrix/quote/steps/closing):
|
|
268
|
+
整页换 fire orange("ink on fire")。底色必须打满整条层叠链——
|
|
269
|
+
body / #editor / .cm-editor / .cm-scroller / .cm-content 五层,只挂 body 或漏
|
|
270
|
+
#editor 都会被平台原暗底反盖(与 pin-and-paper 1.6.4 同病) */
|
|
271
|
+
body.presenting:has(#editor[data-slide-layout='cover']),
|
|
272
|
+
body.presenting:has(#editor[data-slide-layout='matrix']),
|
|
273
|
+
body.presenting:has(#editor[data-slide-layout='quote']),
|
|
274
|
+
body.presenting:has(#editor[data-slide-layout='steps']),
|
|
275
|
+
body.presenting:has(#editor[data-slide-layout='closing']),
|
|
276
|
+
body.slides-printing:has(.cm-md-slide-cover),
|
|
277
|
+
body.slides-printing:has(.cm-md-slide-matrix),
|
|
278
|
+
body.slides-printing:has(.cm-md-slide-quote),
|
|
279
|
+
body.slides-printing:has(.cm-md-slide-steps),
|
|
280
|
+
body.slides-printing:has(.cm-md-slide-closing) {
|
|
281
|
+
background: var(--seed-accent);
|
|
282
|
+
}
|
|
283
|
+
body.presenting #editor[data-slide-layout='cover'],
|
|
284
|
+
body.presenting #editor[data-slide-layout='matrix'],
|
|
285
|
+
body.presenting #editor[data-slide-layout='quote'],
|
|
286
|
+
body.presenting #editor[data-slide-layout='steps'],
|
|
287
|
+
body.presenting #editor[data-slide-layout='closing'],
|
|
288
|
+
body.presenting #editor[data-slide-layout='cover'] .cm-editor,
|
|
289
|
+
body.presenting #editor[data-slide-layout='cover'] .cm-scroller,
|
|
290
|
+
body.presenting #editor[data-slide-layout='cover'] .cm-content,
|
|
291
|
+
body.presenting #editor[data-slide-layout='matrix'] .cm-editor,
|
|
292
|
+
body.presenting #editor[data-slide-layout='matrix'] .cm-scroller,
|
|
293
|
+
body.presenting #editor[data-slide-layout='matrix'] .cm-content,
|
|
294
|
+
body.presenting #editor[data-slide-layout='quote'] .cm-editor,
|
|
295
|
+
body.presenting #editor[data-slide-layout='quote'] .cm-scroller,
|
|
296
|
+
body.presenting #editor[data-slide-layout='quote'] .cm-content,
|
|
297
|
+
body.presenting #editor[data-slide-layout='steps'] .cm-editor,
|
|
298
|
+
body.presenting #editor[data-slide-layout='steps'] .cm-scroller,
|
|
299
|
+
body.presenting #editor[data-slide-layout='steps'] .cm-content,
|
|
300
|
+
body.presenting #editor[data-slide-layout='closing'] .cm-editor,
|
|
301
|
+
body.presenting #editor[data-slide-layout='closing'] .cm-scroller,
|
|
302
|
+
body.presenting #editor[data-slide-layout='closing'] .cm-content,
|
|
303
|
+
body.slides-printing:has(.cm-md-slide-cover) #editor,
|
|
304
|
+
body.slides-printing:has(.cm-md-slide-cover) .cm-editor,
|
|
305
|
+
body.slides-printing:has(.cm-md-slide-cover) .cm-scroller,
|
|
306
|
+
body.slides-printing:has(.cm-md-slide-cover) .cm-content,
|
|
307
|
+
body.slides-printing:has(.cm-md-slide-matrix) #editor,
|
|
308
|
+
body.slides-printing:has(.cm-md-slide-matrix) .cm-editor,
|
|
309
|
+
body.slides-printing:has(.cm-md-slide-matrix) .cm-scroller,
|
|
310
|
+
body.slides-printing:has(.cm-md-slide-matrix) .cm-content,
|
|
311
|
+
body.slides-printing:has(.cm-md-slide-quote) #editor,
|
|
312
|
+
body.slides-printing:has(.cm-md-slide-quote) .cm-editor,
|
|
313
|
+
body.slides-printing:has(.cm-md-slide-quote) .cm-scroller,
|
|
314
|
+
body.slides-printing:has(.cm-md-slide-quote) .cm-content,
|
|
315
|
+
body.slides-printing:has(.cm-md-slide-steps) #editor,
|
|
316
|
+
body.slides-printing:has(.cm-md-slide-steps) .cm-editor,
|
|
317
|
+
body.slides-printing:has(.cm-md-slide-steps) .cm-scroller,
|
|
318
|
+
body.slides-printing:has(.cm-md-slide-steps) .cm-content,
|
|
319
|
+
body.slides-printing:has(.cm-md-slide-closing) #editor,
|
|
320
|
+
body.slides-printing:has(.cm-md-slide-closing) .cm-editor,
|
|
321
|
+
body.slides-printing:has(.cm-md-slide-closing) .cm-scroller,
|
|
322
|
+
body.slides-printing:has(.cm-md-slide-closing) .cm-content {
|
|
323
|
+
background: var(--seed-accent);
|
|
324
|
+
}
|
|
325
|
+
/* 橙底页正文/行内元素全切墨(ink on fire 字面值,模板身份);
|
|
326
|
+
序标/引标/链接地址走墨 .45 hint 档(模板 ink-on-orange-faint) */
|
|
327
|
+
body.presenting #editor[data-slide-layout='cover'] .cm-content,
|
|
328
|
+
body.presenting #editor[data-slide-layout='matrix'] .cm-content,
|
|
329
|
+
body.presenting #editor[data-slide-layout='quote'] .cm-content,
|
|
330
|
+
body.presenting #editor[data-slide-layout='steps'] .cm-content,
|
|
331
|
+
body.presenting #editor[data-slide-layout='closing'] .cm-content,
|
|
332
|
+
body.slides-printing:has(.cm-md-slide-cover) .cm-content,
|
|
333
|
+
body.slides-printing:has(.cm-md-slide-matrix) .cm-content,
|
|
334
|
+
body.slides-printing:has(.cm-md-slide-quote) .cm-content,
|
|
335
|
+
body.slides-printing:has(.cm-md-slide-steps) .cm-content,
|
|
336
|
+
body.slides-printing:has(.cm-md-slide-closing) .cm-content {
|
|
337
|
+
color: #111111;
|
|
338
|
+
}
|
|
339
|
+
/* 橙底页页题一律墨(模板 .orange h1/h2 = #111;1.6.1 的 cream 标题声部需压回) */
|
|
340
|
+
body.presenting #editor[data-slide-layout='cover'] .cm-content .cm-md-page-title,
|
|
341
|
+
body.presenting #editor[data-slide-layout='matrix'] .cm-content .cm-md-page-title,
|
|
342
|
+
body.presenting #editor[data-slide-layout='quote'] .cm-content .cm-md-page-title,
|
|
343
|
+
body.presenting #editor[data-slide-layout='steps'] .cm-content .cm-md-page-title,
|
|
344
|
+
body.presenting #editor[data-slide-layout='closing'] .cm-content .cm-md-page-title,
|
|
345
|
+
body.slides-printing .cm-md-slide-cover.cm-md-page-title,
|
|
346
|
+
body.slides-printing .cm-md-slide-matrix.cm-md-page-title,
|
|
347
|
+
body.slides-printing .cm-md-slide-quote.cm-md-page-title,
|
|
348
|
+
body.slides-printing .cm-md-slide-steps.cm-md-page-title,
|
|
349
|
+
body.slides-printing .cm-md-slide-closing.cm-md-page-title {
|
|
350
|
+
color: #111111;
|
|
351
|
+
}
|
|
352
|
+
/* 幻灯片行一律取消文档首行缩进(SECTION 2 的 2em 会漏进标题/导语/正文;
|
|
353
|
+
放映与导出纸面里的每一行都属于幻灯片内容) */
|
|
354
|
+
body.presenting #editor .cm-content .cm-line,
|
|
355
|
+
body.slides-printing #editor .cm-content .cm-line {
|
|
356
|
+
text-indent: 0;
|
|
357
|
+
}
|
|
358
|
+
body.presenting #editor[data-slide-layout='cover'] .cm-md-strong,
|
|
359
|
+
body.presenting #editor[data-slide-layout='matrix'] .cm-md-strong,
|
|
360
|
+
body.presenting #editor[data-slide-layout='quote'] .cm-md-strong,
|
|
361
|
+
body.presenting #editor[data-slide-layout='steps'] .cm-md-strong,
|
|
362
|
+
body.presenting #editor[data-slide-layout='closing'] .cm-md-strong,
|
|
363
|
+
body.presenting #editor[data-slide-layout='cover'] .cm-md-link,
|
|
364
|
+
body.presenting #editor[data-slide-layout='matrix'] .cm-md-link,
|
|
365
|
+
body.presenting #editor[data-slide-layout='quote'] .cm-md-link,
|
|
366
|
+
body.presenting #editor[data-slide-layout='steps'] .cm-md-link,
|
|
367
|
+
body.presenting #editor[data-slide-layout='closing'] .cm-md-link,
|
|
368
|
+
body.slides-printing:has(.cm-md-slide-cover) .cm-md-strong,
|
|
369
|
+
body.slides-printing:has(.cm-md-slide-matrix) .cm-md-strong,
|
|
370
|
+
body.slides-printing:has(.cm-md-slide-quote) .cm-md-strong,
|
|
371
|
+
body.slides-printing:has(.cm-md-slide-steps) .cm-md-strong,
|
|
372
|
+
body.slides-printing:has(.cm-md-slide-closing) .cm-md-strong,
|
|
373
|
+
body.slides-printing:has(.cm-md-slide-cover) .cm-md-link,
|
|
374
|
+
body.slides-printing:has(.cm-md-slide-matrix) .cm-md-link,
|
|
375
|
+
body.slides-printing:has(.cm-md-slide-quote) .cm-md-link,
|
|
376
|
+
body.slides-printing:has(.cm-md-slide-steps) .cm-md-link,
|
|
377
|
+
body.slides-printing:has(.cm-md-slide-closing) .cm-md-link {
|
|
378
|
+
color: #111111;
|
|
379
|
+
}
|
|
380
|
+
body.presenting #editor[data-slide-layout='cover'] .cm-md-listmark,
|
|
381
|
+
body.presenting #editor[data-slide-layout='matrix'] .cm-md-listmark,
|
|
382
|
+
body.presenting #editor[data-slide-layout='quote'] .cm-md-listmark,
|
|
383
|
+
body.presenting #editor[data-slide-layout='steps'] .cm-md-listmark,
|
|
384
|
+
body.presenting #editor[data-slide-layout='closing'] .cm-md-listmark,
|
|
385
|
+
body.presenting #editor[data-slide-layout='cover'] .cm-md-url,
|
|
386
|
+
body.presenting #editor[data-slide-layout='matrix'] .cm-md-url,
|
|
387
|
+
body.presenting #editor[data-slide-layout='quote'] .cm-md-url,
|
|
388
|
+
body.presenting #editor[data-slide-layout='steps'] .cm-md-url,
|
|
389
|
+
body.presenting #editor[data-slide-layout='closing'] .cm-md-url,
|
|
390
|
+
body.slides-printing:has(.cm-md-slide-cover) .cm-md-listmark,
|
|
391
|
+
body.slides-printing:has(.cm-md-slide-matrix) .cm-md-listmark,
|
|
392
|
+
body.slides-printing:has(.cm-md-slide-quote) .cm-md-listmark,
|
|
393
|
+
body.slides-printing:has(.cm-md-slide-steps) .cm-md-listmark,
|
|
394
|
+
body.slides-printing:has(.cm-md-slide-closing) .cm-md-listmark,
|
|
395
|
+
body.slides-printing:has(.cm-md-slide-cover) .cm-md-url,
|
|
396
|
+
body.slides-printing:has(.cm-md-slide-matrix) .cm-md-url,
|
|
397
|
+
body.slides-printing:has(.cm-md-slide-quote) .cm-md-url,
|
|
398
|
+
body.slides-printing:has(.cm-md-slide-steps) .cm-md-url,
|
|
399
|
+
body.slides-printing:has(.cm-md-slide-closing) .cm-md-url {
|
|
400
|
+
color: rgba(17, 17, 17, 0.45);
|
|
401
|
+
}
|
|
402
|
+
/* 幽灵页码 = cream(var(--text-color)),落橙底上同色错乱——与上游 section/closing
|
|
403
|
+
的处理一致,橙底五版式整页隐藏 */
|
|
404
|
+
body.presenting:has(#editor[data-slide-layout='cover']) .slide-ghost,
|
|
405
|
+
body.presenting:has(#editor[data-slide-layout='matrix']) .slide-ghost,
|
|
406
|
+
body.presenting:has(#editor[data-slide-layout='quote']) .slide-ghost,
|
|
407
|
+
body.presenting:has(#editor[data-slide-layout='steps']) .slide-ghost,
|
|
408
|
+
body.presenting:has(#editor[data-slide-layout='closing']) .slide-ghost,
|
|
409
|
+
body.slides-printing:has(.cm-md-slide-cover) .slide-ghost,
|
|
410
|
+
body.slides-printing:has(.cm-md-slide-matrix) .slide-ghost,
|
|
411
|
+
body.slides-printing:has(.cm-md-slide-quote) .slide-ghost,
|
|
412
|
+
body.slides-printing:has(.cm-md-slide-steps) .slide-ghost,
|
|
413
|
+
body.slides-printing:has(.cm-md-slide-closing) .slide-ghost {
|
|
414
|
+
opacity: 0;
|
|
415
|
+
}
|
|
416
|
+
/* 模板 cover / quote / end 三页不显示 chrome 与页脚(.slide--cover/.slide--quote/
|
|
417
|
+
.slide--end 上 display:none);橙底页若保留会露出浅墨 hairline */
|
|
418
|
+
body.presenting:has(#editor[data-slide-layout='cover']) .slide-chrome,
|
|
419
|
+
body.presenting:has(#editor[data-slide-layout='cover']) .slide-foot,
|
|
420
|
+
body.presenting:has(#editor[data-slide-layout='quote']) .slide-chrome,
|
|
421
|
+
body.presenting:has(#editor[data-slide-layout='quote']) .slide-foot,
|
|
422
|
+
body.presenting:has(#editor[data-slide-layout='closing']) .slide-chrome,
|
|
423
|
+
body.presenting:has(#editor[data-slide-layout='closing']) .slide-foot,
|
|
424
|
+
body.slides-printing:has(.cm-md-slide-cover) .slide-chrome,
|
|
425
|
+
body.slides-printing:has(.cm-md-slide-cover) .slide-foot,
|
|
426
|
+
body.slides-printing:has(.cm-md-slide-quote) .slide-chrome,
|
|
427
|
+
body.slides-printing:has(.cm-md-slide-quote) .slide-foot,
|
|
428
|
+
body.slides-printing:has(.cm-md-slide-closing) .slide-chrome,
|
|
429
|
+
body.slides-printing:has(.cm-md-slide-closing) .slide-foot {
|
|
430
|
+
display: none;
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
/* 橙底页表格 td:cream 正文被橙底吃掉 → 换墨色(th 自带 panel 底不受影响) */
|
|
434
|
+
body.presenting #editor[data-slide-layout='cover'] .cm-md-table-widget td,
|
|
435
|
+
body.presenting #editor[data-slide-layout='matrix'] .cm-md-table-widget td,
|
|
436
|
+
body.presenting #editor[data-slide-layout='quote'] .cm-md-table-widget td,
|
|
437
|
+
body.presenting #editor[data-slide-layout='steps'] .cm-md-table-widget td,
|
|
438
|
+
body.presenting #editor[data-slide-layout='closing'] .cm-md-table-widget td,
|
|
439
|
+
body.slides-printing:has(.cm-md-slide-cover) .cm-md-table-widget td,
|
|
440
|
+
body.slides-printing:has(.cm-md-slide-matrix) .cm-md-table-widget td,
|
|
441
|
+
body.slides-printing:has(.cm-md-slide-quote) .cm-md-table-widget td,
|
|
442
|
+
body.slides-printing:has(.cm-md-slide-steps) .cm-md-table-widget td,
|
|
443
|
+
body.slides-printing:has(.cm-md-slide-closing) .cm-md-table-widget td {
|
|
444
|
+
color: #111111;
|
|
445
|
+
}
|
|
446
|
+
/* 橙底页 chrome:ink .55 + 模板 hairline rgba(17,17,17,.2) */
|
|
447
|
+
body.presenting #editor[data-slide-layout='cover'] .slide-chrome,
|
|
448
|
+
body.presenting #editor[data-slide-layout='cover'] .slide-foot,
|
|
449
|
+
body.presenting #editor[data-slide-layout='matrix'] .slide-chrome,
|
|
450
|
+
body.presenting #editor[data-slide-layout='matrix'] .slide-foot,
|
|
451
|
+
body.presenting #editor[data-slide-layout='quote'] .slide-chrome,
|
|
452
|
+
body.presenting #editor[data-slide-layout='quote'] .slide-foot,
|
|
453
|
+
body.presenting #editor[data-slide-layout='steps'] .slide-chrome,
|
|
454
|
+
body.presenting #editor[data-slide-layout='steps'] .slide-foot,
|
|
455
|
+
body.presenting #editor[data-slide-layout='closing'] .slide-chrome,
|
|
456
|
+
body.presenting #editor[data-slide-layout='closing'] .slide-foot,
|
|
457
|
+
body.slides-printing:has(.cm-md-slide-cover) .slide-chrome,
|
|
458
|
+
body.slides-printing:has(.cm-md-slide-cover) .slide-foot,
|
|
459
|
+
body.slides-printing:has(.cm-md-slide-matrix) .slide-chrome,
|
|
460
|
+
body.slides-printing:has(.cm-md-slide-matrix) .slide-foot,
|
|
461
|
+
body.slides-printing:has(.cm-md-slide-quote) .slide-chrome,
|
|
462
|
+
body.slides-printing:has(.cm-md-slide-quote) .slide-foot,
|
|
463
|
+
body.slides-printing:has(.cm-md-slide-steps) .slide-chrome,
|
|
464
|
+
body.slides-printing:has(.cm-md-slide-steps) .slide-foot,
|
|
465
|
+
body.slides-printing:has(.cm-md-slide-closing) .slide-chrome,
|
|
466
|
+
body.slides-printing:has(.cm-md-slide-closing) .slide-foot {
|
|
467
|
+
color: rgba(17, 17, 17, 0.55);
|
|
468
|
+
border-color: rgba(17, 17, 17, 0.2);
|
|
469
|
+
}
|
|
470
|
+
/* 橙底页 kicker:模板 .label / .kicker 在橙底一律墨 .55(cover 已单列) */
|
|
471
|
+
body.presenting #editor[data-slide-layout='matrix'] .cm-content .cm-md-page-title[data-slide-kicker]::before,
|
|
472
|
+
body.presenting #editor[data-slide-layout='quote'] .cm-content .cm-md-page-title[data-slide-kicker]::before,
|
|
473
|
+
body.presenting #editor[data-slide-layout='steps'] .cm-content .cm-md-page-title[data-slide-kicker]::before,
|
|
474
|
+
body.presenting #editor[data-slide-layout='closing'] .cm-content .cm-md-page-title[data-slide-kicker]::before,
|
|
475
|
+
body.slides-printing .cm-md-slide-matrix.cm-md-page-title[data-slide-kicker]::before,
|
|
476
|
+
body.slides-printing .cm-md-slide-quote.cm-md-page-title[data-slide-kicker]::before,
|
|
477
|
+
body.slides-printing .cm-md-slide-steps.cm-md-page-title[data-slide-kicker]::before,
|
|
478
|
+
body.slides-printing .cm-md-slide-closing.cm-md-page-title[data-slide-kicker]::before {
|
|
479
|
+
color: rgba(17, 17, 17, 0.55);
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
/* 1.6.3 cover · P1(orange):13vw 巨题底部锚定,lead 墨 .65 max-width 55%;
|
|
483
|
+
cover-meta 底部作者行与顶线无挂点(未复刻);broadside-num/corner-label →
|
|
484
|
+
kicker 横排 mono 大写墨 .55 */
|
|
485
|
+
body.presenting #editor[data-slide-layout='cover'] .cm-content,
|
|
486
|
+
body.slides-printing:has(.cm-md-slide-cover) .cm-content {
|
|
487
|
+
justify-content: flex-end;
|
|
488
|
+
padding-bottom: 110px; /* cover-meta 带留白 ≈ gap-lg×2+lead 行 */
|
|
489
|
+
}
|
|
490
|
+
body.presenting #editor .cm-content .cm-md-slide-cover.cm-md-page-title,
|
|
491
|
+
body.slides-printing .cm-md-slide-cover.cm-md-page-title {
|
|
492
|
+
font-size: var(--slide-cover-title-size);
|
|
493
|
+
font-weight: 900; /* .display 900 */
|
|
494
|
+
line-height: 0.88;
|
|
495
|
+
letter-spacing: -0.04em;
|
|
496
|
+
max-width: 95%;
|
|
497
|
+
}
|
|
498
|
+
body.presenting #editor[data-slide-layout='cover'] .cm-content .cm-md-page-lead,
|
|
499
|
+
body.slides-printing .cm-md-slide-cover.cm-md-page-lead {
|
|
500
|
+
font-size: var(--slide-lead-size); /* lead 1.6vw ÷26 */
|
|
501
|
+
color: rgba(17, 17, 17, 0.65); /* 橙底上必须切墨(上游 lead 是 cream) */
|
|
502
|
+
opacity: 1;
|
|
503
|
+
max-width: 55%;
|
|
504
|
+
}
|
|
505
|
+
body.presenting #editor[data-slide-layout='cover'] .cm-content .cm-md-page-title[data-slide-kicker]::before,
|
|
506
|
+
body.slides-printing .cm-md-slide-cover.cm-md-page-title[data-slide-kicker]::before {
|
|
507
|
+
color: #111111;
|
|
508
|
+
opacity: 0.55; /* broadside-num ink .45/.55 档 */
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
/* 1.6.4 section · P3(statement,暗底):h1 7.5vw 800 **橙字** max-width 75%,
|
|
512
|
+
行高 .9 / 字距 -.03em;kicker 橙 mono 大写 .14em;statement-rule 36×2 橙条
|
|
513
|
+
无挂点(以 kicker 与标题的间距节奏近似,未复刻);statement 无导语,
|
|
514
|
+
若写了导语按 fg-2 1.6vw 处理 */
|
|
515
|
+
body.presenting #editor .cm-content .cm-md-slide-section.cm-md-page-title,
|
|
516
|
+
body.slides-printing .cm-md-slide-section.cm-md-page-title {
|
|
517
|
+
font-size: var(--slide-section-title-size); /* 7.5vw ÷26 */
|
|
518
|
+
font-weight: 800;
|
|
519
|
+
line-height: 0.9;
|
|
520
|
+
letter-spacing: -0.03em;
|
|
521
|
+
max-width: 75%;
|
|
522
|
+
color: var(--seed-accent); /* .statement h1.accent */
|
|
523
|
+
}
|
|
524
|
+
/* 标题行与导语之间的呼吸(模板 gap-lg) */
|
|
525
|
+
body.presenting #editor .cm-content .cm-md-slide-section.cm-md-page-title,
|
|
526
|
+
body.slides-printing .cm-md-slide-section.cm-md-page-title {
|
|
527
|
+
margin-bottom: 0.35em;
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
/* 橙底页(cover/matrix/steps/closing)页题已在 1.6.2 组统一压回墨色 */
|
|
531
|
+
body.presenting #editor[data-slide-layout='section'] .cm-content .cm-md-page-lead,
|
|
532
|
+
body.slides-printing .cm-md-slide-section.cm-md-page-lead {
|
|
533
|
+
font-size: var(--slide-lead-size);
|
|
534
|
+
max-width: 60%;
|
|
535
|
+
color: var(--text-secondary);
|
|
536
|
+
opacity: 1;
|
|
537
|
+
}
|
|
538
|
+
body.presenting #editor[data-slide-layout='section'] .cm-content .cm-md-page-title[data-slide-kicker]::before,
|
|
539
|
+
body.slides-printing .cm-md-slide-section.cm-md-page-title[data-slide-kicker]::before {
|
|
540
|
+
letter-spacing: 0.14em;
|
|
541
|
+
color: var(--seed-accent); /* .statement .kicker 橙 */
|
|
542
|
+
opacity: 1;
|
|
543
|
+
margin-bottom: 1.1em; /* rule 与 gap-lg 的呼吸感近似 */
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
/* 1.6.5 matrix · P5(stats,orange):无卡裸排 = stat-card 顶线 1px 墨 .22 +
|
|
547
|
+
stat-value 5.5vw 900 墨 + stat-label 1.2vw 墨 .65;三列 inline-block(gap 4vw≈2.8%);
|
|
548
|
+
stat-note 小注无挂点(未复刻) */
|
|
549
|
+
body.presenting #editor .cm-content .cm-md-slide-matrix.cm-md-li,
|
|
550
|
+
body.slides-printing #editor .cm-content .cm-md-slide-matrix.cm-md-li {
|
|
551
|
+
font-size: 0.89em; /* .stat-label 1.2vw=23px ÷26 */
|
|
552
|
+
background: transparent;
|
|
553
|
+
border: none;
|
|
554
|
+
border-top: 1px solid rgba(17, 17, 17, 0.22);
|
|
555
|
+
box-shadow: none;
|
|
556
|
+
border-radius: 0;
|
|
557
|
+
padding: 0.9em 1.2em 0 0; /* gap-md 2vh≈21.6px ÷23.04 ≈ 0.9em */
|
|
558
|
+
margin: 0 0 1.2em;
|
|
559
|
+
width: 33.33%; /* stats-grid repeat(3,1fr)、gap:0 */
|
|
560
|
+
display: inline-block;
|
|
561
|
+
vertical-align: top;
|
|
562
|
+
color: rgba(17, 17, 17, 0.65); /* .orange .stat-label */
|
|
563
|
+
}
|
|
564
|
+
body.presenting #editor .cm-content .cm-md-slide-matrix .cm-md-strong,
|
|
565
|
+
body.slides-printing #editor .cm-content .cm-md-slide-matrix .cm-md-strong {
|
|
566
|
+
font-size: 4.56em; /* P5 stat-value 5.5vw ÷26 ÷0.89 */
|
|
567
|
+
font-weight: 900;
|
|
568
|
+
line-height: 1;
|
|
569
|
+
letter-spacing: -0.04em;
|
|
570
|
+
color: #111111; /* .orange .stat-value */
|
|
571
|
+
}
|
|
572
|
+
body.presenting #editor .cm-content .cm-md-slide-matrix .cm-md-listmark,
|
|
573
|
+
body.slides-printing #editor .cm-content .cm-md-slide-matrix .cm-md-listmark {
|
|
574
|
+
display: none; /* stat-card 无序号 */
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
/* 1.6.6 steps · P11(diagram,orange):flow 裸排四步——
|
|
578
|
+
flow-num 编号 = display 字族(Barlow)5vw 900 墨 .2;
|
|
579
|
+
flow-title(加粗内容)= heading 字族 2.8vw 700 墨;
|
|
580
|
+
flow-desc(正文)= body 字族 1.2vw 400 墨 .6;箭头 → 2.2vw 300 墨 .3
|
|
581
|
+
(li::after 绝对定位进栏距);P15 cycle 同形不单列(暗底 + cycle-step
|
|
582
|
+
顶线 3px 橙,差异备案) */
|
|
583
|
+
body.presenting #editor .cm-content .cm-md-slide-steps.cm-md-li,
|
|
584
|
+
body.slides-printing #editor .cm-content .cm-md-slide-steps.cm-md-li {
|
|
585
|
+
font-family: var(--font-body); /* .flow-desc = f-body */
|
|
586
|
+
font-size: 0.89em; /* .flow-desc 1.2vw ÷26 */
|
|
587
|
+
font-weight: 400;
|
|
588
|
+
line-height: 1.6; /* .flow-desc lh 1.6 */
|
|
589
|
+
background: transparent;
|
|
590
|
+
border: none;
|
|
591
|
+
box-shadow: none;
|
|
592
|
+
border-radius: 0;
|
|
593
|
+
padding: 0;
|
|
594
|
+
margin: 0 5% 1.6em 0; /* 20% 卡 + 5% 栏距(容纳 2.2vw 箭头) */
|
|
595
|
+
width: 20%;
|
|
596
|
+
display: inline-block;
|
|
597
|
+
position: relative; /* 箭头绝对定位到栏距里 */
|
|
598
|
+
vertical-align: top;
|
|
599
|
+
color: rgba(17, 17, 17, 0.6); /* .orange .flow-desc */
|
|
600
|
+
}
|
|
601
|
+
body.presenting #editor .cm-content .cm-md-slide-steps .cm-md-listmark,
|
|
602
|
+
body.slides-printing #editor .cm-content .cm-md-slide-steps .cm-md-listmark {
|
|
603
|
+
display: block; /* flow-num 独立成行(标题在其下) */
|
|
604
|
+
font-family: var(--slide-title-font); /* .flow-num = f-display */
|
|
605
|
+
font-weight: 900;
|
|
606
|
+
font-size: 4.15em; /* .flow-num 5vw=96px ÷26 ÷0.89 */
|
|
607
|
+
line-height: 1;
|
|
608
|
+
letter-spacing: -0.03em;
|
|
609
|
+
text-transform: none;
|
|
610
|
+
margin: 0 0 0.12em;
|
|
611
|
+
color: rgba(17, 17, 17, 0.2); /* .orange .flow-num */
|
|
612
|
+
}
|
|
613
|
+
body.presenting #editor .cm-content .cm-md-slide-steps .cm-md-strong,
|
|
614
|
+
body.slides-printing #editor .cm-content .cm-md-slide-steps .cm-md-strong {
|
|
615
|
+
display: block; /* flow-title 独立成行 */
|
|
616
|
+
font-family: var(--slide-title-font); /* .flow-title = f-heading */
|
|
617
|
+
font-size: 2.32em; /* .flow-title 2.8vw=53.8px ÷26 ÷0.89 */
|
|
618
|
+
font-weight: 700;
|
|
619
|
+
line-height: 1.15;
|
|
620
|
+
margin-bottom: 0.15em;
|
|
621
|
+
color: #111111; /* .orange .flow-title */
|
|
622
|
+
}
|
|
623
|
+
/* .flow-arrow →:2.2vw 300,橙底墨 .3,padding-top 1.2em(相对箭头字号);
|
|
624
|
+
行式 DOM 无独立箭头行 → 用 li 的 ::after 绝对定位到 5% 栏距里,
|
|
625
|
+
最后一张不画(:has(~ ...) 规避尾部空行) */
|
|
626
|
+
body.presenting #editor .cm-content .cm-md-slide-steps.cm-md-li:has(~ .cm-md-slide-steps.cm-md-li)::after,
|
|
627
|
+
body.slides-printing #editor .cm-content .cm-md-slide-steps.cm-md-li:has(~ .cm-md-slide-steps.cm-md-li)::after {
|
|
628
|
+
content: "→";
|
|
629
|
+
position: absolute;
|
|
630
|
+
top: 1.2em; /* .flow-arrow padding-top 1.2em */
|
|
631
|
+
right: -15%; /* 落在栏距中央 */
|
|
632
|
+
font-family: var(--slide-title-font);
|
|
633
|
+
font-size: 1.82em; /* 2.2vw=42.2px ÷26 ÷0.89 */
|
|
634
|
+
font-weight: 300;
|
|
635
|
+
line-height: 1;
|
|
636
|
+
color: rgba(17, 17, 17, 0.3); /* .orange .flow-arrow */
|
|
637
|
+
pointer-events: none;
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
/* 1.6.7 kpi · P15(cycle,暗底):2×2 cycle-step——顶线 3px 橙 + cycle-num 4vw 900 橙
|
|
641
|
+
+ 说明 fg-2;网格 gap 3em 与对角线箭头无挂点,以 46% inline-block + 8% 右距
|
|
642
|
+
+ 2.6em 底距近似;cycle-title 与 cycle-desc 在行式 DOM 合并为一段(title 声部
|
|
643
|
+
由 strong 承担,desc 落到 li 正文) */
|
|
644
|
+
body.presenting #editor .cm-content .cm-md-slide-kpi.cm-md-li,
|
|
645
|
+
body.slides-printing #editor .cm-content .cm-md-slide-kpi.cm-md-li {
|
|
646
|
+
font-size: 0.89em; /* .cycle-desc 1.2vw=23px ÷26 */
|
|
647
|
+
background: transparent;
|
|
648
|
+
border: none;
|
|
649
|
+
border-top: 3px solid var(--seed-accent); /* .cycle-step 顶线 3px 橙 */
|
|
650
|
+
box-shadow: none;
|
|
651
|
+
border-radius: 0;
|
|
652
|
+
padding: 0.9em 1.5em 0 0; /* gap-md 2vh ÷23 ≈ 0.9em */
|
|
653
|
+
margin: 0 4% 2.6em 0; /* 3em gap 折半:两列 46%+4% */
|
|
654
|
+
width: 46%; /* 2×2 网格 */
|
|
655
|
+
display: inline-block;
|
|
656
|
+
vertical-align: top;
|
|
657
|
+
color: var(--text-secondary); /* .cycle-desc fg-2 */
|
|
658
|
+
}
|
|
659
|
+
body.presenting #editor .cm-content .cm-md-slide-kpi .cm-md-strong,
|
|
660
|
+
body.slides-printing #editor .cm-content .cm-md-slide-kpi .cm-md-strong {
|
|
661
|
+
font-size: var(--slide-kpi-number-size); /* .cycle-num 4vw=76.8px ÷26 ÷0.89 */
|
|
662
|
+
font-weight: 900;
|
|
663
|
+
line-height: 1;
|
|
664
|
+
letter-spacing: -0.03em;
|
|
665
|
+
color: var(--seed-accent); /* .cycle-num 橙 */
|
|
666
|
+
}
|
|
667
|
+
body.presenting #editor .cm-content .cm-md-slide-kpi .cm-md-listmark,
|
|
668
|
+
body.slides-printing #editor .cm-content .cm-md-slide-kpi .cm-md-listmark {
|
|
669
|
+
display: none; /* cycle-step 无序号 */
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
/* 1.6.8 timeline · P14(vtimeline,暗底):vt-hl 页题 900 + 1px hairline 底线;
|
|
673
|
+
行 = vt-date mono 大写 .1em + vt-title h3 900 小写 + vt-body fg-2;
|
|
674
|
+
vt-spine 橙方块节点 absolute 无挂点(未复刻) */
|
|
675
|
+
body.presenting #editor .cm-content .cm-md-slide-timeline.cm-md-page-title,
|
|
676
|
+
body.slides-printing .cm-md-slide-timeline.cm-md-page-title {
|
|
677
|
+
font-weight: 900; /* .vt-hl 900 */
|
|
678
|
+
letter-spacing: -0.03em; /* .vt-hl -.03em */
|
|
679
|
+
border-bottom: 1px solid var(--border-color);
|
|
680
|
+
padding-bottom: 0.45em; /* vt-hl padding-bottom gap-md */
|
|
681
|
+
}
|
|
682
|
+
body.presenting #editor .cm-content .cm-md-slide-timeline.cm-md-li,
|
|
683
|
+
body.slides-printing #editor .cm-content .cm-md-slide-timeline.cm-md-li {
|
|
684
|
+
font-size: 0.89em; /* .vt-body 1.2vw ÷26 */
|
|
685
|
+
color: var(--text-secondary);
|
|
686
|
+
margin: 0 0 1.1em;
|
|
687
|
+
}
|
|
688
|
+
body.presenting #editor .cm-content .cm-md-slide-timeline .cm-md-listmark,
|
|
689
|
+
body.slides-printing #editor .cm-content .cm-md-slide-timeline .cm-md-listmark {
|
|
690
|
+
font-family: var(--slide-mono);
|
|
691
|
+
font-weight: 500;
|
|
692
|
+
font-size: 0.75em; /* .vt-date 0.9vw=17.3px ÷26 ÷0.89 */
|
|
693
|
+
letter-spacing: 0.1em;
|
|
694
|
+
color: var(--text-muted); /* fg-3 提档(#505048 过暗) */
|
|
695
|
+
}
|
|
696
|
+
body.presenting #editor .cm-content .cm-md-slide-timeline .cm-md-strong,
|
|
697
|
+
body.slides-printing #editor .cm-content .cm-md-slide-timeline .cm-md-strong {
|
|
698
|
+
font-size: 2.32em; /* .vt-title 2.8vw ÷26 ÷0.89 */
|
|
699
|
+
font-weight: 900; /* .vt-title 900 */
|
|
700
|
+
line-height: 1.1;
|
|
701
|
+
text-transform: lowercase;
|
|
702
|
+
color: var(--text-color);
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
/* 1.6.9 agenda · P7(list,暗底):bullet-list lead 1.6vw 500 + 橙 "/" mono 700
|
|
706
|
+
序标(模板 li::before 无挂点 → listmark 承担);页题走 1.6.1 默认 h2 声部 */
|
|
707
|
+
body.presenting #editor .cm-content .cm-md-slide-agenda.cm-md-li,
|
|
708
|
+
body.slides-printing #editor .cm-content .cm-md-slide-agenda.cm-md-li {
|
|
709
|
+
font-size: 1.18em; /* .bullet-list li 1.6vw ÷26 */
|
|
710
|
+
font-weight: 500;
|
|
711
|
+
line-height: 1.4;
|
|
712
|
+
margin: 0 0 0.9em; /* bullet-list gap-md 2vh */
|
|
713
|
+
color: var(--text-color);
|
|
714
|
+
}
|
|
715
|
+
body.presenting #editor .cm-content .cm-md-slide-agenda .cm-md-listmark,
|
|
716
|
+
body.slides-printing #editor .cm-content .cm-md-slide-agenda .cm-md-listmark {
|
|
717
|
+
font-family: var(--slide-mono);
|
|
718
|
+
font-weight: 700;
|
|
719
|
+
margin-right: 0.3em;
|
|
720
|
+
color: var(--seed-accent); /* "/" 橙 */
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
/* 1.6.10 quote · P6(fadelist,orange):三行阶梯渐隐——item 7.5vw 900 墨、右对齐,
|
|
724
|
+
不透明度 1 / .5 / .22(模板 .fade-1/2/3 三个类名在行式 DOM 无挂点,以
|
|
725
|
+
:nth-child(n of .cm-md-slide-quote.cm-md-blockquote) 近似);署名行 =
|
|
726
|
+
fadelist-title 10.5vw 900 墨右对齐(模板 absolute 右下角 → 行内右对齐近似);
|
|
727
|
+
fadelist 无引号 → 复位上游 ::before */
|
|
728
|
+
body.presenting #editor .cm-content .cm-md-slide-quote.cm-md-blockquote,
|
|
729
|
+
body.slides-printing #editor .cm-content .cm-md-slide-quote.cm-md-blockquote {
|
|
730
|
+
font-size: var(--slide-quote-size); /* 7.5vw=144px ÷26 */
|
|
731
|
+
font-weight: 900;
|
|
732
|
+
line-height: 1; /* .fadelist-item lh 1 */
|
|
733
|
+
letter-spacing: -0.03em; /* .fadelist-item -.03em */
|
|
734
|
+
text-align: right;
|
|
735
|
+
color: #111111; /* .orange .fadelist-item ink */
|
|
736
|
+
background: transparent;
|
|
737
|
+
border-left: none; /* 模板裸排,无竖轨 */
|
|
738
|
+
padding-left: 0;
|
|
739
|
+
padding-right: 0;
|
|
740
|
+
max-width: 100%;
|
|
741
|
+
}
|
|
742
|
+
/* 第 2/3 行渐隐(.fade-2 .5 / .fade-3 .22) */
|
|
743
|
+
body.presenting #editor .cm-content .cm-md-slide-quote:nth-child(2 of .cm-md-slide-quote.cm-md-blockquote),
|
|
744
|
+
body.slides-printing #editor .cm-content .cm-md-slide-quote:nth-child(2 of .cm-md-slide-quote.cm-md-blockquote) {
|
|
745
|
+
opacity: 0.5;
|
|
746
|
+
}
|
|
747
|
+
body.presenting #editor .cm-content .cm-md-slide-quote:nth-child(3 of .cm-md-slide-quote.cm-md-blockquote),
|
|
748
|
+
body.slides-printing #editor .cm-content .cm-md-slide-quote:nth-child(3 of .cm-md-slide-quote.cm-md-blockquote) {
|
|
749
|
+
opacity: 0.22;
|
|
750
|
+
}
|
|
751
|
+
body.presenting #editor .cm-content .cm-md-slide-directive + .cm-md-blockquote.cm-md-slide-quote::before,
|
|
752
|
+
body.slides-printing #editor .cm-content .cm-md-slide-directive + .cm-md-blockquote.cm-md-slide-quote::before {
|
|
753
|
+
content: none; /* fadelist 无巨引号 */
|
|
754
|
+
display: none;
|
|
755
|
+
}
|
|
756
|
+
/* 署名行(fadelist-title):排除块引/页首/指令/空行后命中的普通行 */
|
|
757
|
+
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)),
|
|
758
|
+
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)) {
|
|
759
|
+
margin: 0.25em 0 0;
|
|
760
|
+
font-family: var(--slide-title-font);
|
|
761
|
+
font-weight: 900;
|
|
762
|
+
font-size: 7.75em; /* P6 fadelist-title 10.5vw=201.6px ÷26 */
|
|
763
|
+
line-height: 0.9;
|
|
764
|
+
letter-spacing: -0.04em; /* .fadelist-title -.04em */
|
|
765
|
+
text-align: right;
|
|
766
|
+
text-transform: none;
|
|
767
|
+
color: #111111;
|
|
768
|
+
}
|
|
769
|
+
body.presenting #editor .cm-content .cm-md-slide-quote .cm-md-blockquote .cm-md-em,
|
|
770
|
+
body.slides-printing #editor .cm-content .cm-md-slide-quote .cm-md-blockquote .cm-md-em {
|
|
771
|
+
font-style: normal;
|
|
772
|
+
color: #111111;
|
|
773
|
+
}
|
|
774
|
+
|
|
775
|
+
/* 1.6.11 closing · P16(end,orange):13vw 巨题墨 + 联络/行动清单 lead 墨 .65;
|
|
776
|
+
底部落款条 border-top 无挂点(未复刻);模板无清单序号 → "/" 墨 .45 保留 */
|
|
777
|
+
body.presenting #editor .cm-content .cm-md-slide-closing.cm-md-page-title,
|
|
778
|
+
body.slides-printing .cm-md-slide-closing.cm-md-page-title {
|
|
779
|
+
font-size: var(--slide-closing-title-size);
|
|
780
|
+
font-weight: 900; /* .display 900 */
|
|
781
|
+
line-height: 0.9;
|
|
782
|
+
letter-spacing: -0.04em;
|
|
783
|
+
max-width: 80%; /* 模板 end h1 max-width:80% */
|
|
784
|
+
color: #111111;
|
|
785
|
+
}
|
|
786
|
+
body.presenting #editor .cm-content .cm-md-slide-closing.cm-md-li,
|
|
787
|
+
body.slides-printing #editor .cm-content .cm-md-slide-closing.cm-md-li {
|
|
788
|
+
font-size: var(--slide-lead-size); /* contact lead 1.6vw ÷26 */
|
|
789
|
+
background: transparent;
|
|
790
|
+
border: none;
|
|
791
|
+
box-shadow: none;
|
|
792
|
+
border-radius: 0;
|
|
793
|
+
padding: 0;
|
|
794
|
+
margin: 0 0 0.55em;
|
|
795
|
+
color: rgba(17, 17, 17, 0.65);
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
/* 1.6.12 two-col · P9(compare,暗底):上游放映已是双栏 + 中缝 1px(≈ compare
|
|
799
|
+
左面板右边框);模板 .compare-label(mono .72vw 大写 .14em fg-2 + 1px 底 hairline)
|
|
800
|
+
→ 列首 h2/h3/h4 面板标题承担(页题排除);.panel-orange(右半橙面板)无行级
|
|
801
|
+
挂点,未复刻,以 label 橙强调与中缝对立感近似 */
|
|
802
|
+
body.presenting #editor[data-slide-layout='two-col'] .cm-content {
|
|
803
|
+
column-rule-color: var(--border-color);
|
|
804
|
+
}
|
|
805
|
+
/* 上游 column-fill:auto + 88vh:内容填不满一栏时全部堆在左栏,compare 页
|
|
806
|
+
退化成单栏(上下流)。把「第二个及之后的栏目标签」强制开新栏 → 左右两栏:
|
|
807
|
+
页题留在左栏顶部,h2/h3/h4 面板标题各起一栏,与 P9 compare 的双面板一致。
|
|
808
|
+
(deck 里面板标题可能写成 h2 或 h3,三档都覆盖) */
|
|
809
|
+
body.presenting #editor[data-slide-layout='two-col'] .cm-content
|
|
810
|
+
:nth-child(n+2 of .cm-md-slide-two-col.cm-md-atxheading2:not(.cm-md-page-title)),
|
|
811
|
+
body.presenting #editor[data-slide-layout='two-col'] .cm-content
|
|
812
|
+
:nth-child(n+2 of .cm-md-slide-two-col.cm-md-atxheading3:not(.cm-md-page-title)),
|
|
813
|
+
body.presenting #editor[data-slide-layout='two-col'] .cm-content
|
|
814
|
+
:nth-child(n+2 of .cm-md-slide-two-col.cm-md-atxheading4:not(.cm-md-page-title)) {
|
|
815
|
+
break-before: column;
|
|
816
|
+
}
|
|
817
|
+
body.presenting #editor .cm-content .cm-md-slide-two-col.cm-md-atxheading2:not(.cm-md-page-title),
|
|
818
|
+
body.presenting #editor .cm-content .cm-md-slide-two-col.cm-md-atxheading3:not(.cm-md-page-title),
|
|
819
|
+
body.presenting #editor .cm-content .cm-md-slide-two-col.cm-md-atxheading4:not(.cm-md-page-title),
|
|
820
|
+
body.slides-printing #editor .cm-content .cm-md-slide-two-col.cm-md-atxheading2:not(.cm-md-page-title),
|
|
821
|
+
body.slides-printing #editor .cm-content .cm-md-slide-two-col.cm-md-atxheading3:not(.cm-md-page-title),
|
|
822
|
+
body.slides-printing #editor .cm-content .cm-md-slide-two-col.cm-md-atxheading4:not(.cm-md-page-title) {
|
|
823
|
+
font-family: var(--slide-mono);
|
|
824
|
+
font-weight: 500;
|
|
825
|
+
font-size: 0.53em; /* .compare-label 0.72vw ÷26 */
|
|
826
|
+
line-height: 1.4;
|
|
827
|
+
letter-spacing: 0.14em;
|
|
828
|
+
text-transform: uppercase;
|
|
829
|
+
color: var(--text-muted); /* fg-2 提档 */
|
|
830
|
+
border-bottom: 1px solid var(--border-color);
|
|
831
|
+
padding-bottom: 0.8em; /* gap-md */
|
|
832
|
+
margin-bottom: 0.9em;
|
|
833
|
+
}
|
|
834
|
+
/* compare 列表:bullet-list 1.6vw 500 + 橙 "/" 序标(模板 li::before 无挂点) */
|
|
835
|
+
body.presenting #editor .cm-content .cm-md-slide-two-col.cm-md-li,
|
|
836
|
+
body.slides-printing #editor .cm-content .cm-md-slide-two-col.cm-md-li {
|
|
837
|
+
font-size: 1.18em; /* 1.6vw ÷26 */
|
|
838
|
+
font-weight: 500;
|
|
839
|
+
line-height: 1.4;
|
|
840
|
+
margin: 0 0 0.9em;
|
|
841
|
+
color: var(--text-color);
|
|
842
|
+
}
|
|
843
|
+
body.presenting #editor .cm-content .cm-md-slide-two-col .cm-md-listmark,
|
|
844
|
+
body.slides-printing #editor .cm-content .cm-md-slide-two-col .cm-md-listmark {
|
|
845
|
+
font-family: var(--slide-mono);
|
|
846
|
+
font-weight: 700;
|
|
847
|
+
margin-right: 0.3em;
|
|
848
|
+
color: var(--seed-accent);
|
|
849
|
+
}
|
|
850
|
+
|
|
851
|
+
/* 1.6.13 figure · P12(pie,暗底):图占画面七成居中(上游默认),标题 700、
|
|
852
|
+
导语 fg-2;pie 图例 → 页内列表:1.6vw 700 + mono 橙值 + 1px 底 hairline
|
|
853
|
+
(tfoot 合计行同色 hairline);pie-donut 与图例色点无挂点(未复刻)。
|
|
854
|
+
默认页(未声明版式)按同一页的文本节奏校准:标题 700 / 导语 1.6vw fg-2 /
|
|
855
|
+
正文 1.2vw fg-2 —— 由 1.6.1 与本文标题体系承接,不额外覆写 */
|
|
856
|
+
body.presenting #editor .cm-content .cm-md-slide-figure.cm-md-page-title,
|
|
857
|
+
body.slides-printing .cm-md-slide-figure.cm-md-page-title {
|
|
858
|
+
font-weight: 700;
|
|
859
|
+
}
|
|
860
|
+
body.presenting #editor .cm-content .cm-md-slide-figure .cm-md-page-lead,
|
|
861
|
+
body.slides-printing .cm-md-slide-figure.cm-md-page-lead {
|
|
862
|
+
font-size: var(--slide-lead-size);
|
|
863
|
+
color: var(--text-secondary);
|
|
864
|
+
}
|
|
865
|
+
body.presenting #editor .cm-content .cm-md-slide-figure.cm-md-li,
|
|
866
|
+
body.slides-printing #editor .cm-content .cm-md-slide-figure.cm-md-li {
|
|
867
|
+
font-size: 1.18em; /* .pie-label 1.6vw ÷26 */
|
|
868
|
+
font-weight: 700;
|
|
869
|
+
line-height: 1.4;
|
|
870
|
+
padding-bottom: 0.55em;
|
|
871
|
+
margin: 0 0 0.5em;
|
|
872
|
+
border-bottom: 1px solid var(--border-color); /* .pie-item 1px hairline */
|
|
873
|
+
color: var(--text-color);
|
|
874
|
+
}
|
|
875
|
+
body.presenting #editor .cm-content .cm-md-slide-figure .cm-md-strong,
|
|
876
|
+
body.slides-printing #editor .cm-content .cm-md-slide-figure .cm-md-strong {
|
|
877
|
+
font-family: var(--slide-mono);
|
|
878
|
+
font-weight: 500;
|
|
879
|
+
font-size: 0.75em; /* .pie-item-val 1.2vw ÷26 ÷1.18 */
|
|
880
|
+
letter-spacing: 0.06em;
|
|
881
|
+
color: var(--seed-accent); /* 数值橙 */
|
|
882
|
+
}
|
|
883
|
+
body.presenting #editor .cm-content .cm-md-slide-figure .cm-md-listmark,
|
|
884
|
+
body.slides-printing #editor .cm-content .cm-md-slide-figure .cm-md-listmark {
|
|
885
|
+
display: none; /* pie-item 无色点挂点,去序标 */
|
|
886
|
+
}
|
|
887
|
+
|
|
888
|
+
/* 1.6.13b 默认页(未声明版式)← P12 文本节奏:正文 = .body 1.2vw → 0.89em、
|
|
889
|
+
lead = 1.6vw → 1.18em;标题仍由 1.6.1 的 h2 声部接管(不缩小) */
|
|
890
|
+
body.presenting #editor .cm-content .cm-md-page-default.cm-md-page-lead,
|
|
891
|
+
body.slides-printing .cm-md-page-default.cm-md-page-lead {
|
|
892
|
+
font-size: var(--slide-lead-size);
|
|
893
|
+
color: var(--text-color);
|
|
894
|
+
}
|
|
895
|
+
body.presenting #editor .cm-content .cm-md-page-default:not(.cm-md-page-title):not(.cm-md-page-lead):not(.cm-md-page-kicker),
|
|
896
|
+
body.slides-printing .cm-md-page-default:not(.cm-md-page-title):not(.cm-md-page-lead):not(.cm-md-page-kicker) {
|
|
897
|
+
font-size: 0.89em; /* .body 1.2vw ÷26 */
|
|
898
|
+
line-height: 1.6;
|
|
899
|
+
color: var(--text-secondary); /* 正文 = fg-2 灰 */
|
|
900
|
+
}
|
|
901
|
+
|
|
902
|
+
/* 1.6.14 chrome · IBM Plex Mono 大写 .14em label 声部,1px #282826 hairline
|
|
903
|
+
(模板字面值;橙底页覆写见 1.6.2 组) */
|
|
904
|
+
body.presenting .slide-chrome,
|
|
905
|
+
body.slides-printing .slide-chrome,
|
|
906
|
+
body.presenting .slide-foot,
|
|
907
|
+
body.slides-printing .slide-foot {
|
|
908
|
+
font-family: var(--slide-mono);
|
|
909
|
+
font-weight: 500;
|
|
910
|
+
font-size: clamp(10px, 0.72vw, 14px); /* label 0.72vw */
|
|
911
|
+
letter-spacing: 0.14em;
|
|
912
|
+
text-transform: uppercase;
|
|
913
|
+
color: var(--text-muted);
|
|
914
|
+
}
|
|
915
|
+
body.presenting .slide-chrome,
|
|
916
|
+
body.slides-printing .slide-chrome {
|
|
917
|
+
border-bottom: 1px solid #282826;
|
|
918
|
+
padding-bottom: 0.5em;
|
|
919
|
+
margin-bottom: 0.9em;
|
|
920
|
+
}
|
|
921
|
+
body.presenting .slide-foot,
|
|
922
|
+
body.slides-printing .slide-foot {
|
|
923
|
+
border-top: 1px solid #282826;
|
|
924
|
+
padding-top: 0.5em;
|
|
925
|
+
margin-top: 0.9em;
|
|
926
|
+
}
|
|
927
|
+
|
|
928
|
+
/* ═══════════════════════════════════════════════════════════
|
|
929
|
+
SECTION 2 — Editor DOM(#editor .cm-content + .cm-md-*)
|
|
930
|
+
═══════════════════════════════════════════════════════════ */
|
|
931
|
+
|
|
932
|
+
#editor .cm-content {
|
|
933
|
+
font-family: var(--font-body);
|
|
934
|
+
line-height: 1.8; /* 中文衬线行距略放宽 */
|
|
935
|
+
}
|
|
936
|
+
/* 正文色 = 模板 --c-fg-2 灰(参考图二);只作用于文档态,
|
|
937
|
+
幻灯片仍按各版式自己的墨/cream 声部 */
|
|
938
|
+
body:not(.presenting):not(.slides-printing) #editor .cm-content .cm-line {
|
|
939
|
+
color: var(--text-secondary);
|
|
940
|
+
}
|
|
941
|
+
|
|
942
|
+
/* ── 2.1 Headings ──
|
|
943
|
+
模板字阶:h1 800 / h2 700 / h3 600;display 永不大写;标题无下划线
|
|
944
|
+
(hairline 只属于 chrome/stat-card),生成版的 h1/h2 border-bottom 移除 */
|
|
945
|
+
#editor .cm-content .cm-md-atxheading1,
|
|
946
|
+
#editor .cm-content .cm-md-atxheading2,
|
|
947
|
+
#editor .cm-content .cm-md-atxheading3,
|
|
948
|
+
#editor .cm-content .cm-md-atxheading4,
|
|
949
|
+
#editor .cm-content .cm-md-atxheading5,
|
|
950
|
+
#editor .cm-content .cm-md-atxheading6 {
|
|
951
|
+
font-family: var(--slide-title-font); /* 中文标题走 elegant 主体(霞鹜文楷) */
|
|
952
|
+
color: var(--text-color);
|
|
953
|
+
font-weight: 700;
|
|
954
|
+
line-height: 1.1;
|
|
955
|
+
letter-spacing: -0.02em;
|
|
956
|
+
}
|
|
957
|
+
|
|
958
|
+
#editor .cm-content .cm-md-atxheading1 {
|
|
959
|
+
font-size: 2.5em;
|
|
960
|
+
font-weight: 800;
|
|
961
|
+
line-height: 0.95;
|
|
962
|
+
letter-spacing: -0.03em;
|
|
963
|
+
}
|
|
964
|
+
#editor .cm-content .cm-md-atxheading2 { font-size: 2em; }
|
|
965
|
+
/* h1/h2 = 参考图一的 accent 橙(模板 h1.accent 声部);仅文档态,
|
|
966
|
+
幻灯片页题由 1.6 各版式接管 */
|
|
967
|
+
body:not(.presenting):not(.slides-printing) #editor .cm-content .cm-md-atxheading1,
|
|
968
|
+
body:not(.presenting):not(.slides-printing) #editor .cm-content .cm-md-atxheading2 {
|
|
969
|
+
color: var(--seed-accent);
|
|
970
|
+
}
|
|
971
|
+
#editor .cm-content .cm-md-atxheading3 { font-size: 1.5em; font-weight: 600; line-height: 1.2; }
|
|
972
|
+
/* h3/h4 = 强调白(cream),与 h1/h2 橙、正文灰分层 */
|
|
973
|
+
body:not(.presenting):not(.slides-printing) #editor .cm-content .cm-md-atxheading3,
|
|
974
|
+
body:not(.presenting):not(.slides-printing) #editor .cm-content .cm-md-atxheading4 {
|
|
975
|
+
color: var(--text-color);
|
|
976
|
+
}
|
|
977
|
+
#editor .cm-content .cm-md-atxheading4 { font-size: 1.25em; font-weight: 600; }
|
|
978
|
+
#editor .cm-content .cm-md-atxheading5 { font-size: 1.1em; font-weight: 600; }
|
|
979
|
+
#editor .cm-content .cm-md-atxheading6 {
|
|
980
|
+
font-size: 0.85em;
|
|
981
|
+
font-family: var(--font-mono); /* h6 = .label chrome 声部 */
|
|
982
|
+
font-weight: 500;
|
|
983
|
+
letter-spacing: 0.14em;
|
|
984
|
+
text-transform: uppercase;
|
|
985
|
+
}
|
|
986
|
+
|
|
987
|
+
/* ── 2.2 Inline ──
|
|
988
|
+
强调 = 字重/尺寸/色(模板体系):strong 用正文色 700;橙只给链接/序标/高亮 */
|
|
989
|
+
#editor .cm-content .cm-md-strong { color: var(--text-color); font-weight: 700; }
|
|
990
|
+
#editor .cm-content .cm-md-em { font-style: italic; }
|
|
991
|
+
#editor .cm-content .cm-md-strike { text-decoration: line-through; }
|
|
992
|
+
#editor .cm-content .cm-md-highlight { background: var(--highlight-bg); }
|
|
993
|
+
#editor .cm-content .cm-md-link { color: var(--link-color); }
|
|
994
|
+
#editor .cm-content .cm-md-url { color: var(--text-muted); }
|
|
995
|
+
|
|
996
|
+
#editor .cm-content .cm-md-inlinecode {
|
|
997
|
+
font-family: var(--font-mono);
|
|
998
|
+
background: var(--code-bg);
|
|
999
|
+
color: var(--text-color);
|
|
1000
|
+
border-radius: 0; /* 平面体系零圆角 */
|
|
1001
|
+
}
|
|
1002
|
+
|
|
1003
|
+
#editor .cm-content .cm-md-marker,
|
|
1004
|
+
#editor .cm-content .cm-md-quotemark,
|
|
1005
|
+
#editor .cm-content .cm-md-listmark {
|
|
1006
|
+
color: var(--seed-accent); /* "/" 橙 mono 序标(模板 bullet-marker) */
|
|
1007
|
+
}
|
|
1008
|
+
|
|
1009
|
+
/* ── 2.3 Blockquote / Code Block(每行一个 div,禁用纵向 padding)──
|
|
1010
|
+
引用底色由编辑器按 --blockquote-bg 画在选区下方,这里不要写 background,
|
|
1011
|
+
否则引用里的代码行会盖住代码块底色。 */
|
|
1012
|
+
#editor .cm-content .cm-md-blockquote {
|
|
1013
|
+
color: var(--text-secondary);
|
|
1014
|
+
border-left: 2px solid var(--blockquote-border); /* .rule 2px 橙轨回声 */
|
|
1015
|
+
padding-left: 16px;
|
|
1016
|
+
padding-right: 16px;
|
|
1017
|
+
}
|
|
1018
|
+
|
|
1019
|
+
#editor .cm-content .cm-md-codeblock {
|
|
1020
|
+
background: var(--code-block-bg);
|
|
1021
|
+
color: var(--code-block-text);
|
|
1022
|
+
padding-left: 16px;
|
|
1023
|
+
padding-right: 16px;
|
|
1024
|
+
}
|
|
1025
|
+
#editor .cm-content .cm-md-codeblock-first,
|
|
1026
|
+
#editor .cm-content .cm-md-codeblock-last {
|
|
1027
|
+
border-radius: 0;
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
/* ── 2.4 Table / Rule ──
|
|
1031
|
+
表格按报头排版:表头用印刷体粗体(mono 大写对中文表头无效且难读),
|
|
1032
|
+
表头 = 强调白 + 印刷体 700,表体 = 与正文一致的 fg-2 灰 + 斑马纹 + 等宽数字 */
|
|
1033
|
+
#editor .cm-content .cm-md-table-widget th,
|
|
1034
|
+
#editor .cm-content .cm-md-table-widget td {
|
|
1035
|
+
padding: 10px 14px;
|
|
1036
|
+
border-color: var(--border-color);
|
|
1037
|
+
font-variant-numeric: tabular-nums;
|
|
1038
|
+
}
|
|
1039
|
+
#editor .cm-content .cm-md-table-widget td {
|
|
1040
|
+
font-size: 0.95em;
|
|
1041
|
+
line-height: 1.65;
|
|
1042
|
+
color: var(--text-secondary); /* 与正文同色(fg-2) */
|
|
1043
|
+
}
|
|
1044
|
+
#editor .cm-content .cm-md-table-widget th {
|
|
1045
|
+
background: var(--table-header-bg);
|
|
1046
|
+
color: var(--text-color);
|
|
1047
|
+
font-family: var(--font-body); /* 印刷体表头(中文衬线生效) */
|
|
1048
|
+
font-size: 0.92em;
|
|
1049
|
+
font-weight: 700;
|
|
1050
|
+
letter-spacing: 0.02em;
|
|
1051
|
+
text-transform: none;
|
|
1052
|
+
border-bottom: 1px solid var(--seed-border-strong);
|
|
1053
|
+
}
|
|
1054
|
+
#editor .cm-content .cm-md-table-widget tr:nth-child(even) td {
|
|
1055
|
+
background: rgba(255, 255, 255, 0.03); /* 暗底斑马纹,长表不串行 */
|
|
1056
|
+
}
|
|
1057
|
+
#editor .cm-content .cm-md-hr { border-top-color: var(--border-color); }
|
|
1058
|
+
|
|
1059
|
+
/* ── 2.5 中文首行缩进 ──
|
|
1060
|
+
CM6 里一行就是一个 div:段落缩进落在 .cm-line 上,标题/引用/代码/列表行归零。 */
|
|
1061
|
+
#editor .cm-content .cm-line { text-indent: 2em; }
|
|
1062
|
+
|
|
1063
|
+
#editor .cm-content .cm-md-atxheading1,
|
|
1064
|
+
#editor .cm-content .cm-md-atxheading2,
|
|
1065
|
+
#editor .cm-content .cm-md-atxheading3,
|
|
1066
|
+
#editor .cm-content .cm-md-atxheading4,
|
|
1067
|
+
#editor .cm-content .cm-md-atxheading5,
|
|
1068
|
+
#editor .cm-content .cm-md-atxheading6,
|
|
1069
|
+
#editor .cm-content .cm-md-blockquote,
|
|
1070
|
+
#editor .cm-content .cm-md-codeblock,
|
|
1071
|
+
#editor .cm-content .cm-md-hr,
|
|
1072
|
+
#editor .cm-content .cm-md-mermaid,
|
|
1073
|
+
#editor .cm-content .cm-md-li-0,
|
|
1074
|
+
#editor .cm-content .cm-md-li-1,
|
|
1075
|
+
#editor .cm-content .cm-md-li-2,
|
|
1076
|
+
#editor .cm-content .cm-md-li-3,
|
|
1077
|
+
#editor .cm-content .cm-md-li-4,
|
|
1078
|
+
#editor .cm-content .cm-md-li-5,
|
|
1079
|
+
#editor .cm-content .cm-md-li-6 {
|
|
1080
|
+
text-indent: 0;
|
|
1081
|
+
}
|
|
1082
|
+
|
|
1083
|
+
/* ═══════════════════════════════════════════════════════════
|
|
1084
|
+
SECTION 3 — Exported HTML(.colamd-document,语义标签)
|
|
1085
|
+
HTML/PDF 导出不走编辑器 DOM;与 SECTION 2 镜像同步。
|
|
1086
|
+
═══════════════════════════════════════════════════════════ */
|
|
1087
|
+
|
|
1088
|
+
.colamd-document {
|
|
1089
|
+
font-family: var(--font-body);
|
|
1090
|
+
font-size: 17px;
|
|
1091
|
+
line-height: 1.8;
|
|
1092
|
+
color: var(--text-secondary); /* 正文 = fg-2 灰(参考图二) */
|
|
1093
|
+
}
|
|
1094
|
+
|
|
1095
|
+
.colamd-document h1,
|
|
1096
|
+
.colamd-document h2,
|
|
1097
|
+
.colamd-document h3,
|
|
1098
|
+
.colamd-document h4,
|
|
1099
|
+
.colamd-document h5,
|
|
1100
|
+
.colamd-document h6 {
|
|
1101
|
+
font-family: var(--slide-title-font); /* 与编辑器标题同声部 */
|
|
1102
|
+
color: var(--text-color);
|
|
1103
|
+
font-weight: 700;
|
|
1104
|
+
line-height: 1.1;
|
|
1105
|
+
letter-spacing: -0.02em;
|
|
1106
|
+
margin: 1.5em 0 0.5em;
|
|
1107
|
+
}
|
|
1108
|
+
.colamd-document h1 { font-size: 2.5em; font-weight: 800; line-height: 0.95; letter-spacing: -0.03em; margin-top: 0.4em; }
|
|
1109
|
+
.colamd-document h2 { font-size: 2em; }
|
|
1110
|
+
/* h1/h2 = accent 橙(与编辑器同步) */
|
|
1111
|
+
.colamd-document h1,
|
|
1112
|
+
.colamd-document h2 { color: var(--seed-accent); }
|
|
1113
|
+
.colamd-document h3 { font-size: 1.5em; font-weight: 600; line-height: 1.2; }
|
|
1114
|
+
.colamd-document h4 { font-size: 1.25em; font-weight: 600; }
|
|
1115
|
+
.colamd-document h5 { font-size: 1.1em; font-weight: 600; }
|
|
1116
|
+
.colamd-document h6 {
|
|
1117
|
+
font-size: 0.85em;
|
|
1118
|
+
font-family: var(--font-mono);
|
|
1119
|
+
font-weight: 500;
|
|
1120
|
+
letter-spacing: 0.14em;
|
|
1121
|
+
text-transform: uppercase;
|
|
1122
|
+
}
|
|
1123
|
+
|
|
1124
|
+
.colamd-document strong { color: var(--text-color); font-weight: 700; }
|
|
1125
|
+
.colamd-document code {
|
|
1126
|
+
background: var(--code-bg);
|
|
1127
|
+
color: var(--text-color);
|
|
1128
|
+
font-family: var(--font-mono);
|
|
1129
|
+
border-radius: 0;
|
|
1130
|
+
}
|
|
1131
|
+
/* Pele SVG 不自绘背景,编辑器里浮在代码块行上;导出后无类名 div 托底,需补回 */
|
|
1132
|
+
.colamd-document svg.pele { background: var(--pele-bg); border-radius: var(--pele-radius); }
|
|
1133
|
+
.colamd-document pre { background: var(--code-block-bg); }
|
|
1134
|
+
.colamd-document pre code { color: var(--code-block-text); }
|
|
1135
|
+
.colamd-document blockquote {
|
|
1136
|
+
background: var(--blockquote-bg);
|
|
1137
|
+
color: var(--text-secondary);
|
|
1138
|
+
border-left: 2px solid var(--blockquote-border);
|
|
1139
|
+
padding: 0.5em 1.2em;
|
|
1140
|
+
}
|
|
1141
|
+
.colamd-document mark { background: var(--highlight-bg); }
|
|
1142
|
+
.colamd-document th,
|
|
1143
|
+
.colamd-document td {
|
|
1144
|
+
border-color: var(--border-color);
|
|
1145
|
+
padding: 10px 14px;
|
|
1146
|
+
font-variant-numeric: tabular-nums;
|
|
1147
|
+
}
|
|
1148
|
+
.colamd-document td {
|
|
1149
|
+
font-size: 0.95em;
|
|
1150
|
+
line-height: 1.65;
|
|
1151
|
+
color: var(--text-secondary); /* 表体与正文同为 fg-2 灰 */
|
|
1152
|
+
}
|
|
1153
|
+
.colamd-document th {
|
|
1154
|
+
background: var(--table-header-bg);
|
|
1155
|
+
color: var(--text-color);
|
|
1156
|
+
font-family: var(--font-body);
|
|
1157
|
+
font-size: 0.92em;
|
|
1158
|
+
font-weight: 700;
|
|
1159
|
+
letter-spacing: 0.02em;
|
|
1160
|
+
text-transform: none;
|
|
1161
|
+
border-bottom: 1px solid var(--seed-border-strong);
|
|
1162
|
+
}
|
|
1163
|
+
.colamd-document tr:nth-child(even) td { background: rgba(255, 255, 255, 0.03); }
|
|
1164
|
+
.colamd-document hr { border-top-color: var(--border-color); }
|
|
1165
|
+
|
|
1166
|
+
.colamd-document p { text-indent: 2em; }
|
|
1167
|
+
.colamd-document li p,
|
|
1168
|
+
.colamd-document td p,
|
|
1169
|
+
.colamd-document th p,
|
|
1170
|
+
.colamd-document blockquote p {
|
|
1171
|
+
text-indent: 0;
|
|
1172
|
+
}
|
|
1173
|
+
|
|
1174
|
+
/* ═══════════════════════════════════════════════════════════
|
|
1175
|
+
SECTION 4 — Print
|
|
1176
|
+
应用直接对当前窗口 printToPDF,屏幕规则原样生效;这里只补保真。
|
|
1177
|
+
═══════════════════════════════════════════════════════════ */
|
|
1178
|
+
|
|
1179
|
+
@media print {
|
|
1180
|
+
html,
|
|
1181
|
+
body {
|
|
1182
|
+
background: var(--bg-color);
|
|
1183
|
+
color: var(--text-color);
|
|
1184
|
+
-webkit-print-color-adjust: exact;
|
|
1185
|
+
print-color-adjust: exact;
|
|
1186
|
+
}
|
|
1187
|
+
}
|