@bytechain.cn/colamd-themes 0.5.9 → 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 +85 -19
- package/dist/cli.js +70 -6
- package/dist/cli.js.map +1 -1
- package/dist/compat.d.ts +23 -3
- package/dist/compat.js +71 -12
- package/dist/compat.js.map +1 -1
- package/dist/dsh-plugin.js +1 -1
- package/dist/generator.d.ts +1 -1
- package/dist/generator.js +5 -2
- package/dist/generator.js.map +1 -1
- package/dist/models.d.ts +7 -1
- package/dist/models.js +1 -1
- package/dist/models.js.map +1 -1
- package/dist/renderer.d.ts +1 -1
- package/dist/renderer.js +21 -3
- package/dist/renderer.js.map +1 -1
- package/dist/slides-markdown.d.ts +45 -0
- package/dist/slides-markdown.js +515 -0
- package/dist/slides-markdown.js.map +1 -0
- package/dist/slides.d.ts +36 -0
- package/dist/slides.js +149 -0
- package/dist/slides.js.map +1 -0
- package/dist/templates/theme-template.hbs +11 -0
- package/dist/validators.d.ts +2 -2
- package/dist/validators.js +71 -4
- package/dist/validators.js.map +1 -1
- package/package.json +3 -2
- package/skills/build-skills.sh +224 -217
- package/skills/colamd-themes/SKILL.md +178 -6
- 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/indigo-deck.css +336 -0
- package/themes/indigo-porcelain-light.css +335 -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/swiss-lemon-dark.css +529 -0
- package/themes/swiss-lemon-light.css +375 -0
- package/themes/vellum.css +723 -0
|
@@ -0,0 +1,843 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* ColaMD Theme: People's Platform(人民纲领 · 手工精修版)
|
|
3
|
+
* WPA 海报 × 政治竞选:钴蓝 / 信号橙 / 警示红 / 暖奶油 / 近黑墨,Alfa Slab One
|
|
4
|
+
* 高压上大写,Caveat Brush 手写打断,DM Mono 记账标签,Archivo Narrow 正文。
|
|
5
|
+
* 来源:D:\workspace\git\beautiful-html-templates\templates\peoples-platform\
|
|
6
|
+
* template.html + design.md + template.json(10 页,1920×1080)
|
|
7
|
+
* 色板:blue #2C2CDC / blue-deep #1B1BB0 / orange #F2A03A / orange-deep #E89321
|
|
8
|
+
* red #E83A2A / red-deep #B7281C / cream #F4E9D6 / paper #F5F2EA / ink #0E0E14
|
|
9
|
+
* 字体:Alfa Slab One(display,仅 400)/ Archivo Narrow(正文 400-600)
|
|
10
|
+
* DM Mono(标签与 chrome)/ Caveat Brush(手写,行式 DOM 无手写挂点,未复刻)
|
|
11
|
+
*
|
|
12
|
+
* paradigm 备案(模板刻意身份,与 biennale-yellow / pin-and-paper 同类,有意保留):
|
|
13
|
+
* SL-01 —— 纸面 #F5F2EA 是暖纸底,HSL S≈35% > 5%;模板身份即"屏幕印刷的纸",
|
|
14
|
+
* 中性化成灰会丢掉暖纸底(cream 页 #F4E9D6 同属纸族)。
|
|
15
|
+
* CR-04 —— 橙 #F2A03A 对纸面 1.9:1。模板把橙只当"能量色":≥54px 的巨数字
|
|
16
|
+
* (配红色错位实体阴影)、蓝底上的强调字、按钮/缎带底色;纸面文字
|
|
17
|
+
* 一律 ink(正文 17.4:1),链接走蓝 #2C2CDC(纸面 7.5:1)。
|
|
18
|
+
* SL-02/NT-01/NT-03/CR-01/CR-02 已修正过线(panel/panelAlt 收中性暖灰 8-10%)。
|
|
19
|
+
*
|
|
20
|
+
* 契约:ColaMD 2.7.13(:root 活变量;CM6 每行一 div;引用/代码块禁纵向 padding)
|
|
21
|
+
*
|
|
22
|
+
* ═══════════════════════════════════════════════════════════
|
|
23
|
+
* SECTION 1 — Design Tokens
|
|
24
|
+
* ═══════════════════════════════════════════════════════════ */
|
|
25
|
+
|
|
26
|
+
:root {
|
|
27
|
+
|
|
28
|
+
/* ── 1.1 Seed Palette ──
|
|
29
|
+
本工具的再生成与校验读这一层;编辑器不消费。
|
|
30
|
+
明度序(SL-04 亮色范式):paper 0.939 > panel 0.906 > panelAlt 0.837。 */
|
|
31
|
+
--seed-accent: #f2a03a; /* orange —— 能量色(巨数字/蓝底强调/缎带底) */
|
|
32
|
+
--seed-accent-light: #f7b65f;
|
|
33
|
+
--seed-accent-dark: #e89321; /* orange-deep */
|
|
34
|
+
--seed-surface: #f5f2ea; /* paper —— 暖纸底(模板身份) */
|
|
35
|
+
--seed-panel: #e9e8e5; /* 纸面降档(S 8.3%,SL-02 过线) */
|
|
36
|
+
--seed-panel-alt: #d9d7d1; /* 再降一档(S 9.5%) */
|
|
37
|
+
--seed-ink: #0e0e14; /* ink —— 正文/结构线 */
|
|
38
|
+
--seed-ink-muted: #4a4a56; /* 次文字(纸面 7.8:1) */
|
|
39
|
+
--seed-ink-dim: #6b6b78; /* 辅助文字(纸面 4.7:1,CR-02 过线) */
|
|
40
|
+
--seed-border: #b4b2ae; /* 中性发丝线(S 3.8%,NT-03 过线) */
|
|
41
|
+
--seed-border-strong: #0e0e14; /* ink —— 模板 6px/3px 结构线 */
|
|
42
|
+
/* 模板色彩角色(本主题幻灯片换底用;工具不消费,编辑器从 :root 继承) */
|
|
43
|
+
--seed-blue: #2c2cdc; /* 结构色:蓝页底 / 纸页标题 / 蓝底文字 */
|
|
44
|
+
--seed-red: #e83a2a; /* 深度色:只做错位实体阴影,从不当底/字色 */
|
|
45
|
+
--seed-red-deep: #b7281c; /* 二层阴影 */
|
|
46
|
+
--seed-cream: #f4e9d6; /* 蓝底上的文字/边框;cream 页底色 */
|
|
47
|
+
|
|
48
|
+
/* ── 1.2 Semantic Colors(活变量)── */
|
|
49
|
+
--bg-color: var(--seed-surface);
|
|
50
|
+
--text-color: var(--seed-ink);
|
|
51
|
+
--text-secondary: var(--seed-ink-muted);
|
|
52
|
+
--text-muted: var(--seed-ink-dim);
|
|
53
|
+
--border-color: var(--seed-border);
|
|
54
|
+
/* 模板蓝做链接:纸面 7.5:1(生成版用橙 1.9:1 不可读,CR-04 修法) */
|
|
55
|
+
--link-color: #2c2cdc;
|
|
56
|
+
|
|
57
|
+
--code-bg: var(--seed-panel);
|
|
58
|
+
--code-block-bg: var(--seed-panel-alt);
|
|
59
|
+
--code-block-text: #0e0e14;
|
|
60
|
+
|
|
61
|
+
--blockquote-border: var(--seed-border-strong); /* 模板:ink 细线体系 */
|
|
62
|
+
--blockquote-bg: var(--seed-panel);
|
|
63
|
+
--table-header-bg: var(--seed-panel);
|
|
64
|
+
|
|
65
|
+
--selection-bg: rgba(44, 44, 220, 0.18); /* 蓝墨水选区 */
|
|
66
|
+
--highlight-bg: rgba(242, 160, 58, 0.35); /* 橙色荧光笔 */
|
|
67
|
+
|
|
68
|
+
/* ── 1.3 Typography & Metrics(活变量)── */
|
|
69
|
+
--font-body: "Archivo Narrow", "Noto Sans SC", sans-serif;
|
|
70
|
+
--font-mono: "DM Mono", "Noto Sans Mono CJK SC", monospace;
|
|
71
|
+
--editor-font-size: 18px;
|
|
72
|
+
--editor-column-width: 820px;
|
|
73
|
+
|
|
74
|
+
/* ── 1.4 Pele Diagram(9 个变量,全部可省略)──
|
|
75
|
+
图直接画在代码块底色上,所以底色与字色都从 --code-block-* 推导。 */
|
|
76
|
+
--pele-bg: var(--code-block-bg);
|
|
77
|
+
--pele-fg: var(--code-block-text);
|
|
78
|
+
--pele-muted: color-mix(in srgb, var(--code-block-text) 70%, var(--code-block-bg));
|
|
79
|
+
--pele-line: var(--code-block-text);
|
|
80
|
+
--pele-surface: color-mix(in srgb, var(--code-block-text) 18%, var(--code-block-bg));
|
|
81
|
+
--pele-surface-alt: color-mix(in srgb, var(--code-block-text) 28%, var(--code-block-bg));
|
|
82
|
+
--pele-border: color-mix(in srgb, var(--code-block-text) 45%, var(--code-block-bg));
|
|
83
|
+
--pele-accent: var(--seed-accent); /* 模板:橙做柱/线/高亮 */
|
|
84
|
+
--pele-radius: 0px; /* 模板:结构件全直角 */
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/* ── 1.5 PPT / Slides(ColaMD 2.7.13 · 按 peoples-platform 十页逐页复刻)──
|
|
88
|
+
换算锚点:放映基准字号 clamp(17px,1.35vw,26px),1080p ≈ 26px/em;
|
|
89
|
+
模板 1920 画布 px ÷ 26 = em(clamp 取 1920×1080 实际落点)。
|
|
90
|
+
页面对照表:
|
|
91
|
+
cover ← P01 Cover 蓝页 + 240px 橙题 + 72px 奶油副题
|
|
92
|
+
agenda ← P02 Contents 纸页 + 140px 蓝题 + 序号/章名/页码行
|
|
93
|
+
section ← P03 Big Idea cream 页 + 108px 蓝题 + 红 mono 眉标
|
|
94
|
+
matrix ← P04 Three Pillars 纸页 + 120px 蓝题 + 三列巨序号卡
|
|
95
|
+
kpi ← P05 Big Stat 蓝页 + 540px 橙数字 + 30px 奶油说明
|
|
96
|
+
agenda ← P06 The Full Plan 与 P02 同形(序号+行题+说明)不单列
|
|
97
|
+
quote ← P07 Quote 橙页 + 300px 巨型引号 + 78px 蓝金句
|
|
98
|
+
timeline← P08 Roadmap cream 页 + 120px 蓝题 + 日期/节点行
|
|
99
|
+
two-col ← P09 Compare 纸页 + 120px 蓝题 + 左右对照
|
|
100
|
+
closing ← P10 Close 蓝页 + 230px 橙题 + CTA 橙块
|
|
101
|
+
(figure / steps 无对应页,保持上游默认。绝对定位装饰——奶油内框、
|
|
102
|
+
橙色缎带、时间轴横轨+圆点、KPI 三卡、头像/印章、纸张噪点、手写体——
|
|
103
|
+
行式 DOM 无挂点,逐一注释"有意未复刻"。换底色页整链上色见 1.6.2。)
|
|
104
|
+
字重注:Alfa Slab One 只有 400(本身即超粗),生成版 700/800 全部改回 400。 */
|
|
105
|
+
:root {
|
|
106
|
+
--slide-mono: "DM Mono", "Noto Sans Mono CJK SC", monospace;
|
|
107
|
+
--slide-title-font: "Alfa Slab One", "Noto Serif SC", serif;
|
|
108
|
+
--slide-title-size: 4.62em; /* 内容页题 120px ÷26(P04/P08/P09) */
|
|
109
|
+
--slide-title-weight: 400; /* Alfa Slab One 仅 400 */
|
|
110
|
+
--slide-subhead-weight: 400;
|
|
111
|
+
--slide-title-tracking: 0.005em; /* 模板 display .005em */
|
|
112
|
+
--slide-title-line-height: 0.88;
|
|
113
|
+
--slide-cover-title-size: 9.2em; /* P01 h1 240px ÷26 */
|
|
114
|
+
--slide-cover-title-line-height: 0.86;
|
|
115
|
+
--slide-cover-title-tracking: 0.005em;
|
|
116
|
+
--slide-section-title-size: 4.15em; /* P03 h1 108px ÷26 */
|
|
117
|
+
--slide-closing-title-size: 8.85em; /* P10 h1 230px(内联覆盖)÷26 */
|
|
118
|
+
--slide-lead-size: 1.08em; /* lede 28px ÷26 */
|
|
119
|
+
--slide-kicker-size: clamp(14px, 1.36vw, 26px); /* mono 眉标 26px @1920 */
|
|
120
|
+
--slide-kicker-tracking: 0.22em; /* P03 kicker .22em */
|
|
121
|
+
--slide-kicker-transform: uppercase;
|
|
122
|
+
--slide-chrome-opacity: 0.85; /* 模板 metadata 全色,chrome 略淡 */
|
|
123
|
+
--slide-chrome-transform: uppercase;
|
|
124
|
+
--slide-kpi-number-size: 18.06em; /* P05 v 540px ÷26 ÷1.15(li 基准=30px) */
|
|
125
|
+
--slide-quote-size: 3em; /* P07 quote 78px ÷26 */
|
|
126
|
+
--slide-page-pad-x: 4.7vw; /* 模板 gutter 90px @1920 */
|
|
127
|
+
--slide-page-top-pad: 96px; /* head 顶 70px + chrome 安全区 */
|
|
128
|
+
--slide-page-top-pad-print: 84px;
|
|
129
|
+
--slide-cover-text-align: center; /* P01 标题居中 */
|
|
130
|
+
--slide-cover-lead-inline: auto;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
/* ═══════════════ SECTION 1.6 — 版式页复刻(SLIDE-02:全部包裹在
|
|
134
|
+
body.presenting / body.slides-printing 作用域) ═══════════════ */
|
|
135
|
+
|
|
136
|
+
/* 1.6.1 页标题声部对齐:Alfa Slab 400 蓝 + 红色错位实体阴影(P02/P04/P06/P08/P09
|
|
137
|
+
的 h2 5-6px 红影)。先压掉文档式 h1/h2 的 border-bottom 与爆字号,
|
|
138
|
+
再用各版式覆盖色/字号。 */
|
|
139
|
+
body.presenting #editor .cm-content .cm-md-page-title,
|
|
140
|
+
body.slides-printing #editor .cm-content .cm-md-page-title {
|
|
141
|
+
font-family: var(--slide-title-font);
|
|
142
|
+
font-size: var(--slide-title-size);
|
|
143
|
+
font-weight: 400;
|
|
144
|
+
line-height: 0.88;
|
|
145
|
+
letter-spacing: 0.005em;
|
|
146
|
+
text-transform: uppercase;
|
|
147
|
+
color: var(--seed-blue);
|
|
148
|
+
border-bottom: none;
|
|
149
|
+
padding-bottom: 0;
|
|
150
|
+
margin-bottom: 0.28em;
|
|
151
|
+
text-indent: 0; /* 压掉 2.5 的段落首行缩进 */
|
|
152
|
+
text-shadow: 0.045em 0.045em 0 var(--seed-red);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
/* 1.6.2 换底色页的整条层叠链(陷阱 1:只挂 body 或漏 #editor 都会被原底色反盖)。
|
|
156
|
+
蓝页 = cover(P01) / kpi(P05) / closing(P10);橙页 = quote(P07);
|
|
157
|
+
cream 页 = section(P03) / timeline(P08);其余纸页用 --bg-color 默认,不写背景。
|
|
158
|
+
注意 P04 只有中列是蓝 pane,页面仍是纸——不写页面级背景。 */
|
|
159
|
+
body.presenting:has(#editor[data-slide-layout='cover']),
|
|
160
|
+
body.presenting:has(#editor[data-slide-layout='kpi']),
|
|
161
|
+
body.presenting:has(#editor[data-slide-layout='closing']),
|
|
162
|
+
body.slides-printing:has(.cm-md-slide-cover),
|
|
163
|
+
body.slides-printing:has(.cm-md-slide-kpi),
|
|
164
|
+
body.slides-printing:has(.cm-md-slide-closing) {
|
|
165
|
+
background: var(--seed-blue);
|
|
166
|
+
}
|
|
167
|
+
body.presenting:has(#editor[data-slide-layout='cover']) :is(#editor, .cm-editor, .cm-scroller, .cm-content),
|
|
168
|
+
body.presenting:has(#editor[data-slide-layout='kpi']) :is(#editor, .cm-editor, .cm-scroller, .cm-content),
|
|
169
|
+
body.presenting:has(#editor[data-slide-layout='closing']) :is(#editor, .cm-editor, .cm-scroller, .cm-content),
|
|
170
|
+
body.slides-printing:has(.cm-md-slide-cover) :is(#editor, .cm-editor, .cm-scroller, .cm-content),
|
|
171
|
+
body.slides-printing:has(.cm-md-slide-kpi) :is(#editor, .cm-editor, .cm-scroller, .cm-content),
|
|
172
|
+
body.slides-printing:has(.cm-md-slide-closing) :is(#editor, .cm-editor, .cm-scroller, .cm-content) {
|
|
173
|
+
background: var(--seed-blue);
|
|
174
|
+
}
|
|
175
|
+
body.presenting:has(#editor[data-slide-layout='quote']),
|
|
176
|
+
body.slides-printing:has(.cm-md-slide-quote) {
|
|
177
|
+
background: var(--seed-accent);
|
|
178
|
+
}
|
|
179
|
+
body.presenting:has(#editor[data-slide-layout='quote']) :is(#editor, .cm-editor, .cm-scroller, .cm-content),
|
|
180
|
+
body.slides-printing:has(.cm-md-slide-quote) :is(#editor, .cm-editor, .cm-scroller, .cm-content) {
|
|
181
|
+
background: var(--seed-accent);
|
|
182
|
+
}
|
|
183
|
+
body.presenting:has(#editor[data-slide-layout='section']),
|
|
184
|
+
body.presenting:has(#editor[data-slide-layout='timeline']),
|
|
185
|
+
body.slides-printing:has(.cm-md-slide-section),
|
|
186
|
+
body.slides-printing:has(.cm-md-slide-timeline) {
|
|
187
|
+
background: var(--seed-cream);
|
|
188
|
+
}
|
|
189
|
+
body.presenting:has(#editor[data-slide-layout='section']) :is(#editor, .cm-editor, .cm-scroller, .cm-content),
|
|
190
|
+
body.presenting:has(#editor[data-slide-layout='timeline']) :is(#editor, .cm-editor, .cm-scroller, .cm-content),
|
|
191
|
+
body.slides-printing:has(.cm-md-slide-section) :is(#editor, .cm-editor, .cm-scroller, .cm-content),
|
|
192
|
+
body.slides-printing:has(.cm-md-slide-timeline) :is(#editor, .cm-editor, .cm-scroller, .cm-content) {
|
|
193
|
+
background: var(--seed-cream);
|
|
194
|
+
}
|
|
195
|
+
/* 换底页正文色:蓝页 = cream;橙页 = blue;cream 页 = ink(默认) */
|
|
196
|
+
body.presenting:has(#editor[data-slide-layout='cover']) #editor .cm-content,
|
|
197
|
+
body.presenting:has(#editor[data-slide-layout='kpi']) #editor .cm-content,
|
|
198
|
+
body.presenting:has(#editor[data-slide-layout='closing']) #editor .cm-content,
|
|
199
|
+
body.slides-printing:has(.cm-md-slide-cover) #editor .cm-content,
|
|
200
|
+
body.slides-printing:has(.cm-md-slide-kpi) #editor .cm-content,
|
|
201
|
+
body.slides-printing:has(.cm-md-slide-closing) #editor .cm-content {
|
|
202
|
+
color: var(--seed-cream);
|
|
203
|
+
}
|
|
204
|
+
body.presenting:has(#editor[data-slide-layout='quote']) #editor .cm-content,
|
|
205
|
+
body.slides-printing:has(.cm-md-slide-quote) #editor .cm-content {
|
|
206
|
+
color: var(--seed-blue);
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
/* 1.6.3 cover · P01:蓝页,240px 橙题 + 红/红深双层实体阴影;72px 奶油副题;
|
|
210
|
+
底部 mono footline 作导语;meta-top 药丸、奶油内框、噪点为绝对定位装饰(未复刻)。 */
|
|
211
|
+
body.presenting #editor .cm-content .cm-md-slide-cover.cm-md-page-title,
|
|
212
|
+
body.slides-printing #editor .cm-content .cm-md-slide-cover.cm-md-page-title {
|
|
213
|
+
font-size: var(--slide-cover-title-size);
|
|
214
|
+
line-height: var(--slide-cover-title-line-height);
|
|
215
|
+
letter-spacing: 0.005em;
|
|
216
|
+
color: var(--seed-accent);
|
|
217
|
+
text-shadow: 0.042em 0.042em 0 var(--seed-red), 0.083em 0.083em 0 var(--seed-red-deep);
|
|
218
|
+
max-width: none;
|
|
219
|
+
margin-bottom: 0.14em;
|
|
220
|
+
}
|
|
221
|
+
body.presenting #editor .cm-content .cm-md-slide-cover.cm-md-atxheading2,
|
|
222
|
+
body.presenting #editor .cm-content .cm-md-slide-cover.cm-md-atxheading3,
|
|
223
|
+
body.slides-printing #editor .cm-content .cm-md-slide-cover.cm-md-atxheading2,
|
|
224
|
+
body.slides-printing #editor .cm-content .cm-md-slide-cover.cm-md-atxheading3 {
|
|
225
|
+
font-family: var(--slide-title-font);
|
|
226
|
+
font-size: 2.77em; /* sub 72px ÷26 */
|
|
227
|
+
font-weight: 400;
|
|
228
|
+
line-height: 1;
|
|
229
|
+
letter-spacing: 0.01em;
|
|
230
|
+
text-transform: uppercase;
|
|
231
|
+
color: var(--seed-cream);
|
|
232
|
+
border-bottom: none;
|
|
233
|
+
}
|
|
234
|
+
body.presenting #editor .cm-content .cm-md-slide-cover.cm-md-page-lead,
|
|
235
|
+
body.slides-printing #editor .cm-content .cm-md-slide-cover.cm-md-page-lead {
|
|
236
|
+
font-family: var(--slide-mono);
|
|
237
|
+
font-size: 1em; /* footline 26px ÷26 */
|
|
238
|
+
letter-spacing: 0.22em;
|
|
239
|
+
text-transform: uppercase;
|
|
240
|
+
color: var(--seed-cream);
|
|
241
|
+
max-width: none;
|
|
242
|
+
margin-bottom: 0;
|
|
243
|
+
text-indent: 0;
|
|
244
|
+
}
|
|
245
|
+
body.presenting #editor .cm-content .cm-md-slide-cover.cm-md-page-title[data-slide-kicker]::before,
|
|
246
|
+
body.slides-printing #editor .cm-content .cm-md-slide-cover.cm-md-page-title[data-slide-kicker]::before {
|
|
247
|
+
letter-spacing: 0.18em; /* meta-top DM Mono .18em */
|
|
248
|
+
color: var(--seed-cream);
|
|
249
|
+
opacity: 1;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
/* 1.6.4 agenda · P02 Contents / P06 The Full Plan:纸页,140px 蓝题 + 6px ink 底线;
|
|
253
|
+
条目 = 2 列行式(P02 grid 1fr 1fr),橙巨序号(54-60px)+ 蓝大写行题 + ink 说明,
|
|
254
|
+
3px ink 顶线。P02 的页码列(.pg)无独立钩子,随说明文字同排。
|
|
255
|
+
两列用 inline-block 近似(47.5% + 间隔),长文自然回落到单列。 */
|
|
256
|
+
body.presenting #editor .cm-content .cm-md-slide-agenda.cm-md-page-title,
|
|
257
|
+
body.slides-printing #editor .cm-content .cm-md-slide-agenda.cm-md-page-title {
|
|
258
|
+
font-size: 5.38em; /* h2 140px ÷26 */
|
|
259
|
+
border-bottom: 6px solid var(--seed-ink);
|
|
260
|
+
padding-bottom: 0.18em;
|
|
261
|
+
}
|
|
262
|
+
body.presenting #editor .cm-content .cm-md-slide-agenda.cm-md-page-lead,
|
|
263
|
+
body.slides-printing #editor .cm-content .cm-md-slide-agenda.cm-md-page-lead {
|
|
264
|
+
font-size: 1.08em; /* lede 28px ÷26 */
|
|
265
|
+
line-height: 1.4;
|
|
266
|
+
color: var(--seed-ink);
|
|
267
|
+
max-width: 56%;
|
|
268
|
+
text-indent: 0;
|
|
269
|
+
}
|
|
270
|
+
body.presenting #editor .cm-content .cm-md-slide-agenda.cm-md-li,
|
|
271
|
+
body.slides-printing #editor .cm-content .cm-md-slide-agenda.cm-md-li {
|
|
272
|
+
display: inline-block;
|
|
273
|
+
width: 47.5%;
|
|
274
|
+
vertical-align: top;
|
|
275
|
+
font-size: 0.92em; /* 说明 24px ÷26 */
|
|
276
|
+
line-height: 1.4;
|
|
277
|
+
color: var(--seed-ink);
|
|
278
|
+
background: transparent;
|
|
279
|
+
border: none;
|
|
280
|
+
border-top: 3px solid var(--seed-ink);
|
|
281
|
+
border-radius: 0;
|
|
282
|
+
box-shadow: none;
|
|
283
|
+
margin: 0 2% 0 0;
|
|
284
|
+
padding: 0.72em 0 0.78em;
|
|
285
|
+
text-indent: 0;
|
|
286
|
+
}
|
|
287
|
+
body.presenting #editor .cm-content .cm-md-slide-agenda .cm-md-listmark,
|
|
288
|
+
body.slides-printing #editor .cm-content .cm-md-slide-agenda .cm-md-listmark {
|
|
289
|
+
font-family: var(--slide-title-font);
|
|
290
|
+
font-weight: 400;
|
|
291
|
+
font-size: 2.35em; /* 序号 54-60px ÷26 ÷0.92 */
|
|
292
|
+
line-height: 1;
|
|
293
|
+
color: var(--seed-accent);
|
|
294
|
+
text-shadow: 0.05em 0.05em 0 var(--seed-red);
|
|
295
|
+
margin-right: 0.35em;
|
|
296
|
+
}
|
|
297
|
+
body.presenting #editor .cm-content .cm-md-slide-agenda .cm-md-strong,
|
|
298
|
+
body.slides-printing #editor .cm-content .cm-md-slide-agenda .cm-md-strong {
|
|
299
|
+
font-family: var(--slide-title-font);
|
|
300
|
+
font-size: 1.34em; /* 行题 30-36px ÷26 ÷0.92 */
|
|
301
|
+
font-weight: 400;
|
|
302
|
+
line-height: 1;
|
|
303
|
+
text-transform: uppercase;
|
|
304
|
+
color: var(--seed-blue);
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
/* 1.6.5 section · P03 Big Idea:cream 页,108px 蓝题(无阴影),红 mono 眉标 .22em;
|
|
308
|
+
顶栏蓝带 / 14px ink 下划线 / 手写 Caveat 打断为绝对定位或字体缺失,未复刻。 */
|
|
309
|
+
body.presenting #editor .cm-content .cm-md-slide-section.cm-md-page-title,
|
|
310
|
+
body.slides-printing #editor .cm-content .cm-md-slide-section.cm-md-page-title {
|
|
311
|
+
font-size: var(--slide-section-title-size);
|
|
312
|
+
line-height: 1.04;
|
|
313
|
+
text-shadow: none;
|
|
314
|
+
color: var(--seed-blue);
|
|
315
|
+
max-width: 90%;
|
|
316
|
+
}
|
|
317
|
+
body.presenting #editor .cm-content .cm-md-slide-section.cm-md-page-title[data-slide-kicker]::before,
|
|
318
|
+
body.slides-printing #editor .cm-content .cm-md-slide-section.cm-md-page-title[data-slide-kicker]::before {
|
|
319
|
+
letter-spacing: 0.22em;
|
|
320
|
+
color: var(--seed-red); /* 模板 kicker 红 */
|
|
321
|
+
opacity: 1;
|
|
322
|
+
}
|
|
323
|
+
body.presenting #editor .cm-content .cm-md-slide-section .cm-md-page-title .cm-md-strong,
|
|
324
|
+
body.slides-printing #editor .cm-content .cm-md-slide-section .cm-md-page-title .cm-md-strong {
|
|
325
|
+
color: var(--seed-accent); /* h1 .y 强调词 */
|
|
326
|
+
text-shadow: 0.046em 0.046em 0 var(--seed-red);
|
|
327
|
+
}
|
|
328
|
+
body.presenting #editor .cm-content .cm-md-slide-section.cm-md-page-lead,
|
|
329
|
+
body.slides-printing #editor .cm-content .cm-md-slide-section.cm-md-page-lead {
|
|
330
|
+
font-size: 1.08em;
|
|
331
|
+
line-height: 1.5;
|
|
332
|
+
color: var(--seed-ink);
|
|
333
|
+
max-width: 62%;
|
|
334
|
+
text-indent: 0;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
/* 1.6.6 kpi · P05 Big Stat:蓝页,540px 橙数字(12/24px 双层红影)+ 64px 奶油标题
|
|
338
|
+
+ 30px 奶油说明;整体无卡片(模板 stat 是裸排),缎带/上栏为绝对定位(未复刻)。
|
|
339
|
+
单数字页:li 纵向堆叠,多 KPI 请减项,避免超页。 */
|
|
340
|
+
body.presenting #editor .cm-content .cm-md-slide-kpi.cm-md-page-title,
|
|
341
|
+
body.slides-printing #editor .cm-content .cm-md-slide-kpi.cm-md-page-title {
|
|
342
|
+
font-size: 2.46em; /* desc h3 64px ÷26 */
|
|
343
|
+
line-height: 1;
|
|
344
|
+
text-shadow: none;
|
|
345
|
+
color: var(--seed-cream);
|
|
346
|
+
max-width: 78%;
|
|
347
|
+
}
|
|
348
|
+
body.presenting #editor .cm-content .cm-md-slide-kpi.cm-md-li,
|
|
349
|
+
body.slides-printing #editor .cm-content .cm-md-slide-kpi.cm-md-li {
|
|
350
|
+
display: block;
|
|
351
|
+
width: 100%;
|
|
352
|
+
font-size: 1.15em; /* desc p 30px ÷26 */
|
|
353
|
+
line-height: 1.4;
|
|
354
|
+
color: var(--seed-cream);
|
|
355
|
+
background: transparent;
|
|
356
|
+
border: none;
|
|
357
|
+
border-radius: 0;
|
|
358
|
+
box-shadow: none;
|
|
359
|
+
margin: 0 0 1em;
|
|
360
|
+
padding: 0;
|
|
361
|
+
text-indent: 0;
|
|
362
|
+
}
|
|
363
|
+
body.presenting #editor .cm-content .cm-md-slide-kpi .cm-md-listmark,
|
|
364
|
+
body.slides-printing #editor .cm-content .cm-md-slide-kpi .cm-md-listmark {
|
|
365
|
+
display: none;
|
|
366
|
+
}
|
|
367
|
+
body.presenting #editor .cm-content .cm-md-slide-kpi .cm-md-strong,
|
|
368
|
+
body.slides-printing #editor .cm-content .cm-md-slide-kpi .cm-md-strong {
|
|
369
|
+
display: block;
|
|
370
|
+
font-family: var(--slide-title-font);
|
|
371
|
+
font-size: var(--slide-kpi-number-size);
|
|
372
|
+
font-weight: 400;
|
|
373
|
+
line-height: 0.82;
|
|
374
|
+
letter-spacing: -0.02em;
|
|
375
|
+
color: var(--seed-accent);
|
|
376
|
+
text-shadow: 0.022em 0.022em 0 var(--seed-red), 0.044em 0.044em 0 var(--seed-red-deep);
|
|
377
|
+
margin: 0 0 0.04em;
|
|
378
|
+
}
|
|
379
|
+
body.presenting #editor .cm-content .cm-md-slide-kpi.cm-md-page-lead,
|
|
380
|
+
body.slides-printing #editor .cm-content .cm-md-slide-kpi.cm-md-page-lead {
|
|
381
|
+
font-size: 1.15em;
|
|
382
|
+
line-height: 1.4;
|
|
383
|
+
color: var(--seed-cream);
|
|
384
|
+
max-width: 62%;
|
|
385
|
+
text-indent: 0;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
/* 1.6.7 quote · P07 Quote:橙页,300px 蓝巨引号(8px 红影)+ 78px 蓝大写金句,
|
|
389
|
+
行内强调词转 cream + 红影;署名行 = DM Mono 蓝 .16em。头像/印章/旋转为装饰(未复刻)。 */
|
|
390
|
+
body.presenting #editor .cm-content .cm-md-slide-quote.cm-md-page-title,
|
|
391
|
+
body.slides-printing #editor .cm-content .cm-md-slide-quote.cm-md-page-title {
|
|
392
|
+
color: var(--seed-blue);
|
|
393
|
+
text-shadow: none;
|
|
394
|
+
}
|
|
395
|
+
body.presenting #editor .cm-content .cm-md-slide-quote .cm-md-blockquote,
|
|
396
|
+
body.presenting #editor .cm-content .cm-md-slide-quote.cm-md-blockquote,
|
|
397
|
+
body.slides-printing #editor .cm-content .cm-md-slide-quote .cm-md-blockquote,
|
|
398
|
+
body.slides-printing #editor .cm-content .cm-md-slide-quote.cm-md-blockquote {
|
|
399
|
+
font-family: var(--slide-title-font);
|
|
400
|
+
font-size: var(--slide-quote-size);
|
|
401
|
+
font-style: normal; /* 模板 Alfa Slab 非斜体 */
|
|
402
|
+
font-weight: 400;
|
|
403
|
+
line-height: 1.08;
|
|
404
|
+
text-transform: uppercase;
|
|
405
|
+
color: var(--seed-blue);
|
|
406
|
+
background: transparent;
|
|
407
|
+
border-left: none;
|
|
408
|
+
padding-left: 0;
|
|
409
|
+
padding-right: 0;
|
|
410
|
+
max-width: 88%;
|
|
411
|
+
}
|
|
412
|
+
body.presenting #editor .cm-content .cm-md-slide-quote .cm-md-strong,
|
|
413
|
+
body.presenting #editor .cm-content .cm-md-slide-quote .cm-md-em,
|
|
414
|
+
body.slides-printing #editor .cm-content .cm-md-slide-quote .cm-md-strong,
|
|
415
|
+
body.slides-printing #editor .cm-content .cm-md-slide-quote .cm-md-em {
|
|
416
|
+
font-style: normal;
|
|
417
|
+
color: var(--seed-cream); /* .em 奶油强调词 */
|
|
418
|
+
text-shadow: 0.06em 0.06em 0 var(--seed-red);
|
|
419
|
+
}
|
|
420
|
+
body.presenting #editor .cm-content .cm-md-slide-directive + .cm-md-blockquote.cm-md-slide-quote::before,
|
|
421
|
+
body.slides-printing #editor .cm-content .cm-md-slide-directive + .cm-md-blockquote.cm-md-slide-quote::before {
|
|
422
|
+
font-family: var(--slide-title-font);
|
|
423
|
+
font-size: 11.54em; /* marks 300px ÷26 */
|
|
424
|
+
line-height: 0.7;
|
|
425
|
+
color: var(--seed-blue);
|
|
426
|
+
text-shadow: 0.027em 0.027em 0 var(--seed-red);
|
|
427
|
+
height: 0.62em;
|
|
428
|
+
}
|
|
429
|
+
body.presenting #editor .cm-content .cm-md-slide-quote .cm-md-blockquote + .cm-line,
|
|
430
|
+
body.presenting #editor .cm-content .cm-md-slide-quote.cm-md-blockquote + .cm-line,
|
|
431
|
+
body.slides-printing #editor .cm-content .cm-md-slide-quote .cm-md-blockquote + .cm-line,
|
|
432
|
+
body.slides-printing #editor .cm-content .cm-md-slide-quote.cm-md-blockquote + .cm-line {
|
|
433
|
+
font-family: var(--slide-mono);
|
|
434
|
+
font-size: 0.92em; /* who/role 24px ÷26 */
|
|
435
|
+
font-weight: 400;
|
|
436
|
+
letter-spacing: 0.16em;
|
|
437
|
+
text-transform: uppercase;
|
|
438
|
+
color: var(--seed-blue);
|
|
439
|
+
margin-top: 1.6em; /* 纵向留白只走 margin(CSS-03) */
|
|
440
|
+
text-indent: 0;
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
/* 1.6.8 timeline · P08 Roadmap:cream 页,120px 蓝题;节点行 = mono 日期 24px
|
|
444
|
+
+ 38px 蓝节点名 + 24px ink 说明,3px ink 顶线,橙圆点(ink 边 + 红影)。
|
|
445
|
+
横轨 14px ink / 四列节点 / 下方三张 KPI 卡为绝对定位网格(未复刻)。 */
|
|
446
|
+
body.presenting #editor .cm-content .cm-md-slide-timeline.cm-md-li,
|
|
447
|
+
body.slides-printing #editor .cm-content .cm-md-slide-timeline.cm-md-li {
|
|
448
|
+
position: relative;
|
|
449
|
+
margin: 0;
|
|
450
|
+
padding: 0.62em 0 0.7em 2.6em;
|
|
451
|
+
border-top: 3px solid var(--seed-ink);
|
|
452
|
+
border-left: none;
|
|
453
|
+
border-bottom: none;
|
|
454
|
+
font-size: 0.92em; /* p 24px ÷26 */
|
|
455
|
+
line-height: 1.4;
|
|
456
|
+
color: var(--seed-ink);
|
|
457
|
+
text-indent: 0;
|
|
458
|
+
}
|
|
459
|
+
body.presenting #editor .cm-content .cm-md-slide-timeline.cm-md-li::before,
|
|
460
|
+
body.slides-printing #editor .cm-content .cm-md-slide-timeline.cm-md-li::before {
|
|
461
|
+
content: ''; /* 模板节点圆点:60px 橙 + ink 边 + 红影 */
|
|
462
|
+
left: 0.1em;
|
|
463
|
+
top: 0.9em;
|
|
464
|
+
width: 2.1em;
|
|
465
|
+
height: 2.1em;
|
|
466
|
+
background: var(--seed-accent);
|
|
467
|
+
border: 0.12em solid var(--seed-ink);
|
|
468
|
+
border-radius: 50%;
|
|
469
|
+
box-shadow: 0.12em 0.12em 0 var(--seed-red);
|
|
470
|
+
}
|
|
471
|
+
body.presenting #editor .cm-content .cm-md-slide-timeline .cm-md-listmark,
|
|
472
|
+
body.slides-printing #editor .cm-content .cm-md-slide-timeline .cm-md-listmark {
|
|
473
|
+
font-family: var(--slide-mono);
|
|
474
|
+
font-size: 1em; /* when 24px ÷26 ÷0.92 */
|
|
475
|
+
font-weight: 400;
|
|
476
|
+
letter-spacing: 0.18em;
|
|
477
|
+
color: var(--seed-ink);
|
|
478
|
+
}
|
|
479
|
+
body.presenting #editor .cm-content .cm-md-slide-timeline .cm-md-strong,
|
|
480
|
+
body.slides-printing #editor .cm-content .cm-md-slide-timeline .cm-md-strong {
|
|
481
|
+
font-family: var(--slide-title-font);
|
|
482
|
+
font-size: 1.59em; /* h4 38px ÷26 ÷0.92 */
|
|
483
|
+
font-weight: 400;
|
|
484
|
+
line-height: 1;
|
|
485
|
+
text-transform: uppercase;
|
|
486
|
+
color: var(--seed-blue);
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
/* 1.6.9 matrix · P04 Three Pillars:纸页(中列蓝 pane 是卡片级,不是页面底),
|
|
490
|
+
120px 蓝题 + 6px ink 底线;三列卡 = 3px ink 顶线 + 180px 橙巨序号(5px 红影)
|
|
491
|
+
+ 54px 蓝列题 + 26px ink 说明。mono 标签行(— FOCUS —)与中列 alt 蓝底无
|
|
492
|
+
行级钩子(:nth 落不到 CM6 兄弟行)——未复刻。 */
|
|
493
|
+
body.presenting #editor .cm-content .cm-md-slide-matrix.cm-md-page-title,
|
|
494
|
+
body.slides-printing #editor .cm-content .cm-md-slide-matrix.cm-md-page-title {
|
|
495
|
+
font-size: 4.62em; /* h2 120px ÷26 */
|
|
496
|
+
border-bottom: 6px solid var(--seed-ink);
|
|
497
|
+
padding-bottom: 0.16em;
|
|
498
|
+
}
|
|
499
|
+
body.presenting #editor .cm-content .cm-md-slide-matrix.cm-md-page-lead,
|
|
500
|
+
body.slides-printing #editor .cm-content .cm-md-slide-matrix.cm-md-page-lead {
|
|
501
|
+
font-size: 1.08em; /* lede 28px ÷26 */
|
|
502
|
+
line-height: 1.35;
|
|
503
|
+
color: var(--seed-ink);
|
|
504
|
+
max-width: 56%;
|
|
505
|
+
text-indent: 0;
|
|
506
|
+
}
|
|
507
|
+
body.presenting #editor .cm-content .cm-md-slide-matrix.cm-md-li,
|
|
508
|
+
body.slides-printing #editor .cm-content .cm-md-slide-matrix.cm-md-li {
|
|
509
|
+
display: inline-block;
|
|
510
|
+
width: 31.3%;
|
|
511
|
+
vertical-align: top;
|
|
512
|
+
font-size: 1em; /* col p 26px ÷26 */
|
|
513
|
+
line-height: 1.35;
|
|
514
|
+
color: var(--seed-ink);
|
|
515
|
+
background: transparent;
|
|
516
|
+
border: none;
|
|
517
|
+
border-top: 3px solid var(--seed-ink);
|
|
518
|
+
border-radius: 0;
|
|
519
|
+
box-shadow: none;
|
|
520
|
+
margin: 0 1.5% 1.6em 0;
|
|
521
|
+
padding: 1em 1em 1.1em;
|
|
522
|
+
text-indent: 0;
|
|
523
|
+
}
|
|
524
|
+
body.presenting #editor .cm-content .cm-md-slide-matrix .cm-md-listmark,
|
|
525
|
+
body.slides-printing #editor .cm-content .cm-md-slide-matrix .cm-md-listmark {
|
|
526
|
+
display: block;
|
|
527
|
+
font-family: var(--slide-title-font);
|
|
528
|
+
font-size: 6.92em; /* num 180px ÷26 */
|
|
529
|
+
font-weight: 400;
|
|
530
|
+
line-height: 0.88;
|
|
531
|
+
color: var(--seed-accent);
|
|
532
|
+
text-shadow: 0.028em 0.028em 0 var(--seed-red);
|
|
533
|
+
margin: 0 0 0.06em;
|
|
534
|
+
}
|
|
535
|
+
body.presenting #editor .cm-content .cm-md-slide-matrix .cm-md-strong,
|
|
536
|
+
body.slides-printing #editor .cm-content .cm-md-slide-matrix .cm-md-strong {
|
|
537
|
+
display: block;
|
|
538
|
+
font-family: var(--slide-title-font);
|
|
539
|
+
font-size: 2.08em; /* h3 54px ÷26 */
|
|
540
|
+
font-weight: 400;
|
|
541
|
+
line-height: 1;
|
|
542
|
+
text-transform: uppercase;
|
|
543
|
+
color: var(--seed-blue);
|
|
544
|
+
margin-bottom: 0.3em;
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
/* 1.6.10 two-col · P09 Compare:纸页,120px 蓝题 + 6px ink 底线;左右两栏
|
|
548
|
+
各 78px 蓝栏题 + 28px 条目。放映是 CSS 多栏(中缝细线),导出退化为
|
|
549
|
+
inline-block 两条一排(上游约定)。右侧蓝面板/菱形黄弹/栏目标签无行级钩子
|
|
550
|
+
(无法区分左右列)——未复刻,两栏共用纸面配色。 */
|
|
551
|
+
body.presenting #editor .cm-content .cm-md-slide-two-col.cm-md-page-title,
|
|
552
|
+
body.slides-printing #editor .cm-content .cm-md-slide-two-col.cm-md-page-title {
|
|
553
|
+
font-size: 4.62em; /* h2 120px ÷26 */
|
|
554
|
+
border-bottom: 6px solid var(--seed-ink);
|
|
555
|
+
padding-bottom: 0.16em;
|
|
556
|
+
}
|
|
557
|
+
body.presenting #editor .cm-content .cm-md-slide-two-col.cm-md-atxheading2,
|
|
558
|
+
body.presenting #editor .cm-content .cm-md-slide-two-col.cm-md-atxheading3,
|
|
559
|
+
body.slides-printing #editor .cm-content .cm-md-slide-two-col.cm-md-atxheading2,
|
|
560
|
+
body.slides-printing #editor .cm-content .cm-md-slide-two-col.cm-md-atxheading3 {
|
|
561
|
+
font-family: var(--slide-title-font);
|
|
562
|
+
font-size: 3em; /* side h3 78px ÷26 */
|
|
563
|
+
font-weight: 400;
|
|
564
|
+
line-height: 0.95;
|
|
565
|
+
text-transform: uppercase;
|
|
566
|
+
color: var(--seed-blue);
|
|
567
|
+
border-bottom: none;
|
|
568
|
+
}
|
|
569
|
+
body.presenting #editor .cm-content .cm-md-slide-two-col.cm-md-li,
|
|
570
|
+
body.slides-printing #editor .cm-content .cm-md-slide-two-col.cm-md-li {
|
|
571
|
+
font-size: 1.08em; /* li 28px ÷26 */
|
|
572
|
+
line-height: 1.35;
|
|
573
|
+
color: var(--seed-ink);
|
|
574
|
+
}
|
|
575
|
+
body.presenting #editor .cm-content .cm-md-slide-two-col .cm-md-listmark,
|
|
576
|
+
body.slides-printing #editor .cm-content .cm-md-slide-two-col .cm-md-listmark {
|
|
577
|
+
color: var(--seed-red); /* 菱形黄弹近似:红方块符号 */
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
/* 1.6.11 closing · P10 Close:蓝页,230px 橙题(10/20px 双层红影);
|
|
581
|
+
正文 cream;行动清单项 = 28px,无 ▸(模板该页无列表符);strong 自绘成
|
|
582
|
+
CTA 橙块(48px Alfa Slab、6px cream 边、10px 红影);圆形 END 印章与
|
|
583
|
+
奶油内框为绝对定位装饰(未复刻)。 */
|
|
584
|
+
body.presenting #editor .cm-content .cm-md-slide-closing.cm-md-page-title,
|
|
585
|
+
body.slides-printing #editor .cm-content .cm-md-slide-closing.cm-md-page-title {
|
|
586
|
+
font-size: var(--slide-closing-title-size);
|
|
587
|
+
line-height: 0.86;
|
|
588
|
+
color: var(--seed-accent);
|
|
589
|
+
text-shadow: 0.043em 0.043em 0 var(--seed-red), 0.087em 0.087em 0 var(--seed-red-deep);
|
|
590
|
+
max-width: none;
|
|
591
|
+
}
|
|
592
|
+
body.presenting #editor .cm-content .cm-md-slide-closing.cm-md-li,
|
|
593
|
+
body.slides-printing #editor .cm-content .cm-md-slide-closing.cm-md-li {
|
|
594
|
+
font-size: 1.08em; /* signoff/url 28px ÷26 */
|
|
595
|
+
line-height: 1.4;
|
|
596
|
+
color: var(--seed-cream);
|
|
597
|
+
list-style: none;
|
|
598
|
+
margin: 0.5em 0;
|
|
599
|
+
padding: 0;
|
|
600
|
+
text-indent: 0;
|
|
601
|
+
}
|
|
602
|
+
body.presenting #editor .cm-content .cm-md-slide-closing.cm-md-li::before,
|
|
603
|
+
body.slides-printing #editor .cm-content .cm-md-slide-closing.cm-md-li::before {
|
|
604
|
+
content: none; /* 模板收页无列表符 */
|
|
605
|
+
}
|
|
606
|
+
body.presenting #editor .cm-content .cm-md-slide-closing .cm-md-listmark,
|
|
607
|
+
body.slides-printing #editor .cm-content .cm-md-slide-closing .cm-md-listmark {
|
|
608
|
+
display: none;
|
|
609
|
+
}
|
|
610
|
+
body.presenting #editor .cm-content .cm-md-slide-closing .cm-md-strong,
|
|
611
|
+
body.slides-printing #editor .cm-content .cm-md-slide-closing .cm-md-strong {
|
|
612
|
+
display: inline-block;
|
|
613
|
+
font-family: var(--slide-title-font);
|
|
614
|
+
font-size: 1.71em; /* cta 48px ÷26 ÷1.08 */
|
|
615
|
+
font-weight: 400;
|
|
616
|
+
line-height: 1.1;
|
|
617
|
+
letter-spacing: 0.02em;
|
|
618
|
+
text-transform: uppercase;
|
|
619
|
+
color: var(--seed-blue); /* 橙底蓝字 */
|
|
620
|
+
background: var(--seed-accent);
|
|
621
|
+
border: 0.12em solid var(--seed-cream); /* 6px @48 */
|
|
622
|
+
box-shadow: 0.21em 0.21em 0 var(--seed-red);
|
|
623
|
+
padding: 0.3em 0.7em;
|
|
624
|
+
margin-right: 0.4em;
|
|
625
|
+
}
|
|
626
|
+
body.presenting #editor .cm-content .cm-md-slide-closing.cm-md-page-lead,
|
|
627
|
+
body.slides-printing #editor .cm-content .cm-md-slide-closing.cm-md-page-lead {
|
|
628
|
+
font-family: var(--slide-mono);
|
|
629
|
+
font-size: 1em;
|
|
630
|
+
letter-spacing: 0.2em;
|
|
631
|
+
text-transform: uppercase;
|
|
632
|
+
color: var(--seed-cream);
|
|
633
|
+
max-width: none;
|
|
634
|
+
text-indent: 0;
|
|
635
|
+
}
|
|
636
|
+
|
|
637
|
+
/* 1.6.12 chrome / 幽灵页码:DM Mono .18em 大写;蓝页转 cream,橙页转 blue。
|
|
638
|
+
幽灵数字在换底页与文字同源会隐形/冲突,整页关掉(与上游 cover/section/closing
|
|
639
|
+
的处理一致,这里补 kpi/quote)。表格 td 在换底页改纸面对应色。 */
|
|
640
|
+
body.presenting .slide-chrome,
|
|
641
|
+
body.slides-printing .slide-chrome {
|
|
642
|
+
font-family: var(--slide-mono);
|
|
643
|
+
font-size: clamp(11px, 1.25vw, 24px); /* meta 24px @1920 */
|
|
644
|
+
letter-spacing: 0.18em;
|
|
645
|
+
text-transform: uppercase;
|
|
646
|
+
color: var(--text-color);
|
|
647
|
+
}
|
|
648
|
+
body.presenting .slide-foot,
|
|
649
|
+
body.slides-printing .slide-foot {
|
|
650
|
+
font-family: var(--slide-mono);
|
|
651
|
+
font-size: clamp(11px, 1.25vw, 24px);
|
|
652
|
+
letter-spacing: 0.22em;
|
|
653
|
+
text-transform: uppercase;
|
|
654
|
+
opacity: 0.9;
|
|
655
|
+
color: var(--text-color);
|
|
656
|
+
}
|
|
657
|
+
body.presenting:has(#editor[data-slide-layout='cover']) .slide-chrome,
|
|
658
|
+
body.presenting:has(#editor[data-slide-layout='cover']) .slide-foot,
|
|
659
|
+
body.presenting:has(#editor[data-slide-layout='kpi']) .slide-chrome,
|
|
660
|
+
body.presenting:has(#editor[data-slide-layout='kpi']) .slide-foot,
|
|
661
|
+
body.presenting:has(#editor[data-slide-layout='closing']) .slide-chrome,
|
|
662
|
+
body.presenting:has(#editor[data-slide-layout='closing']) .slide-foot {
|
|
663
|
+
color: var(--seed-cream);
|
|
664
|
+
}
|
|
665
|
+
body.presenting:has(#editor[data-slide-layout='quote']) .slide-chrome,
|
|
666
|
+
body.presenting:has(#editor[data-slide-layout='quote']) .slide-foot {
|
|
667
|
+
color: var(--seed-blue);
|
|
668
|
+
}
|
|
669
|
+
body.presenting:has(#editor[data-slide-layout='kpi']) .slide-ghost,
|
|
670
|
+
body.presenting:has(#editor[data-slide-layout='quote']) .slide-ghost {
|
|
671
|
+
opacity: 0;
|
|
672
|
+
}
|
|
673
|
+
body.presenting:has(#editor[data-slide-layout='cover']) #editor .cm-content .cm-md-table-widget td,
|
|
674
|
+
body.presenting:has(#editor[data-slide-layout='kpi']) #editor .cm-content .cm-md-table-widget td,
|
|
675
|
+
body.presenting:has(#editor[data-slide-layout='closing']) #editor .cm-content .cm-md-table-widget td,
|
|
676
|
+
body.slides-printing:has(.cm-md-slide-cover) #editor .cm-content .cm-md-table-widget td,
|
|
677
|
+
body.slides-printing:has(.cm-md-slide-kpi) #editor .cm-content .cm-md-table-widget td,
|
|
678
|
+
body.slides-printing:has(.cm-md-slide-closing) #editor .cm-content .cm-md-table-widget td {
|
|
679
|
+
color: var(--seed-cream);
|
|
680
|
+
}
|
|
681
|
+
body.presenting:has(#editor[data-slide-layout='quote']) #editor .cm-content .cm-md-table-widget td,
|
|
682
|
+
body.slides-printing:has(.cm-md-slide-quote) #editor .cm-content .cm-md-table-widget td {
|
|
683
|
+
color: var(--seed-blue);
|
|
684
|
+
}
|
|
685
|
+
/* figure / steps 无对应模板页:不写版式规则,保持上游默认(见 1.5 注释)。 */
|
|
686
|
+
|
|
687
|
+
/* ═══════════════════════════════════════════════════════════
|
|
688
|
+
SECTION 2 — Editor DOM(#editor .cm-content + .cm-md-*)
|
|
689
|
+
SECTION 3 — Exported HTML(.colamd-document,语义标签)
|
|
690
|
+
两份镜像同源:同一套声明成对书写(编辑器一行一 div,导出是语义标签)。
|
|
691
|
+
═══════════════════════════════════════════════════════════ */
|
|
692
|
+
|
|
693
|
+
#editor .cm-content {
|
|
694
|
+
font-family: var(--font-body);
|
|
695
|
+
line-height: 1.75;
|
|
696
|
+
}
|
|
697
|
+
.colamd-document {
|
|
698
|
+
font-family: var(--font-body);
|
|
699
|
+
font-size: 17px;
|
|
700
|
+
line-height: 1.75;
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
/* ── 2.1 Headings ──
|
|
704
|
+
模板 display 只有 Alfa Slab One 400;生成版 700 + h2 大于 h1 的阶梯爆字号已修。
|
|
705
|
+
纸面标题走蓝(模板 h1-h4 全蓝),6px ink 结构线保留为节标题分隔。 */
|
|
706
|
+
#editor .cm-content :is(.cm-md-atxheading1, .cm-md-atxheading2, .cm-md-atxheading3,
|
|
707
|
+
.cm-md-atxheading4, .cm-md-atxheading5, .cm-md-atxheading6),
|
|
708
|
+
.colamd-document :is(h1, h2, h3, h4, h5, h6) {
|
|
709
|
+
font-family: "Alfa Slab One", "Noto Serif SC", serif;
|
|
710
|
+
font-weight: 400;
|
|
711
|
+
line-height: 1.04;
|
|
712
|
+
letter-spacing: 0.005em;
|
|
713
|
+
text-transform: uppercase;
|
|
714
|
+
color: var(--seed-blue);
|
|
715
|
+
}
|
|
716
|
+
#editor .cm-content .cm-md-atxheading1,
|
|
717
|
+
.colamd-document h1 {
|
|
718
|
+
font-size: 2.4em;
|
|
719
|
+
line-height: 0.98;
|
|
720
|
+
padding-bottom: 0.18em;
|
|
721
|
+
border-bottom: 6px solid var(--seed-ink);
|
|
722
|
+
}
|
|
723
|
+
#editor .cm-content .cm-md-atxheading2,
|
|
724
|
+
.colamd-document h2 {
|
|
725
|
+
font-size: 1.85em;
|
|
726
|
+
padding-bottom: 0.14em;
|
|
727
|
+
border-bottom: 6px solid var(--seed-ink);
|
|
728
|
+
}
|
|
729
|
+
#editor .cm-content .cm-md-atxheading3,
|
|
730
|
+
.colamd-document h3 { font-size: 1.45em; }
|
|
731
|
+
#editor .cm-content .cm-md-atxheading4,
|
|
732
|
+
.colamd-document h4 { font-size: 1.15em; }
|
|
733
|
+
#editor .cm-content .cm-md-atxheading5,
|
|
734
|
+
.colamd-document h5 { font-size: 1em; color: var(--seed-ink); }
|
|
735
|
+
#editor .cm-content .cm-md-atxheading6,
|
|
736
|
+
.colamd-document h6 {
|
|
737
|
+
font-size: 0.78em;
|
|
738
|
+
font-family: var(--font-mono);
|
|
739
|
+
color: var(--seed-ink);
|
|
740
|
+
letter-spacing: 0.18em; /* 模板 DM Mono 标签 .18em */
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
/* ── 2.2 Inline ──
|
|
744
|
+
生成版把 strong 染成橙(纸面 1.9:1 不可读)——改回正文色墨,链接走蓝。 */
|
|
745
|
+
#editor .cm-content .cm-md-strong,
|
|
746
|
+
.colamd-document strong { color: var(--text-color); font-weight: 600; }
|
|
747
|
+
#editor .cm-content .cm-md-em { font-style: italic; }
|
|
748
|
+
#editor .cm-content .cm-md-strike { text-decoration: line-through; }
|
|
749
|
+
#editor .cm-content .cm-md-highlight,
|
|
750
|
+
.colamd-document mark { background: var(--highlight-bg); }
|
|
751
|
+
#editor .cm-content .cm-md-link { color: var(--link-color); }
|
|
752
|
+
#editor .cm-content .cm-md-url { color: var(--text-muted); }
|
|
753
|
+
|
|
754
|
+
#editor .cm-content .cm-md-inlinecode,
|
|
755
|
+
.colamd-document code {
|
|
756
|
+
font-family: var(--font-mono);
|
|
757
|
+
background: var(--code-bg);
|
|
758
|
+
color: var(--text-color);
|
|
759
|
+
border-radius: 0; /* 模板:结构件全直角 */
|
|
760
|
+
}
|
|
761
|
+
#editor .cm-content :is(.cm-md-marker, .cm-md-quotemark, .cm-md-listmark) {
|
|
762
|
+
color: var(--text-muted);
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
/* ── 2.3 Blockquote / Code Block(每行一个 div,禁用纵向 padding)──
|
|
766
|
+
编辑器里引用底色由平台按 --blockquote-bg 画,这里不要写 background,
|
|
767
|
+
否则引用里的代码行会盖住代码块底色。 */
|
|
768
|
+
#editor .cm-content .cm-md-blockquote {
|
|
769
|
+
color: var(--text-secondary);
|
|
770
|
+
border-left: 3px solid var(--blockquote-border); /* 模板 3px ink 细线 */
|
|
771
|
+
padding-left: 16px;
|
|
772
|
+
padding-right: 16px;
|
|
773
|
+
}
|
|
774
|
+
#editor .cm-content .cm-md-codeblock {
|
|
775
|
+
background: var(--code-block-bg);
|
|
776
|
+
color: var(--code-block-text);
|
|
777
|
+
padding-left: 16px;
|
|
778
|
+
padding-right: 16px;
|
|
779
|
+
}
|
|
780
|
+
#editor .cm-content :is(.cm-md-codeblock-first, .cm-md-codeblock-last) {
|
|
781
|
+
border-radius: 0;
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
/* ── 2.4 Table / Rule(模板:3px ink 行线,th = DM Mono 标签)── */
|
|
785
|
+
#editor .cm-content :is(.cm-md-table-widget th, .cm-md-table-widget td),
|
|
786
|
+
.colamd-document :is(th, td) {
|
|
787
|
+
padding: 10px 14px;
|
|
788
|
+
border-color: rgba(14, 14, 20, 0.25);
|
|
789
|
+
}
|
|
790
|
+
#editor .cm-content .cm-md-table-widget th,
|
|
791
|
+
.colamd-document th {
|
|
792
|
+
background: var(--table-header-bg);
|
|
793
|
+
color: var(--text-color);
|
|
794
|
+
font-family: var(--font-mono);
|
|
795
|
+
font-size: 0.78em;
|
|
796
|
+
font-weight: 400;
|
|
797
|
+
letter-spacing: 0.18em;
|
|
798
|
+
text-transform: uppercase;
|
|
799
|
+
border-bottom: 3px solid var(--seed-ink);
|
|
800
|
+
}
|
|
801
|
+
#editor .cm-content .cm-md-hr,
|
|
802
|
+
.colamd-document hr { border-top: 6px solid var(--seed-ink); }
|
|
803
|
+
|
|
804
|
+
/* ── 2.5 中文首行缩进 ──
|
|
805
|
+
CM6 里一行就是一个 div:段落缩进落在 .cm-line 上,标题/引用/代码/列表行归零。 */
|
|
806
|
+
#editor .cm-content .cm-line { text-indent: 2em; }
|
|
807
|
+
#editor .cm-content :is(.cm-md-atxheading1, .cm-md-atxheading2, .cm-md-atxheading3,
|
|
808
|
+
.cm-md-atxheading4, .cm-md-atxheading5, .cm-md-atxheading6, .cm-md-blockquote,
|
|
809
|
+
.cm-md-codeblock, .cm-md-hr, .cm-md-mermaid, .cm-md-table-widget,
|
|
810
|
+
.cm-md-li-0, .cm-md-li-1, .cm-md-li-2, .cm-md-li-3, .cm-md-li-4,
|
|
811
|
+
.cm-md-li-5, .cm-md-li-6) {
|
|
812
|
+
text-indent: 0;
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
/* ── 3.1 导出专属:块级容器背景(编辑器由平台绘制,导出件需自绘)── */
|
|
816
|
+
.colamd-document :is(h1, h2, h3, h4, h5, h6) { margin: 1.3em 0 0.5em; }
|
|
817
|
+
.colamd-document svg.pele { background: var(--pele-bg); border-radius: var(--pele-radius); }
|
|
818
|
+
.colamd-document pre { background: var(--code-block-bg); border-radius: 0; }
|
|
819
|
+
.colamd-document pre code { color: var(--code-block-text); }
|
|
820
|
+
.colamd-document blockquote {
|
|
821
|
+
background: var(--blockquote-bg);
|
|
822
|
+
color: var(--text-secondary);
|
|
823
|
+
border-left: 3px solid var(--blockquote-border);
|
|
824
|
+
padding: 0.5em 1.2em;
|
|
825
|
+
}
|
|
826
|
+
.colamd-document p { text-indent: 2em; }
|
|
827
|
+
.colamd-document :is(li p, td p, th p, blockquote p) { text-indent: 0; }
|
|
828
|
+
|
|
829
|
+
/* ═══════════════════════════════════════════════════════════
|
|
830
|
+
SECTION 4 — Print
|
|
831
|
+
应用直接对当前窗口 printToPDF,屏幕规则原样生效;这里只补保真。
|
|
832
|
+
(换底页的打印域背景已在 1.6.2 用 body.slides-printing:has(...) 处理。)
|
|
833
|
+
═══════════════════════════════════════════════════════════ */
|
|
834
|
+
|
|
835
|
+
@media print {
|
|
836
|
+
html,
|
|
837
|
+
body {
|
|
838
|
+
background: var(--bg-color);
|
|
839
|
+
color: var(--text-color);
|
|
840
|
+
-webkit-print-color-adjust: exact;
|
|
841
|
+
print-color-adjust: exact;
|
|
842
|
+
}
|
|
843
|
+
}
|