@bytechain.cn/colamd-themes 0.6.0 → 0.6.1
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 +22 -4
- package/package.json +1 -1
- package/skills/colamd-themes/SKILL.md +86 -1
- package/themes/8-bit-orbit.css +817 -0
- package/themes/README.md +69 -0
- package/themes/biennale-yellow.css +577 -0
- package/themes/block-frame.css +774 -0
- package/themes/blue-professional.css +741 -0
- package/themes/bold-poster.css +794 -0
- package/themes/broadside.css +837 -0
- package/themes/capsule.css +767 -0
- package/themes/cartesian.css +584 -0
- package/themes/cobalt-grid.css +632 -0
- package/themes/coral.css +699 -0
- package/themes/creative-mode.css +642 -0
- package/themes/daisy-days.css +1052 -0
- package/themes/editorial-forest.css +796 -0
- package/themes/editorial-tri-tone.css +811 -0
- package/themes/emerald-editorial.css +683 -0
- package/themes/grove.css +623 -0
- package/themes/long-table.css +782 -0
- package/themes/mat.css +848 -0
- package/themes/monochrome.css +782 -0
- package/themes/neo-grid-bold.css +838 -0
- package/themes/peoples-platform.css +843 -0
- package/themes/pin-and-paper.css +700 -0
- package/themes/pink-script-dark.css +648 -0
- package/themes/pink-script.css +290 -0
- package/themes/playful.css +774 -0
- package/themes/raw-grid.css +814 -0
- package/themes/retro-windows.css +767 -0
- package/themes/retro-zine.css +814 -0
- package/themes/sakura-chroma.css +775 -0
- package/themes/scatterbrain.css +726 -0
- package/themes/signal.css +872 -0
- package/themes/soft-editorial.css +788 -0
- package/themes/stencil-tablet.css +922 -0
- package/themes/studio.css +767 -0
- package/themes/vellum.css +723 -0
|
@@ -0,0 +1,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(H60→H36)、ink-dim 微调,
|
|
15
|
+
* 三档 ΔH≤2°(可修则修,视觉无差);
|
|
16
|
+
* CR-03 —— ink-dim 模板 #505048 只有 2.3:1,提亮到 #6b6862(3.4:1)保 MUST(可修则修);
|
|
17
|
+
* NT-02 —— 模板 hairline #282826 与 panel 明度差 0.055<0.08(边框不可见),提亮到
|
|
18
|
+
* #7a7770(可修则修);1.6 版式层 chrome 仍用模板字面值 #282826;
|
|
19
|
+
* CR-04 —— accent #e85d26 对 #111 实测 5.5:1 ≥4.5,无需备案;橙底页文字一律切墨
|
|
20
|
+
* (ink on fire,#111 字面值),橙从不做橙底上的文字色;
|
|
21
|
+
* NT-03 —— border #7a7770 S=4.3% ≤5%,通过。
|
|
22
|
+
* 未复刻项(行式 DOM 无挂点,逐一注明于 SECTION 1.6):巨字引号以 ::before 近似,
|
|
23
|
+
* 其余见 1.5 注释清单。同形页:P3 statement/P6 fadelist/P9 compare/P15 cycle
|
|
24
|
+
* 均不单列,差异在对应版式注释备案。
|
|
25
|
+
*
|
|
26
|
+
* 契约:ColaMD Extend 2.7.13(CodeMirror 6 编辑器 + Pele 图表引擎)
|
|
27
|
+
*
|
|
28
|
+
* 两条硬规矩:
|
|
29
|
+
* 1. 变量一律写在 :root。没写的活变量继承 Light 主题默认值;写在别的选择器里
|
|
30
|
+
* 编辑器继承不到。
|
|
31
|
+
* 2. 编辑器里没有 <h1>/<blockquote> 这种元素:标题是「一行」带一个类,引用与
|
|
32
|
+
* 代码块是每一行一个 div,加粗是一个 span。所以选择器只认 .cm-md-* 钩子,
|
|
33
|
+
* 并且引用/代码块**不能加纵向 padding**——那会按行累加。
|
|
34
|
+
*
|
|
35
|
+
* ═══════════════════════════════════════════════════════════
|
|
36
|
+
* SECTION 1 — Design Tokens
|
|
37
|
+
* 改 11 个种子色 + 3 组字体即可换一套主题
|
|
38
|
+
* ═══════════════════════════════════════════════════════════ */
|
|
39
|
+
|
|
40
|
+
:root {
|
|
41
|
+
|
|
42
|
+
/* ── 1.1 Seed Palette ──
|
|
43
|
+
本工具的再生成与校验读这一层;编辑器不消费。
|
|
44
|
+
来源(template.html :root):bg #111111 / bg-alt #1a1a18 / orange #e85d26
|
|
45
|
+
fg #f0ece5 / fg-2 #888880 / fg-3 #505048 / border #282826
|
|
46
|
+
模板约定:橙 = 暗底上的唯一强调(kicker/stat/序标/高亮条),也是声明页
|
|
47
|
+
(cover/chapter/stats/diagram/end)的整页环境色;橙底页文字一律墨 #111。 */
|
|
48
|
+
--seed-accent: #e85d26;
|
|
49
|
+
--seed-accent-light: #ef7d50; /* 派生提亮档(模板无此token) */
|
|
50
|
+
--seed-accent-dark: #c74c1f; /* 派生加深档 */
|
|
51
|
+
--seed-surface: #111110; /* 模板 #111111 微调保 SL-03(见头注) */
|
|
52
|
+
--seed-panel: #1a1a18; /* bg-alt 次表面 */
|
|
53
|
+
--seed-panel-alt: #282826; /* border-dark 档 */
|
|
54
|
+
--seed-ink: #f0ece5;
|
|
55
|
+
--seed-ink-muted: #8a8680; /* 模板 #888880 并轴微调(NT-01) */
|
|
56
|
+
--seed-ink-dim: #6b6862; /* 模板 #505048 提亮保 CR-03 ≥3:1 */
|
|
57
|
+
--seed-border: #7a7770; /* 模板 #282826 提亮保 NT-02(见头注) */
|
|
58
|
+
--seed-border-strong: #57534d; /* hr/th 强线档(暖灰) */
|
|
59
|
+
|
|
60
|
+
/* ── 1.2 Semantic Colors(活变量)── */
|
|
61
|
+
--bg-color: var(--seed-surface);
|
|
62
|
+
--text-color: var(--seed-ink);
|
|
63
|
+
--text-secondary: var(--seed-ink-muted);
|
|
64
|
+
--text-muted: var(--seed-ink-dim);
|
|
65
|
+
--border-color: var(--seed-border);
|
|
66
|
+
--link-color: var(--seed-accent); /* 5.5:1 ≥4.5(CR-04) */
|
|
67
|
+
|
|
68
|
+
--code-bg: var(--seed-panel);
|
|
69
|
+
--code-block-bg: var(--seed-panel);
|
|
70
|
+
--code-block-text: #f0ece5;
|
|
71
|
+
|
|
72
|
+
--blockquote-border: var(--seed-accent); /* 模板 .rule 36×2 橙短线的竖轨回声 */
|
|
73
|
+
--blockquote-bg: rgba(255, 255, 255, 0.04); /* img-placeholder 同款白纱 */
|
|
74
|
+
--table-header-bg: var(--seed-panel);
|
|
75
|
+
|
|
76
|
+
--selection-bg: rgba(232, 93, 38, 0.25);
|
|
77
|
+
--highlight-bg: rgba(232, 93, 38, 0.30);
|
|
78
|
+
|
|
79
|
+
/* ── 1.3 Typography & Metrics(活变量)──
|
|
80
|
+
Barlow 单一字相体系(400/500/700/800/900),display 永不大写;
|
|
81
|
+
IBM Plex Mono 只做 chrome(kicker/序标/页码);Noto Sans SC 全角位兜底。 */
|
|
82
|
+
--font-body: "Barlow", "Noto Sans SC", sans-serif;
|
|
83
|
+
--font-mono: "IBM Plex Mono", "Noto Sans Mono CJK SC", monospace;
|
|
84
|
+
--editor-font-size: 16px;
|
|
85
|
+
--editor-column-width: 820px;
|
|
86
|
+
|
|
87
|
+
/* ── 1.4 Pele Diagram(9 个变量,全部可省略)──
|
|
88
|
+
图画在暗底上;accent 橙 = 模板 bar-fill.accent / stat-value 的高亮条。 */
|
|
89
|
+
--pele-bg: var(--code-block-bg);
|
|
90
|
+
--pele-fg: var(--code-block-text);
|
|
91
|
+
--pele-muted: color-mix(in srgb, var(--code-block-text) 70%, var(--code-block-bg));
|
|
92
|
+
--pele-line: color-mix(in srgb, var(--code-block-text) 45%, var(--code-block-bg));
|
|
93
|
+
--pele-surface: color-mix(in srgb, var(--code-block-text) 14%, var(--code-block-bg));
|
|
94
|
+
--pele-surface-alt: color-mix(in srgb, var(--code-block-text) 24%, var(--code-block-bg));
|
|
95
|
+
--pele-border: color-mix(in srgb, var(--code-block-text) 40%, var(--code-block-bg));
|
|
96
|
+
--pele-accent: var(--seed-accent);
|
|
97
|
+
--pele-radius: 0px; /* 模板:平面体系,除 nav-dot 外零圆角 */
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
/* ── 1.5 PPT / Slides(ColaMD 2.7.13 · 按 broadside 16 页逐页复刻)──
|
|
101
|
+
换算锚点:放映基准字号 clamp(17px,1.35vw,26px),1080p ≈ 26px/em;
|
|
102
|
+
模板全 vw 流式,@1920 1vw=19.2px,px ÷ 26 = em(换算式随属性注释)。
|
|
103
|
+
字体体系:Barlow(display 900 小写 / h1 800 / h2 700 / h3 600,负字距)
|
|
104
|
+
+ IBM Plex Mono(chrome 500 大写 .14em)。页面对照(16 页 → 11 版式):
|
|
105
|
+
cover←P1 section←P2(chapter) quote←P8 agenda←P7(list)
|
|
106
|
+
kpi←P5(stats) timeline←P14(vtimeline) matrix←P13(pyramid)
|
|
107
|
+
steps←P11(diagram) closing←P16(end)
|
|
108
|
+
同形不单列:P3 statement→quote(7.5vw 橙字声明,quote 版式承担大字声部,
|
|
109
|
+
色差备案);P4 split→two-col(左文右图对半,two-col 保持上游默认);
|
|
110
|
+
P6 fadelist→cover(三词渐隐+右下巨题为绝对定位组合,无挂点);
|
|
111
|
+
P9 compare→two-col(右半橙面板无挂点);P15 cycle→steps(暗底页,
|
|
112
|
+
与 steps 橙底差异备案);P10 chart/P12 pie→figure(保持上游默认,
|
|
113
|
+
--pele-accent 橙承担高亮条)。
|
|
114
|
+
换底页(orange register):cover / section / kpi / steps / closing ——
|
|
115
|
+
整页换 #e85d26(五层链见 1.6.2),ghost opacity:0、td 换墨。
|
|
116
|
+
未复刻装饰(行式 DOM 无挂点):巨引号(::before 近似)、cover-meta 底部
|
|
117
|
+
作者行、broadside-num 目录号、rule 36×2 橙短线、fadelist 渐隐阶梯、
|
|
118
|
+
compare 橙面板、bar-track/pie-donut、pyramid 明度阶梯、vt-spine 橙方块、
|
|
119
|
+
cycle 2×2 箭头网格、end 底部落款条。 */
|
|
120
|
+
:root {
|
|
121
|
+
--slide-mono: "IBM Plex Mono", "Noto Sans Mono CJK SC", monospace;
|
|
122
|
+
--slide-title-font: "Barlow", "Noto Sans SC", sans-serif;
|
|
123
|
+
--slide-title-size: 3.32em; /* 内容页题 h2 4.5vw=86.4px ÷26 */
|
|
124
|
+
--slide-title-weight: 700; /* h2 700;display 永不大写 */
|
|
125
|
+
--slide-subhead-weight: 800; /* h1 800 */
|
|
126
|
+
--slide-title-tracking: -0.02em;
|
|
127
|
+
--slide-title-line-height: 1.1;
|
|
128
|
+
--slide-cover-title-size: 9.6em; /* display 13vw=249.6px ÷26 */
|
|
129
|
+
--slide-cover-title-line-height: 0.88;
|
|
130
|
+
--slide-cover-title-tracking: -0.04em;
|
|
131
|
+
--slide-section-title-size: 5.54em; /* chapter h1 7.5vw=144px ÷26 */
|
|
132
|
+
--slide-closing-title-size: 9.6em; /* end 同 display 13vw ÷26 */
|
|
133
|
+
--slide-lead-size: 1.18em; /* lead 1.6vw=30.7px ÷26 */
|
|
134
|
+
--slide-kicker-size: clamp(11px, 0.72vw, 14px); /* label 0.72vw=13.8px @1920 */
|
|
135
|
+
--slide-kicker-tracking: 0.14em; /* 模板 .label/.kicker .14em */
|
|
136
|
+
--slide-kicker-transform: uppercase;
|
|
137
|
+
--slide-chrome-opacity: 0.75;
|
|
138
|
+
--slide-chrome-transform: uppercase; /* chrome 全大写(mono 声部) */
|
|
139
|
+
--slide-kpi-number-size: 4.56em; /* stat-value 5.5vw=105.6px ÷26 ÷0.89(li) */
|
|
140
|
+
--slide-quote-size: 2.81em; /* quote-text 3.8vw=73px ÷26 */
|
|
141
|
+
--slide-page-pad-x: 5.5vw; /* 模板 pad-x */
|
|
142
|
+
--slide-page-top-pad: 48px; /* pad-y 5.5vh≈59px@1080 − chrome 安全区 */
|
|
143
|
+
--slide-page-top-pad-print: 42px;
|
|
144
|
+
--slide-cover-text-align: left;
|
|
145
|
+
--slide-cover-lead-inline: auto;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
/* ═══════════════ SECTION 1.6 — 版式页复刻(SLIDE-02:全部包裹在
|
|
149
|
+
body.presenting / body.slides-printing 作用域) ═══════════════ */
|
|
150
|
+
|
|
151
|
+
/* 1.6.1 页标题声部对齐:Barlow 700 小写负字距;压掉文档式 h1/h2 的 border-bottom
|
|
152
|
+
(编辑器规则带 id 权重会漏进放映);kicker 全局切橙(模板 .kicker 暗底声部) */
|
|
153
|
+
body.presenting #editor .cm-content .cm-md-page-title,
|
|
154
|
+
body.slides-printing #editor .cm-content .cm-md-page-title {
|
|
155
|
+
font-family: var(--slide-title-font);
|
|
156
|
+
font-size: var(--slide-title-size);
|
|
157
|
+
font-weight: 700;
|
|
158
|
+
line-height: 1.1;
|
|
159
|
+
letter-spacing: -0.02em;
|
|
160
|
+
text-transform: none; /* Broadside:display 永不大写 */
|
|
161
|
+
color: var(--text-color);
|
|
162
|
+
border-bottom: none;
|
|
163
|
+
padding-bottom: 0;
|
|
164
|
+
margin-bottom: 0.45em;
|
|
165
|
+
}
|
|
166
|
+
body.presenting #editor .cm-content .cm-md-page-title[data-slide-kicker]::before,
|
|
167
|
+
body.slides-printing #editor .cm-content .cm-md-page-title[data-slide-kicker]::before {
|
|
168
|
+
color: var(--seed-accent);
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
/* 1.6.2 orange register · P1/P2/P5/P11/P16(cover/section/kpi/steps/closing):
|
|
172
|
+
整页换 fire orange("ink on fire")。底色必须打满整条层叠链——
|
|
173
|
+
body / #editor / .cm-editor / .cm-scroller / .cm-content 五层,只挂 body 或漏
|
|
174
|
+
#editor 都会被平台原暗底反盖(与 pin-and-paper 1.6.4 同病) */
|
|
175
|
+
body.presenting:has(#editor[data-slide-layout='cover']),
|
|
176
|
+
body.presenting:has(#editor[data-slide-layout='section']),
|
|
177
|
+
body.presenting:has(#editor[data-slide-layout='kpi']),
|
|
178
|
+
body.presenting:has(#editor[data-slide-layout='steps']),
|
|
179
|
+
body.presenting:has(#editor[data-slide-layout='closing']),
|
|
180
|
+
body.slides-printing:has(.cm-md-slide-cover),
|
|
181
|
+
body.slides-printing:has(.cm-md-slide-section),
|
|
182
|
+
body.slides-printing:has(.cm-md-slide-kpi),
|
|
183
|
+
body.slides-printing:has(.cm-md-slide-steps),
|
|
184
|
+
body.slides-printing:has(.cm-md-slide-closing) {
|
|
185
|
+
background: var(--seed-accent);
|
|
186
|
+
}
|
|
187
|
+
body.presenting #editor[data-slide-layout='cover'],
|
|
188
|
+
body.presenting #editor[data-slide-layout='section'],
|
|
189
|
+
body.presenting #editor[data-slide-layout='kpi'],
|
|
190
|
+
body.presenting #editor[data-slide-layout='steps'],
|
|
191
|
+
body.presenting #editor[data-slide-layout='closing'],
|
|
192
|
+
body.presenting #editor[data-slide-layout='cover'] .cm-editor,
|
|
193
|
+
body.presenting #editor[data-slide-layout='cover'] .cm-scroller,
|
|
194
|
+
body.presenting #editor[data-slide-layout='cover'] .cm-content,
|
|
195
|
+
body.presenting #editor[data-slide-layout='section'] .cm-editor,
|
|
196
|
+
body.presenting #editor[data-slide-layout='section'] .cm-scroller,
|
|
197
|
+
body.presenting #editor[data-slide-layout='section'] .cm-content,
|
|
198
|
+
body.presenting #editor[data-slide-layout='kpi'] .cm-editor,
|
|
199
|
+
body.presenting #editor[data-slide-layout='kpi'] .cm-scroller,
|
|
200
|
+
body.presenting #editor[data-slide-layout='kpi'] .cm-content,
|
|
201
|
+
body.presenting #editor[data-slide-layout='steps'] .cm-editor,
|
|
202
|
+
body.presenting #editor[data-slide-layout='steps'] .cm-scroller,
|
|
203
|
+
body.presenting #editor[data-slide-layout='steps'] .cm-content,
|
|
204
|
+
body.presenting #editor[data-slide-layout='closing'] .cm-editor,
|
|
205
|
+
body.presenting #editor[data-slide-layout='closing'] .cm-scroller,
|
|
206
|
+
body.presenting #editor[data-slide-layout='closing'] .cm-content,
|
|
207
|
+
body.slides-printing:has(.cm-md-slide-cover) #editor,
|
|
208
|
+
body.slides-printing:has(.cm-md-slide-cover) .cm-editor,
|
|
209
|
+
body.slides-printing:has(.cm-md-slide-cover) .cm-scroller,
|
|
210
|
+
body.slides-printing:has(.cm-md-slide-cover) .cm-content,
|
|
211
|
+
body.slides-printing:has(.cm-md-slide-section) #editor,
|
|
212
|
+
body.slides-printing:has(.cm-md-slide-section) .cm-editor,
|
|
213
|
+
body.slides-printing:has(.cm-md-slide-section) .cm-scroller,
|
|
214
|
+
body.slides-printing:has(.cm-md-slide-section) .cm-content,
|
|
215
|
+
body.slides-printing:has(.cm-md-slide-kpi) #editor,
|
|
216
|
+
body.slides-printing:has(.cm-md-slide-kpi) .cm-editor,
|
|
217
|
+
body.slides-printing:has(.cm-md-slide-kpi) .cm-scroller,
|
|
218
|
+
body.slides-printing:has(.cm-md-slide-kpi) .cm-content,
|
|
219
|
+
body.slides-printing:has(.cm-md-slide-steps) #editor,
|
|
220
|
+
body.slides-printing:has(.cm-md-slide-steps) .cm-editor,
|
|
221
|
+
body.slides-printing:has(.cm-md-slide-steps) .cm-scroller,
|
|
222
|
+
body.slides-printing:has(.cm-md-slide-steps) .cm-content,
|
|
223
|
+
body.slides-printing:has(.cm-md-slide-closing) #editor,
|
|
224
|
+
body.slides-printing:has(.cm-md-slide-closing) .cm-editor,
|
|
225
|
+
body.slides-printing:has(.cm-md-slide-closing) .cm-scroller,
|
|
226
|
+
body.slides-printing:has(.cm-md-slide-closing) .cm-content {
|
|
227
|
+
background: var(--seed-accent);
|
|
228
|
+
}
|
|
229
|
+
/* 橙底页正文/行内元素全切墨(ink on fire 字面值,模板身份);
|
|
230
|
+
序标/引标/链接地址走墨 .45 hint 档(模板 ink-on-orange-faint) */
|
|
231
|
+
body.presenting #editor[data-slide-layout='cover'] .cm-content,
|
|
232
|
+
body.presenting #editor[data-slide-layout='section'] .cm-content,
|
|
233
|
+
body.presenting #editor[data-slide-layout='kpi'] .cm-content,
|
|
234
|
+
body.presenting #editor[data-slide-layout='steps'] .cm-content,
|
|
235
|
+
body.presenting #editor[data-slide-layout='closing'] .cm-content,
|
|
236
|
+
body.slides-printing:has(.cm-md-slide-cover) .cm-content,
|
|
237
|
+
body.slides-printing:has(.cm-md-slide-section) .cm-content,
|
|
238
|
+
body.slides-printing:has(.cm-md-slide-kpi) .cm-content,
|
|
239
|
+
body.slides-printing:has(.cm-md-slide-steps) .cm-content,
|
|
240
|
+
body.slides-printing:has(.cm-md-slide-closing) .cm-content {
|
|
241
|
+
color: #111111;
|
|
242
|
+
}
|
|
243
|
+
body.presenting #editor[data-slide-layout='cover'] .cm-md-strong,
|
|
244
|
+
body.presenting #editor[data-slide-layout='section'] .cm-md-strong,
|
|
245
|
+
body.presenting #editor[data-slide-layout='kpi'] .cm-md-strong,
|
|
246
|
+
body.presenting #editor[data-slide-layout='steps'] .cm-md-strong,
|
|
247
|
+
body.presenting #editor[data-slide-layout='closing'] .cm-md-strong,
|
|
248
|
+
body.presenting #editor[data-slide-layout='cover'] .cm-md-link,
|
|
249
|
+
body.presenting #editor[data-slide-layout='section'] .cm-md-link,
|
|
250
|
+
body.presenting #editor[data-slide-layout='kpi'] .cm-md-link,
|
|
251
|
+
body.presenting #editor[data-slide-layout='steps'] .cm-md-link,
|
|
252
|
+
body.presenting #editor[data-slide-layout='closing'] .cm-md-link,
|
|
253
|
+
body.slides-printing:has(.cm-md-slide-cover) .cm-md-strong,
|
|
254
|
+
body.slides-printing:has(.cm-md-slide-section) .cm-md-strong,
|
|
255
|
+
body.slides-printing:has(.cm-md-slide-kpi) .cm-md-strong,
|
|
256
|
+
body.slides-printing:has(.cm-md-slide-steps) .cm-md-strong,
|
|
257
|
+
body.slides-printing:has(.cm-md-slide-closing) .cm-md-strong,
|
|
258
|
+
body.slides-printing:has(.cm-md-slide-cover) .cm-md-link,
|
|
259
|
+
body.slides-printing:has(.cm-md-slide-section) .cm-md-link,
|
|
260
|
+
body.slides-printing:has(.cm-md-slide-kpi) .cm-md-link,
|
|
261
|
+
body.slides-printing:has(.cm-md-slide-steps) .cm-md-link,
|
|
262
|
+
body.slides-printing:has(.cm-md-slide-closing) .cm-md-link {
|
|
263
|
+
color: #111111;
|
|
264
|
+
}
|
|
265
|
+
body.presenting #editor[data-slide-layout='cover'] .cm-md-listmark,
|
|
266
|
+
body.presenting #editor[data-slide-layout='section'] .cm-md-listmark,
|
|
267
|
+
body.presenting #editor[data-slide-layout='kpi'] .cm-md-listmark,
|
|
268
|
+
body.presenting #editor[data-slide-layout='steps'] .cm-md-listmark,
|
|
269
|
+
body.presenting #editor[data-slide-layout='closing'] .cm-md-listmark,
|
|
270
|
+
body.presenting #editor[data-slide-layout='cover'] .cm-md-url,
|
|
271
|
+
body.presenting #editor[data-slide-layout='section'] .cm-md-url,
|
|
272
|
+
body.presenting #editor[data-slide-layout='kpi'] .cm-md-url,
|
|
273
|
+
body.presenting #editor[data-slide-layout='steps'] .cm-md-url,
|
|
274
|
+
body.presenting #editor[data-slide-layout='closing'] .cm-md-url,
|
|
275
|
+
body.slides-printing:has(.cm-md-slide-cover) .cm-md-listmark,
|
|
276
|
+
body.slides-printing:has(.cm-md-slide-section) .cm-md-listmark,
|
|
277
|
+
body.slides-printing:has(.cm-md-slide-kpi) .cm-md-listmark,
|
|
278
|
+
body.slides-printing:has(.cm-md-slide-steps) .cm-md-listmark,
|
|
279
|
+
body.slides-printing:has(.cm-md-slide-closing) .cm-md-listmark,
|
|
280
|
+
body.slides-printing:has(.cm-md-slide-cover) .cm-md-url,
|
|
281
|
+
body.slides-printing:has(.cm-md-slide-section) .cm-md-url,
|
|
282
|
+
body.slides-printing:has(.cm-md-slide-kpi) .cm-md-url,
|
|
283
|
+
body.slides-printing:has(.cm-md-slide-steps) .cm-md-url,
|
|
284
|
+
body.slides-printing:has(.cm-md-slide-closing) .cm-md-url {
|
|
285
|
+
color: rgba(17, 17, 17, 0.45);
|
|
286
|
+
}
|
|
287
|
+
/* 幽灵页码 = cream(var(--text-color)),落橙底上同色错乱——与上游 section/closing
|
|
288
|
+
的处理一致,橙底五版式整页隐藏 */
|
|
289
|
+
body.presenting:has(#editor[data-slide-layout='cover']) .slide-ghost,
|
|
290
|
+
body.presenting:has(#editor[data-slide-layout='section']) .slide-ghost,
|
|
291
|
+
body.presenting:has(#editor[data-slide-layout='kpi']) .slide-ghost,
|
|
292
|
+
body.presenting:has(#editor[data-slide-layout='steps']) .slide-ghost,
|
|
293
|
+
body.presenting:has(#editor[data-slide-layout='closing']) .slide-ghost,
|
|
294
|
+
body.slides-printing:has(.cm-md-slide-cover) .slide-ghost,
|
|
295
|
+
body.slides-printing:has(.cm-md-slide-section) .slide-ghost,
|
|
296
|
+
body.slides-printing:has(.cm-md-slide-kpi) .slide-ghost,
|
|
297
|
+
body.slides-printing:has(.cm-md-slide-steps) .slide-ghost,
|
|
298
|
+
body.slides-printing:has(.cm-md-slide-closing) .slide-ghost {
|
|
299
|
+
opacity: 0;
|
|
300
|
+
}
|
|
301
|
+
/* 橙底页表格 td:cream 正文被橙底吃掉 → 换墨色(th 自带 panel 底不受影响) */
|
|
302
|
+
body.presenting #editor[data-slide-layout='cover'] .cm-md-table-widget td,
|
|
303
|
+
body.presenting #editor[data-slide-layout='section'] .cm-md-table-widget td,
|
|
304
|
+
body.presenting #editor[data-slide-layout='kpi'] .cm-md-table-widget td,
|
|
305
|
+
body.presenting #editor[data-slide-layout='steps'] .cm-md-table-widget td,
|
|
306
|
+
body.presenting #editor[data-slide-layout='closing'] .cm-md-table-widget td,
|
|
307
|
+
body.slides-printing:has(.cm-md-slide-cover) .cm-md-table-widget td,
|
|
308
|
+
body.slides-printing:has(.cm-md-slide-section) .cm-md-table-widget td,
|
|
309
|
+
body.slides-printing:has(.cm-md-slide-kpi) .cm-md-table-widget td,
|
|
310
|
+
body.slides-printing:has(.cm-md-slide-steps) .cm-md-table-widget td,
|
|
311
|
+
body.slides-printing:has(.cm-md-slide-closing) .cm-md-table-widget td {
|
|
312
|
+
color: #111111;
|
|
313
|
+
}
|
|
314
|
+
/* 橙底页 chrome:ink .55 + 模板 hairline rgba(17,17,17,.2) */
|
|
315
|
+
body.presenting #editor[data-slide-layout='cover'] .slide-chrome,
|
|
316
|
+
body.presenting #editor[data-slide-layout='cover'] .slide-foot,
|
|
317
|
+
body.presenting #editor[data-slide-layout='section'] .slide-chrome,
|
|
318
|
+
body.presenting #editor[data-slide-layout='section'] .slide-foot,
|
|
319
|
+
body.presenting #editor[data-slide-layout='kpi'] .slide-chrome,
|
|
320
|
+
body.presenting #editor[data-slide-layout='kpi'] .slide-foot,
|
|
321
|
+
body.presenting #editor[data-slide-layout='steps'] .slide-chrome,
|
|
322
|
+
body.presenting #editor[data-slide-layout='steps'] .slide-foot,
|
|
323
|
+
body.presenting #editor[data-slide-layout='closing'] .slide-chrome,
|
|
324
|
+
body.presenting #editor[data-slide-layout='closing'] .slide-foot,
|
|
325
|
+
body.slides-printing:has(.cm-md-slide-cover) .slide-chrome,
|
|
326
|
+
body.slides-printing:has(.cm-md-slide-cover) .slide-foot,
|
|
327
|
+
body.slides-printing:has(.cm-md-slide-section) .slide-chrome,
|
|
328
|
+
body.slides-printing:has(.cm-md-slide-section) .slide-foot,
|
|
329
|
+
body.slides-printing:has(.cm-md-slide-kpi) .slide-chrome,
|
|
330
|
+
body.slides-printing:has(.cm-md-slide-kpi) .slide-foot,
|
|
331
|
+
body.slides-printing:has(.cm-md-slide-steps) .slide-chrome,
|
|
332
|
+
body.slides-printing:has(.cm-md-slide-steps) .slide-foot,
|
|
333
|
+
body.slides-printing:has(.cm-md-slide-closing) .slide-chrome,
|
|
334
|
+
body.slides-printing:has(.cm-md-slide-closing) .slide-foot {
|
|
335
|
+
color: rgba(17, 17, 17, 0.55);
|
|
336
|
+
border-color: rgba(17, 17, 17, 0.2);
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
/* 1.6.3 cover · P1(orange):13vw 巨题底部锚定,lead 墨 .65 max-width 55%;
|
|
340
|
+
cover-meta 底部作者行与顶线无挂点(未复刻);broadside-num/corner-label →
|
|
341
|
+
kicker 横排 mono 大写墨 .55 */
|
|
342
|
+
body.presenting #editor[data-slide-layout='cover'] .cm-content,
|
|
343
|
+
body.slides-printing:has(.cm-md-slide-cover) .cm-content {
|
|
344
|
+
justify-content: flex-end;
|
|
345
|
+
padding-bottom: 110px; /* cover-meta 带留白 ≈ gap-lg×2+lead 行 */
|
|
346
|
+
}
|
|
347
|
+
body.presenting #editor .cm-content .cm-md-slide-cover .cm-md-page-title,
|
|
348
|
+
body.slides-printing .cm-md-slide-cover.cm-md-page-title {
|
|
349
|
+
font-size: var(--slide-cover-title-size);
|
|
350
|
+
line-height: 0.88;
|
|
351
|
+
letter-spacing: -0.04em;
|
|
352
|
+
max-width: 95%;
|
|
353
|
+
}
|
|
354
|
+
body.presenting #editor[data-slide-layout='cover'] .cm-content .cm-md-page-lead,
|
|
355
|
+
body.slides-printing .cm-md-slide-cover.cm-md-page-lead {
|
|
356
|
+
font-size: var(--slide-lead-size); /* lead 1.6vw ÷26 */
|
|
357
|
+
opacity: 0.65;
|
|
358
|
+
max-width: 55%;
|
|
359
|
+
}
|
|
360
|
+
body.presenting #editor[data-slide-layout='cover'] .cm-content .cm-md-page-title[data-slide-kicker]::before,
|
|
361
|
+
body.slides-printing .cm-md-slide-cover .cm-md-page-title[data-slide-kicker]::before {
|
|
362
|
+
color: #111111;
|
|
363
|
+
opacity: 0.55; /* broadside-num ink .45/.55 档 */
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
/* 1.6.4 section · P2(chapter,orange):h1 7.5vw 800 墨题,lead max-width 50%;
|
|
367
|
+
chapter-num → kicker mono 大写 .2em 墨 .55;chapter-rule 36×2 墨条无挂点(未复刻) */
|
|
368
|
+
body.presenting #editor .cm-content .cm-md-slide-section .cm-md-page-title,
|
|
369
|
+
body.slides-printing .cm-md-slide-section.cm-md-page-title {
|
|
370
|
+
font-size: var(--slide-section-title-size); /* 7.5vw ÷26 */
|
|
371
|
+
font-weight: 800;
|
|
372
|
+
line-height: 0.9;
|
|
373
|
+
letter-spacing: -0.03em;
|
|
374
|
+
color: #111111;
|
|
375
|
+
}
|
|
376
|
+
body.presenting #editor[data-slide-layout='section'] .cm-content .cm-md-page-lead,
|
|
377
|
+
body.slides-printing .cm-md-slide-section.cm-md-page-lead {
|
|
378
|
+
font-size: var(--slide-lead-size);
|
|
379
|
+
opacity: 0.65;
|
|
380
|
+
max-width: 50%;
|
|
381
|
+
}
|
|
382
|
+
body.presenting #editor[data-slide-layout='section'] .cm-content .cm-md-page-title[data-slide-kicker]::before,
|
|
383
|
+
body.slides-printing .cm-md-slide-section .cm-md-page-title[data-slide-kicker]::before {
|
|
384
|
+
letter-spacing: 0.2em; /* .chapter-num .2em */
|
|
385
|
+
color: #111111;
|
|
386
|
+
opacity: 0.55;
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
/* 1.6.5 kpi · P5(stats,orange):无卡裸排 = stat-card 顶线 1px 墨 .22 +
|
|
390
|
+
stat-value 5.5vw 900 墨 + 说明墨 .65;三列 inline-block;stat-note 无挂点 */
|
|
391
|
+
body.presenting #editor .cm-content .cm-md-slide-kpi.cm-md-li,
|
|
392
|
+
body.slides-printing #editor .cm-content .cm-md-slide-kpi.cm-md-li {
|
|
393
|
+
font-size: 0.89em; /* .stat-label 1.2vw=23px ÷26 */
|
|
394
|
+
background: transparent;
|
|
395
|
+
border: none;
|
|
396
|
+
border-top: 1px solid rgba(17, 17, 17, 0.22);
|
|
397
|
+
box-shadow: none;
|
|
398
|
+
border-radius: 0;
|
|
399
|
+
padding: 0.9em 1.2em 0 0; /* gap-md 2vh≈21.6px ÷23.04 ≈ 0.9em */
|
|
400
|
+
margin: 0 2.8% 1.2em 0;
|
|
401
|
+
width: 30.8%; /* 三列 */
|
|
402
|
+
display: inline-block;
|
|
403
|
+
vertical-align: top;
|
|
404
|
+
color: rgba(17, 17, 17, 0.65); /* .orange .stat-label */
|
|
405
|
+
}
|
|
406
|
+
body.presenting #editor .cm-content .cm-md-slide-kpi .cm-md-strong,
|
|
407
|
+
body.slides-printing #editor .cm-content .cm-md-slide-kpi .cm-md-strong {
|
|
408
|
+
font-size: var(--slide-kpi-number-size); /* 5.5vw ÷26 ÷0.89 */
|
|
409
|
+
font-weight: 900;
|
|
410
|
+
line-height: 1;
|
|
411
|
+
letter-spacing: -0.04em;
|
|
412
|
+
color: #111111; /* .orange .stat-value */
|
|
413
|
+
}
|
|
414
|
+
body.presenting #editor .cm-content .cm-md-slide-kpi .cm-md-listmark,
|
|
415
|
+
body.slides-printing #editor .cm-content .cm-md-slide-kpi .cm-md-listmark {
|
|
416
|
+
display: none; /* stat-card 无序号 */
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
/* 1.6.6 steps · P11(diagram,orange):flow 裸排四步——flow-num 5vw 900 墨 .2、
|
|
420
|
+
flow-title h3 700 墨、flow-desc 墨 .6;箭头 → 无挂点(未复刻);
|
|
421
|
+
P15 cycle 同形不单列(暗底 + cycle-step 顶线 3px 橙,差异备案) */
|
|
422
|
+
body.presenting #editor .cm-content .cm-md-slide-steps.cm-md-li,
|
|
423
|
+
body.slides-printing #editor .cm-content .cm-md-slide-steps.cm-md-li {
|
|
424
|
+
font-size: 0.89em; /* .flow-desc 1.2vw ÷26 */
|
|
425
|
+
background: transparent;
|
|
426
|
+
border: none;
|
|
427
|
+
box-shadow: none;
|
|
428
|
+
border-radius: 0;
|
|
429
|
+
padding: 0;
|
|
430
|
+
margin: 0 2.5% 1.6em 0;
|
|
431
|
+
width: 22.5%; /* 四列 */
|
|
432
|
+
display: inline-block;
|
|
433
|
+
vertical-align: top;
|
|
434
|
+
color: rgba(17, 17, 17, 0.6); /* .orange .flow-desc */
|
|
435
|
+
}
|
|
436
|
+
body.presenting #editor .cm-content .cm-md-slide-steps .cm-md-listmark,
|
|
437
|
+
body.slides-printing #editor .cm-content .cm-md-slide-steps .cm-md-listmark {
|
|
438
|
+
font-weight: 900;
|
|
439
|
+
font-size: 4.16em; /* .flow-num 5vw=96px ÷26 ÷0.89 */
|
|
440
|
+
line-height: 1;
|
|
441
|
+
letter-spacing: -0.03em;
|
|
442
|
+
margin-right: 0.25em;
|
|
443
|
+
color: rgba(17, 17, 17, 0.2); /* .orange .flow-num(行内近似独立行) */
|
|
444
|
+
}
|
|
445
|
+
body.presenting #editor .cm-content .cm-md-slide-steps .cm-md-strong,
|
|
446
|
+
body.slides-printing #editor .cm-content .cm-md-slide-steps .cm-md-strong {
|
|
447
|
+
font-size: 2.34em; /* .flow-title 2.8vw=53.8px ÷26 ÷0.89 */
|
|
448
|
+
font-weight: 700;
|
|
449
|
+
line-height: 1.15;
|
|
450
|
+
color: #111111;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
/* 1.6.7 matrix · P13(pyramid,暗底):pyr-level 胶囊去底重画 = 左 4px 橙轨 +
|
|
454
|
+
橙阶底(五行 75/50/28/14/6% 明度阶梯与宽度递变无 nth 挂点,取中档 16% 近似);
|
|
455
|
+
pyr-name h3 900 小写 + pyr-desc fg-2 */
|
|
456
|
+
body.presenting #editor .cm-content .cm-md-slide-matrix .cm-md-page-title,
|
|
457
|
+
body.slides-printing .cm-md-slide-matrix.cm-md-page-title {
|
|
458
|
+
font-weight: 900; /* pyramid 页题 900 */
|
|
459
|
+
}
|
|
460
|
+
body.presenting #editor .cm-content .cm-md-slide-matrix.cm-md-li,
|
|
461
|
+
body.slides-printing #editor .cm-content .cm-md-slide-matrix.cm-md-li {
|
|
462
|
+
font-size: 0.89em; /* .pyr-desc 1.2vw ÷26 */
|
|
463
|
+
background: rgba(232, 93, 38, 0.16);
|
|
464
|
+
border: none;
|
|
465
|
+
border-left: 4px solid var(--seed-accent);
|
|
466
|
+
box-shadow: none;
|
|
467
|
+
border-radius: 0;
|
|
468
|
+
padding: 0.55em 1.2em 0.55em 0.8em;
|
|
469
|
+
margin: 0 0 0.14em; /* .pyramid gap 3px */
|
|
470
|
+
color: var(--text-secondary); /* .pyr-desc fg-2 */
|
|
471
|
+
}
|
|
472
|
+
body.presenting #editor .cm-content .cm-md-slide-matrix .cm-md-strong,
|
|
473
|
+
body.slides-printing #editor .cm-content .cm-md-slide-matrix .cm-md-strong {
|
|
474
|
+
font-size: 2.34em; /* .pyr-name 2.8vw ÷26 ÷0.89 */
|
|
475
|
+
font-weight: 900;
|
|
476
|
+
line-height: 1.1;
|
|
477
|
+
text-transform: lowercase; /* Broadside 小写 display */
|
|
478
|
+
color: var(--text-color);
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
/* 1.6.8 timeline · P14(vtimeline,暗底):vt-hl 页题 900 + 1px hairline 底线;
|
|
482
|
+
行 = vt-date mono 大写 .1em + vt-title h3 900 小写 + vt-body fg-2;
|
|
483
|
+
vt-spine 橙方块节点 absolute 无挂点(未复刻) */
|
|
484
|
+
body.presenting #editor .cm-content .cm-md-slide-timeline .cm-md-page-title,
|
|
485
|
+
body.slides-printing .cm-md-slide-timeline.cm-md-page-title {
|
|
486
|
+
font-weight: 900;
|
|
487
|
+
border-bottom: 1px solid var(--border-color);
|
|
488
|
+
padding-bottom: 0.45em; /* vt-hl padding-bottom gap-md */
|
|
489
|
+
}
|
|
490
|
+
body.presenting #editor .cm-content .cm-md-slide-timeline.cm-md-li,
|
|
491
|
+
body.slides-printing #editor .cm-content .cm-md-slide-timeline.cm-md-li {
|
|
492
|
+
font-size: 0.89em; /* .vt-body 1.2vw ÷26 */
|
|
493
|
+
color: var(--text-secondary);
|
|
494
|
+
margin: 0 0 1.1em;
|
|
495
|
+
}
|
|
496
|
+
body.presenting #editor .cm-content .cm-md-slide-timeline .cm-md-listmark,
|
|
497
|
+
body.slides-printing #editor .cm-content .cm-md-slide-timeline .cm-md-listmark {
|
|
498
|
+
font-family: var(--slide-mono);
|
|
499
|
+
font-weight: 500;
|
|
500
|
+
font-size: 0.75em; /* .vt-date 0.9vw=17.3px ÷26 ÷0.89 */
|
|
501
|
+
letter-spacing: 0.1em;
|
|
502
|
+
color: var(--text-muted); /* fg-3 提档(#505048 过暗) */
|
|
503
|
+
}
|
|
504
|
+
body.presenting #editor .cm-content .cm-md-slide-timeline .cm-md-strong,
|
|
505
|
+
body.slides-printing #editor .cm-content .cm-md-slide-timeline .cm-md-strong {
|
|
506
|
+
font-size: 2.34em; /* .vt-title 2.8vw ÷26 ÷0.89 */
|
|
507
|
+
font-weight: 900;
|
|
508
|
+
line-height: 1.1;
|
|
509
|
+
text-transform: lowercase;
|
|
510
|
+
color: var(--text-color);
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
/* 1.6.9 agenda · P7(list,暗底):bullet-list lead 1.6vw 500 + 橙 "/" mono 700
|
|
514
|
+
序标(模板 li::before 无挂点 → listmark 承担);页题走 1.6.1 默认 h2 声部 */
|
|
515
|
+
body.presenting #editor .cm-content .cm-md-slide-agenda.cm-md-li,
|
|
516
|
+
body.slides-printing #editor .cm-content .cm-md-slide-agenda.cm-md-li {
|
|
517
|
+
font-size: 1.18em; /* .bullet-list li 1.6vw ÷26 */
|
|
518
|
+
font-weight: 500;
|
|
519
|
+
line-height: 1.4;
|
|
520
|
+
margin: 0 0 0.9em; /* bullet-list gap-md 2vh */
|
|
521
|
+
color: var(--text-color);
|
|
522
|
+
}
|
|
523
|
+
body.presenting #editor .cm-content .cm-md-slide-agenda .cm-md-listmark,
|
|
524
|
+
body.slides-printing #editor .cm-content .cm-md-slide-agenda .cm-md-listmark {
|
|
525
|
+
font-family: var(--slide-mono);
|
|
526
|
+
font-weight: 700;
|
|
527
|
+
margin-right: 0.3em;
|
|
528
|
+
color: var(--seed-accent); /* "/" 橙 */
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
/* 1.6.10 quote · P8(quote spread,暗底):quote-text 3.8vw 700 cream 78% 宽裸排;
|
|
532
|
+
巨引号 quote-mark 10vw 橙 900 lh .6 以 ::before 近似;署名行 = mono 大写 .14em;
|
|
533
|
+
P3 statement 同形不单列(7.5vw 橙字声明由本版式承担,色差备案于头注) */
|
|
534
|
+
body.presenting #editor .cm-content .cm-md-slide-quote .cm-md-blockquote,
|
|
535
|
+
body.slides-printing #editor .cm-content .cm-md-slide-quote .cm-md-blockquote {
|
|
536
|
+
font-size: var(--slide-quote-size); /* 3.8vw ÷26 */
|
|
537
|
+
font-weight: 700;
|
|
538
|
+
line-height: 1.15;
|
|
539
|
+
letter-spacing: -0.02em;
|
|
540
|
+
color: var(--text-color);
|
|
541
|
+
background: transparent;
|
|
542
|
+
border-left: none; /* 模板金句裸排,无竖轨 */
|
|
543
|
+
padding-left: 0;
|
|
544
|
+
padding-right: 0;
|
|
545
|
+
max-width: 78%;
|
|
546
|
+
}
|
|
547
|
+
body.presenting #editor .cm-content .cm-md-slide-directive + .cm-md-blockquote.cm-md-slide-quote::before,
|
|
548
|
+
body.slides-printing #editor .cm-content .cm-md-slide-directive + .cm-md-blockquote.cm-md-slide-quote::before {
|
|
549
|
+
font-family: var(--slide-title-font);
|
|
550
|
+
font-weight: 900;
|
|
551
|
+
font-size: 7.38em; /* quote-mark 10vw=192px ÷26 */
|
|
552
|
+
line-height: 0.6;
|
|
553
|
+
color: var(--seed-accent);
|
|
554
|
+
}
|
|
555
|
+
body.presenting #editor .cm-content .cm-md-slide-quote .cm-md-blockquote + .cm-line,
|
|
556
|
+
body.slides-printing #editor .cm-content .cm-md-slide-quote .cm-md-blockquote + .cm-line {
|
|
557
|
+
margin-top: 1.2em; /* quote-attr 间距(CSS-03:留白只走 margin) */
|
|
558
|
+
font-family: var(--slide-mono);
|
|
559
|
+
font-weight: 500;
|
|
560
|
+
font-size: 0.53em; /* label 0.72vw ÷26 */
|
|
561
|
+
letter-spacing: 0.14em;
|
|
562
|
+
text-transform: uppercase;
|
|
563
|
+
color: var(--text-muted);
|
|
564
|
+
}
|
|
565
|
+
body.presenting #editor .cm-content .cm-md-slide-quote .cm-md-blockquote + .cm-line .cm-md-strong,
|
|
566
|
+
body.slides-printing #editor .cm-content .cm-md-slide-quote .cm-md-blockquote + .cm-line .cm-md-strong {
|
|
567
|
+
color: var(--seed-accent); /* .label accent 署名橙 */
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
/* 1.6.11 closing · P16(end,orange):13vw 巨题墨 + 联络/行动清单 lead 墨 .65;
|
|
571
|
+
底部落款条 border-top 无挂点(未复刻);模板无清单序号 → "/" 墨 .45 保留 */
|
|
572
|
+
body.presenting #editor .cm-content .cm-md-slide-closing .cm-md-page-title,
|
|
573
|
+
body.slides-printing .cm-md-slide-closing.cm-md-page-title {
|
|
574
|
+
font-size: var(--slide-closing-title-size);
|
|
575
|
+
line-height: 0.9;
|
|
576
|
+
letter-spacing: -0.04em;
|
|
577
|
+
color: #111111;
|
|
578
|
+
}
|
|
579
|
+
body.presenting #editor .cm-content .cm-md-slide-closing.cm-md-li,
|
|
580
|
+
body.slides-printing #editor .cm-content .cm-md-slide-closing.cm-md-li {
|
|
581
|
+
font-size: var(--slide-lead-size); /* contact lead 1.6vw ÷26 */
|
|
582
|
+
background: transparent;
|
|
583
|
+
border: none;
|
|
584
|
+
box-shadow: none;
|
|
585
|
+
border-radius: 0;
|
|
586
|
+
padding: 0;
|
|
587
|
+
margin: 0 0 0.55em;
|
|
588
|
+
color: rgba(17, 17, 17, 0.65);
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
/* 1.6.12 chrome · IBM Plex Mono 大写 .14em label 声部,1px #282826 hairline
|
|
592
|
+
(模板字面值;橙底页覆写见 1.6.2 组) */
|
|
593
|
+
body.presenting .slide-chrome,
|
|
594
|
+
body.slides-printing .slide-chrome,
|
|
595
|
+
body.presenting .slide-foot,
|
|
596
|
+
body.slides-printing .slide-foot {
|
|
597
|
+
font-family: var(--slide-mono);
|
|
598
|
+
font-weight: 500;
|
|
599
|
+
font-size: clamp(10px, 0.72vw, 14px); /* label 0.72vw */
|
|
600
|
+
letter-spacing: 0.14em;
|
|
601
|
+
text-transform: uppercase;
|
|
602
|
+
color: var(--text-muted);
|
|
603
|
+
}
|
|
604
|
+
body.presenting .slide-chrome,
|
|
605
|
+
body.slides-printing .slide-chrome {
|
|
606
|
+
border-bottom: 1px solid #282826;
|
|
607
|
+
padding-bottom: 0.5em;
|
|
608
|
+
margin-bottom: 0.9em;
|
|
609
|
+
}
|
|
610
|
+
body.presenting .slide-foot,
|
|
611
|
+
body.slides-printing .slide-foot {
|
|
612
|
+
border-top: 1px solid #282826;
|
|
613
|
+
padding-top: 0.5em;
|
|
614
|
+
margin-top: 0.9em;
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
/* ═══════════════════════════════════════════════════════════
|
|
618
|
+
SECTION 2 — Editor DOM(#editor .cm-content + .cm-md-*)
|
|
619
|
+
═══════════════════════════════════════════════════════════ */
|
|
620
|
+
|
|
621
|
+
#editor .cm-content {
|
|
622
|
+
font-family: var(--font-body);
|
|
623
|
+
line-height: 1.75;
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
/* ── 2.1 Headings ──
|
|
627
|
+
模板字阶:h1 800 / h2 700 / h3 600;display 永不大写;标题无下划线
|
|
628
|
+
(hairline 只属于 chrome/stat-card),生成版的 h1/h2 border-bottom 移除 */
|
|
629
|
+
#editor .cm-content .cm-md-atxheading1,
|
|
630
|
+
#editor .cm-content .cm-md-atxheading2,
|
|
631
|
+
#editor .cm-content .cm-md-atxheading3,
|
|
632
|
+
#editor .cm-content .cm-md-atxheading4,
|
|
633
|
+
#editor .cm-content .cm-md-atxheading5,
|
|
634
|
+
#editor .cm-content .cm-md-atxheading6 {
|
|
635
|
+
font-family: "Barlow", "Noto Sans SC", sans-serif;
|
|
636
|
+
color: var(--text-color);
|
|
637
|
+
font-weight: 700;
|
|
638
|
+
line-height: 1.1;
|
|
639
|
+
letter-spacing: -0.02em;
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
#editor .cm-content .cm-md-atxheading1 {
|
|
643
|
+
font-size: 2.5em;
|
|
644
|
+
font-weight: 800;
|
|
645
|
+
line-height: 0.95;
|
|
646
|
+
letter-spacing: -0.03em;
|
|
647
|
+
}
|
|
648
|
+
#editor .cm-content .cm-md-atxheading2 { font-size: 2em; }
|
|
649
|
+
#editor .cm-content .cm-md-atxheading3 { font-size: 1.5em; font-weight: 600; line-height: 1.2; }
|
|
650
|
+
#editor .cm-content .cm-md-atxheading4 { font-size: 1.25em; font-weight: 600; }
|
|
651
|
+
#editor .cm-content .cm-md-atxheading5 { font-size: 1.1em; font-weight: 600; }
|
|
652
|
+
#editor .cm-content .cm-md-atxheading6 {
|
|
653
|
+
font-size: 0.85em;
|
|
654
|
+
font-family: var(--font-mono); /* h6 = .label chrome 声部 */
|
|
655
|
+
font-weight: 500;
|
|
656
|
+
letter-spacing: 0.14em;
|
|
657
|
+
text-transform: uppercase;
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
/* ── 2.2 Inline ──
|
|
661
|
+
强调 = 字重/尺寸/色(模板体系):strong 用正文色 700;橙只给链接/序标/高亮 */
|
|
662
|
+
#editor .cm-content .cm-md-strong { color: var(--text-color); font-weight: 700; }
|
|
663
|
+
#editor .cm-content .cm-md-em { font-style: italic; }
|
|
664
|
+
#editor .cm-content .cm-md-strike { text-decoration: line-through; }
|
|
665
|
+
#editor .cm-content .cm-md-highlight { background: var(--highlight-bg); }
|
|
666
|
+
#editor .cm-content .cm-md-link { color: var(--link-color); }
|
|
667
|
+
#editor .cm-content .cm-md-url { color: var(--text-muted); }
|
|
668
|
+
|
|
669
|
+
#editor .cm-content .cm-md-inlinecode {
|
|
670
|
+
font-family: var(--font-mono);
|
|
671
|
+
background: var(--code-bg);
|
|
672
|
+
color: var(--text-color);
|
|
673
|
+
border-radius: 0; /* 平面体系零圆角 */
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
#editor .cm-content .cm-md-marker,
|
|
677
|
+
#editor .cm-content .cm-md-quotemark,
|
|
678
|
+
#editor .cm-content .cm-md-listmark {
|
|
679
|
+
color: var(--seed-accent); /* "/" 橙 mono 序标(模板 bullet-marker) */
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
/* ── 2.3 Blockquote / Code Block(每行一个 div,禁用纵向 padding)──
|
|
683
|
+
引用底色由编辑器按 --blockquote-bg 画在选区下方,这里不要写 background,
|
|
684
|
+
否则引用里的代码行会盖住代码块底色。 */
|
|
685
|
+
#editor .cm-content .cm-md-blockquote {
|
|
686
|
+
color: var(--text-secondary);
|
|
687
|
+
border-left: 2px solid var(--blockquote-border); /* .rule 2px 橙轨回声 */
|
|
688
|
+
padding-left: 16px;
|
|
689
|
+
padding-right: 16px;
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
#editor .cm-content .cm-md-codeblock {
|
|
693
|
+
background: var(--code-block-bg);
|
|
694
|
+
color: var(--code-block-text);
|
|
695
|
+
padding-left: 16px;
|
|
696
|
+
padding-right: 16px;
|
|
697
|
+
}
|
|
698
|
+
#editor .cm-content .cm-md-codeblock-first,
|
|
699
|
+
#editor .cm-content .cm-md-codeblock-last {
|
|
700
|
+
border-radius: 0;
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
/* ── 2.4 Table / Rule(模板:1px hairline + mono 大写表头)── */
|
|
704
|
+
#editor .cm-content .cm-md-table-widget th,
|
|
705
|
+
#editor .cm-content .cm-md-table-widget td {
|
|
706
|
+
padding: 10px 14px;
|
|
707
|
+
border-color: var(--border-color);
|
|
708
|
+
}
|
|
709
|
+
#editor .cm-content .cm-md-table-widget th {
|
|
710
|
+
background: var(--table-header-bg);
|
|
711
|
+
color: var(--text-color);
|
|
712
|
+
font-family: var(--font-mono);
|
|
713
|
+
font-size: 0.8em;
|
|
714
|
+
font-weight: 500;
|
|
715
|
+
letter-spacing: 0.14em;
|
|
716
|
+
text-transform: uppercase;
|
|
717
|
+
border-bottom: 1px solid var(--seed-border-strong);
|
|
718
|
+
}
|
|
719
|
+
#editor .cm-content .cm-md-hr { border-top-color: var(--border-color); }
|
|
720
|
+
|
|
721
|
+
/* ── 2.5 中文首行缩进 ──
|
|
722
|
+
CM6 里一行就是一个 div:段落缩进落在 .cm-line 上,标题/引用/代码/列表行归零。 */
|
|
723
|
+
#editor .cm-content .cm-line { text-indent: 2em; }
|
|
724
|
+
|
|
725
|
+
#editor .cm-content .cm-md-atxheading1,
|
|
726
|
+
#editor .cm-content .cm-md-atxheading2,
|
|
727
|
+
#editor .cm-content .cm-md-atxheading3,
|
|
728
|
+
#editor .cm-content .cm-md-atxheading4,
|
|
729
|
+
#editor .cm-content .cm-md-atxheading5,
|
|
730
|
+
#editor .cm-content .cm-md-atxheading6,
|
|
731
|
+
#editor .cm-content .cm-md-blockquote,
|
|
732
|
+
#editor .cm-content .cm-md-codeblock,
|
|
733
|
+
#editor .cm-content .cm-md-hr,
|
|
734
|
+
#editor .cm-content .cm-md-mermaid,
|
|
735
|
+
#editor .cm-content .cm-md-li-0,
|
|
736
|
+
#editor .cm-content .cm-md-li-1,
|
|
737
|
+
#editor .cm-content .cm-md-li-2,
|
|
738
|
+
#editor .cm-content .cm-md-li-3,
|
|
739
|
+
#editor .cm-content .cm-md-li-4,
|
|
740
|
+
#editor .cm-content .cm-md-li-5,
|
|
741
|
+
#editor .cm-content .cm-md-li-6 {
|
|
742
|
+
text-indent: 0;
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
/* ═══════════════════════════════════════════════════════════
|
|
746
|
+
SECTION 3 — Exported HTML(.colamd-document,语义标签)
|
|
747
|
+
HTML/PDF 导出不走编辑器 DOM;与 SECTION 2 镜像同步。
|
|
748
|
+
═══════════════════════════════════════════════════════════ */
|
|
749
|
+
|
|
750
|
+
.colamd-document {
|
|
751
|
+
font-family: var(--font-body);
|
|
752
|
+
font-size: 16px;
|
|
753
|
+
line-height: 1.75;
|
|
754
|
+
}
|
|
755
|
+
|
|
756
|
+
.colamd-document h1,
|
|
757
|
+
.colamd-document h2,
|
|
758
|
+
.colamd-document h3,
|
|
759
|
+
.colamd-document h4,
|
|
760
|
+
.colamd-document h5,
|
|
761
|
+
.colamd-document h6 {
|
|
762
|
+
font-family: "Barlow", "Noto Sans SC", sans-serif;
|
|
763
|
+
color: var(--text-color);
|
|
764
|
+
font-weight: 700;
|
|
765
|
+
line-height: 1.1;
|
|
766
|
+
letter-spacing: -0.02em;
|
|
767
|
+
margin: 1.5em 0 0.5em;
|
|
768
|
+
}
|
|
769
|
+
.colamd-document h1 { font-size: 2.5em; font-weight: 800; line-height: 0.95; letter-spacing: -0.03em; margin-top: 0.4em; }
|
|
770
|
+
.colamd-document h2 { font-size: 2em; }
|
|
771
|
+
.colamd-document h3 { font-size: 1.5em; font-weight: 600; line-height: 1.2; }
|
|
772
|
+
.colamd-document h4 { font-size: 1.25em; font-weight: 600; }
|
|
773
|
+
.colamd-document h5 { font-size: 1.1em; font-weight: 600; }
|
|
774
|
+
.colamd-document h6 {
|
|
775
|
+
font-size: 0.85em;
|
|
776
|
+
font-family: var(--font-mono);
|
|
777
|
+
font-weight: 500;
|
|
778
|
+
letter-spacing: 0.14em;
|
|
779
|
+
text-transform: uppercase;
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
.colamd-document strong { color: var(--text-color); font-weight: 700; }
|
|
783
|
+
.colamd-document code {
|
|
784
|
+
background: var(--code-bg);
|
|
785
|
+
color: var(--text-color);
|
|
786
|
+
font-family: var(--font-mono);
|
|
787
|
+
border-radius: 0;
|
|
788
|
+
}
|
|
789
|
+
/* Pele SVG 不自绘背景,编辑器里浮在代码块行上;导出后无类名 div 托底,需补回 */
|
|
790
|
+
.colamd-document svg.pele { background: var(--pele-bg); border-radius: var(--pele-radius); }
|
|
791
|
+
.colamd-document pre { background: var(--code-block-bg); }
|
|
792
|
+
.colamd-document pre code { color: var(--code-block-text); }
|
|
793
|
+
.colamd-document blockquote {
|
|
794
|
+
background: var(--blockquote-bg);
|
|
795
|
+
color: var(--text-secondary);
|
|
796
|
+
border-left: 2px solid var(--blockquote-border);
|
|
797
|
+
padding: 0.5em 1.2em;
|
|
798
|
+
}
|
|
799
|
+
.colamd-document mark { background: var(--highlight-bg); }
|
|
800
|
+
.colamd-document th,
|
|
801
|
+
.colamd-document td {
|
|
802
|
+
border-color: var(--border-color);
|
|
803
|
+
padding: 10px 14px;
|
|
804
|
+
}
|
|
805
|
+
.colamd-document th {
|
|
806
|
+
background: var(--table-header-bg);
|
|
807
|
+
font-family: var(--font-mono);
|
|
808
|
+
font-size: 0.8em;
|
|
809
|
+
font-weight: 500;
|
|
810
|
+
letter-spacing: 0.14em;
|
|
811
|
+
text-transform: uppercase;
|
|
812
|
+
border-bottom: 1px solid var(--seed-border-strong);
|
|
813
|
+
}
|
|
814
|
+
.colamd-document hr { border-top-color: var(--border-color); }
|
|
815
|
+
|
|
816
|
+
.colamd-document p { text-indent: 2em; }
|
|
817
|
+
.colamd-document li p,
|
|
818
|
+
.colamd-document td p,
|
|
819
|
+
.colamd-document th p,
|
|
820
|
+
.colamd-document blockquote p {
|
|
821
|
+
text-indent: 0;
|
|
822
|
+
}
|
|
823
|
+
|
|
824
|
+
/* ═══════════════════════════════════════════════════════════
|
|
825
|
+
SECTION 4 — Print
|
|
826
|
+
应用直接对当前窗口 printToPDF,屏幕规则原样生效;这里只补保真。
|
|
827
|
+
═══════════════════════════════════════════════════════════ */
|
|
828
|
+
|
|
829
|
+
@media print {
|
|
830
|
+
html,
|
|
831
|
+
body {
|
|
832
|
+
background: var(--bg-color);
|
|
833
|
+
color: var(--text-color);
|
|
834
|
+
-webkit-print-color-adjust: exact;
|
|
835
|
+
print-color-adjust: exact;
|
|
836
|
+
}
|
|
837
|
+
}
|