@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,683 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* ColaMD Theme: Emerald Editorial(祖母绿杂志封面 · 手工精修版)
|
|
3
|
+
* 来源:D:\workspace\git\beautiful-html-templates\templates\emerald-editorial\
|
|
4
|
+
* template.html + design.md(Harper's Bazaar 式杂志封面:饱和祖母绿画布 +
|
|
5
|
+
* 墨蓝 Bodoni Moda 900 + 燕麦纸 third surface + 双细线戏单饰条)
|
|
6
|
+
* colors: bg #3CD896 / bg-2 #2DC684 / bg-3 #25B377 / ink #0F1A5C / ink-2 #1B2774
|
|
7
|
+
* ink-3 #3A4593 / paper #F1E9D6 / rule rgba(15,26,92,.22) / rule-strong .85
|
|
8
|
+
* fonts: Bodoni Moda 900(display 唯一声部)/ Manrope(正文 500 + 眉标
|
|
9
|
+
* 700-800 大写 .05-.18em);模板无等宽 → mono 沿用 JetBrains Mono
|
|
10
|
+
* 页面底色核对(§6-1):八页页面底色全部为 emerald——P3 左半 ink 是 pane 非页面,
|
|
11
|
+
* P5/P6/P7 的 ink 是卡/瓦元素。无整页换底 → 不需要五层链换底规则;
|
|
12
|
+
* .slide-ghost(= ink)在祖母绿上可见,无需隐藏。
|
|
13
|
+
* paradigm 备案(高饱和杂志封面身份,与 biennale-yellow 黄纸同类,有意保留):
|
|
14
|
+
* SL-01 —— surface #3CD896 饱和度 66.7% > 5%:模板身份即"饱和祖母绿封面画布",
|
|
15
|
+
* 中性化即失去主题;可读性由 ink 文字(8.5:1)承担;
|
|
16
|
+
* SL-02 —— panel/panelAlt = bg-2/bg-3(S 63.0%/65.7%):祖母绿家族深一档托色,
|
|
17
|
+
* 仅用于代码块/表头;SL-04 明度序 0.54 > 0.48 > 0.42 过线;
|
|
18
|
+
* CR-04 —— seed-accent 与 surface 同色 1:1:emerald 只做 inverse-tile 文字色
|
|
19
|
+
* (对 ink 8.7:1)/条形/药丸,从不对 emerald 底做文字;链接走 ink-3
|
|
20
|
+
* #3A4593(4.7:1 过线);
|
|
21
|
+
* NT-03 —— 边框走 rule-strong 深墨蓝(S 65%):4px ink 规则线是模板结构声部。
|
|
22
|
+
* 版式复刻见 SECTION 1.5/1.6(八页逐页对照与 px÷26 换算式均在其注释中)。
|
|
23
|
+
*
|
|
24
|
+
* 契约:ColaMD Extend 2.7.13(CodeMirror 6 编辑器 + Pele 图表引擎)
|
|
25
|
+
*
|
|
26
|
+
* 两条硬规矩:
|
|
27
|
+
* 1. 变量一律写在 :root。没写的活变量继承 Light 主题默认值;写在别的选择器里
|
|
28
|
+
* 编辑器继承不到。
|
|
29
|
+
* 2. 编辑器里没有 <h1>/<blockquote> 这种元素:标题是「一行」带一个类,引用与
|
|
30
|
+
* 代码块是每一行一个 div,加粗是一个 span。所以选择器只认 .cm-md-* 钩子,
|
|
31
|
+
* 并且引用/代码块**不能加纵向 padding**——那会按行累加。
|
|
32
|
+
*
|
|
33
|
+
* ═══════════════════════════════════════════════════════════
|
|
34
|
+
* SECTION 1 — Design Tokens
|
|
35
|
+
* 改 11 个种子色 + 3 组字体即可换一套主题
|
|
36
|
+
* ═══════════════════════════════════════════════════════════ */
|
|
37
|
+
|
|
38
|
+
:root {
|
|
39
|
+
|
|
40
|
+
/* ── 1.1 Seed Palette ──
|
|
41
|
+
本工具的再生成与校验读这一层;编辑器不消费。
|
|
42
|
+
来源(template.html :root):bg #3CD896 / bg-2 #2DC684 / bg-3 #25B377 /
|
|
43
|
+
ink #0F1A5C / ink-2 #1B2774 / ink-3 #3A4593 / paper #F1E9D6。
|
|
44
|
+
模板约定:emerald 只做画布/瓦文字/条形,不做 emerald 底上的文字;
|
|
45
|
+
结构线一律 4px ink(rule-strong 仅边框近似)。 */
|
|
46
|
+
--seed-accent: #3cd896;
|
|
47
|
+
--seed-accent-light: #7fe7bc; /* emerald 提亮 tint(模板未定义,工具层占位) */
|
|
48
|
+
--seed-accent-dark: #2dc684; /* bg-2 */
|
|
49
|
+
--seed-surface: #3cd896;
|
|
50
|
+
--seed-panel: #2dc684; /* bg-2 */
|
|
51
|
+
--seed-panel-alt: #25b377; /* bg-3 */
|
|
52
|
+
--seed-ink: #0f1a5c;
|
|
53
|
+
--seed-ink-muted: #1b2774; /* ink-2 */
|
|
54
|
+
--seed-ink-dim: #3a4593; /* ink-3 */
|
|
55
|
+
--seed-border: #163b65; /* rule-strong 85% ink 叠 emerald(NT-02 过线) */
|
|
56
|
+
--seed-border-strong: #0f1a5c;
|
|
57
|
+
|
|
58
|
+
/* ── 1.2 Semantic Colors(活变量)── */
|
|
59
|
+
--bg-color: var(--seed-surface);
|
|
60
|
+
--text-color: var(--seed-ink);
|
|
61
|
+
--text-secondary: var(--seed-ink-muted);
|
|
62
|
+
--text-muted: var(--seed-ink-dim);
|
|
63
|
+
--border-color: var(--seed-border);
|
|
64
|
+
/* ink-3 链接档:emerald 底上 4.7:1(CR-04 过线);emerald 原色仅供色块 */
|
|
65
|
+
--link-color: #3a4593;
|
|
66
|
+
|
|
67
|
+
--code-bg: #f1e9d6; /* paper tile 行内代码托 */
|
|
68
|
+
--code-block-bg: #f1e9d6; /* paper tile 代码块 */
|
|
69
|
+
--code-block-text: #0f1a5c;
|
|
70
|
+
|
|
71
|
+
--blockquote-border: var(--seed-border-strong); /* 4px ink 结构线 */
|
|
72
|
+
--blockquote-bg: #f1e9d6; /* paper tile 引用底 */
|
|
73
|
+
--table-header-bg: #f1e9d6; /* paper tile 表头 */
|
|
74
|
+
|
|
75
|
+
--selection-bg: rgba(15, 26, 92, 0.18); /* ink 淡渍选区 */
|
|
76
|
+
--highlight-bg: #f1e9d6; /* paper 荧光 */
|
|
77
|
+
|
|
78
|
+
/* ── 1.3 Typography & Metrics(活变量)── */
|
|
79
|
+
--font-body: "Manrope", "Noto Sans SC", system-ui, sans-serif;
|
|
80
|
+
--font-mono: "JetBrains Mono", "Noto Sans Mono CJK SC", monospace;
|
|
81
|
+
--editor-font-size: 16px; /* 模板 body 26px @1920 折算 */
|
|
82
|
+
--editor-column-width: 820px;
|
|
83
|
+
|
|
84
|
+
/* ── 1.4 Pele Diagram(9 个变量,全部可省略)──
|
|
85
|
+
图默认画在 paper tile 上(ink 线稿 + emerald 强调条);figure 版式在
|
|
86
|
+
1.6.6 内整组切到"emerald on ink"复刻 P5 chart-card。 */
|
|
87
|
+
--pele-bg: var(--code-block-bg);
|
|
88
|
+
--pele-fg: var(--code-block-text);
|
|
89
|
+
--pele-muted: color-mix(in srgb, var(--code-block-text) 70%, var(--code-block-bg));
|
|
90
|
+
--pele-line: var(--code-block-text);
|
|
91
|
+
--pele-surface: color-mix(in srgb, var(--code-block-text) 18%, var(--code-block-bg));
|
|
92
|
+
--pele-surface-alt: color-mix(in srgb, var(--code-block-text) 28%, var(--code-block-bg));
|
|
93
|
+
--pele-border: color-mix(in srgb, var(--code-block-text) 45%, var(--code-block-bg));
|
|
94
|
+
--pele-accent: var(--seed-accent);
|
|
95
|
+
--pele-radius: 0px; /* 模板:零圆角,任何形状都是矩形 */
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/* ── 1.5 PPT / Slides(ColaMD 2.7.13 · 按 emerald-editorial 八页逐页复刻)──
|
|
99
|
+
换算锚点:放映基准字号 clamp(17px,1.35vw,26px),1080p ≈ 26px/em;
|
|
100
|
+
模板 1920 画布 px ÷ 26 = em(模板无 clamp,直接取 1920 落点)。
|
|
101
|
+
列表行内元素:先定 li 基准(= 行说明 px ÷26),行题/序号再除以 li 缩放。
|
|
102
|
+
页面对照(模板页 → ColaMD 版式):
|
|
103
|
+
cover←P1(居中舞台,题 184px) agenda←P2(题 200px + 4px 顶线行)
|
|
104
|
+
section←P3(题 128px + lede 28px) matrix←P4(声明题 130px + 三列 cell)
|
|
105
|
+
figure←P5(题 104px + ink chart-card)
|
|
106
|
+
steps←P6(题 120px + 四步 ink 瓦) kpi←P7(题 128px + 四瓦 val 144px)
|
|
107
|
+
closing←P8(题 180px 居中 + foot 三列 38px)
|
|
108
|
+
未复刻(行式 DOM 无挂点):双线饰条/巨数字 460px/marks 药丸/s5-side
|
|
109
|
+
takeaway 与 stats/step meta/kpi lbl 与 delta 药丸/P8 "and" 饰条行;
|
|
110
|
+
P3 左半 ink 分栏无法复刻(取右栏声部);P4 栅格集体顶线按 li 顶线近似;
|
|
111
|
+
P6/P7 纸瓦轮换(nth 不可靠)统一 ink 瓦。quote/timeline/two-col 无对应页
|
|
112
|
+
保持上游默认(--slide-quote-size 按 P4 statement 130px 声部预留)。 */
|
|
113
|
+
:root {
|
|
114
|
+
--slide-mono: "JetBrains Mono", "Noto Sans Mono CJK SC", monospace;
|
|
115
|
+
--slide-title-font: "Bodoni Moda", "LXGW WenKai TC", "Noto Serif SC", Georgia, serif;
|
|
116
|
+
--slide-title-size: 3.54em; /* 内容页题 92px ÷26(routine headline) */
|
|
117
|
+
--slide-title-weight: 900; /* Bodoni Moda 900 = display 声部 */
|
|
118
|
+
--slide-subhead-weight: 800; /* 瓦题/饰条词 800 档 */
|
|
119
|
+
--slide-title-tracking: -0.015em; /* display 阶梯 -.015em */
|
|
120
|
+
--slide-title-line-height: 0.95; /* 模板 display 0.9-0.95 */
|
|
121
|
+
--slide-cover-title-size: 7.08em; /* P1 .s1-big 184px ÷26 */
|
|
122
|
+
--slide-cover-title-line-height: 0.92;
|
|
123
|
+
--slide-cover-title-tracking: -0.01em;
|
|
124
|
+
--slide-section-title-size: 4.92em; /* P3 h2 128px ÷26 */
|
|
125
|
+
--slide-closing-title-size: 6.92em; /* P8 .s8-h 180px ÷26 */
|
|
126
|
+
--slide-lead-size: 1.08em; /* body-lg 28px ÷26 */
|
|
127
|
+
--slide-kicker-size: clamp(17px, 1.46vw, 28px); /* eyebrow 28px @1920 */
|
|
128
|
+
--slide-kicker-tracking: 0.18em; /* 模板 eyebrow .18em */
|
|
129
|
+
--slide-kicker-transform: uppercase;
|
|
130
|
+
--slide-chrome-opacity: 0.9; /* masthead 全色 ink,透明度留给淡出 */
|
|
131
|
+
--slide-chrome-transform: uppercase;
|
|
132
|
+
--slide-kpi-number-size: 6em; /* P7 .val 144px ÷26 ÷0.92(li 缩放) */
|
|
133
|
+
--slide-quote-size: 5em; /* statement 130px ÷26(无对应页,预留) */
|
|
134
|
+
--slide-page-pad-x: 5.7vw; /* 页边距 110px ÷1920 */
|
|
135
|
+
--slide-page-top-pad: 76px; /* 正文顶 110px − chrome 安全区 */
|
|
136
|
+
--slide-page-top-pad-print: 70px;
|
|
137
|
+
--slide-cover-text-align: center; /* P1/P8 居中舞台 */
|
|
138
|
+
--slide-cover-lead-inline: auto;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
/* ═══════════════ SECTION 1.6 — 版式页复刻(SLIDE-02:全部包裹在
|
|
142
|
+
body.presenting / body.slides-printing 作用域) ═══════════════ */
|
|
143
|
+
|
|
144
|
+
/* 1.6.1 页标题声部对齐:Bodoni Moda 900 墨蓝;压掉文档式标题下划线
|
|
145
|
+
(#editor 权重规则会漏进放映) */
|
|
146
|
+
body.presenting #editor .cm-content .cm-md-page-title,
|
|
147
|
+
body.slides-printing #editor .cm-content .cm-md-page-title {
|
|
148
|
+
font-family: var(--slide-title-font);
|
|
149
|
+
font-size: var(--slide-title-size);
|
|
150
|
+
font-weight: 900;
|
|
151
|
+
line-height: 0.95;
|
|
152
|
+
letter-spacing: -0.015em;
|
|
153
|
+
color: var(--text-color);
|
|
154
|
+
border-bottom: none;
|
|
155
|
+
padding-bottom: 0;
|
|
156
|
+
margin-bottom: 0.5em;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
/* 1.6.2 cover · P1:居中舞台(--slide-cover-text-align: center)+ 184px 题;
|
|
160
|
+
副题走 "The" 声部 76px Bodoni 800;credit 28px Manrope 700 .18em;
|
|
161
|
+
双线饰条(.s1-mid)无挂点——未复刻 */
|
|
162
|
+
body.presenting #editor[data-slide-layout='cover'] .cm-content .cm-md-page-title,
|
|
163
|
+
body.slides-printing .cm-md-slide-cover.cm-md-page-title {
|
|
164
|
+
font-size: var(--slide-cover-title-size);
|
|
165
|
+
line-height: 0.92;
|
|
166
|
+
letter-spacing: -0.01em;
|
|
167
|
+
}
|
|
168
|
+
body.presenting #editor[data-slide-layout='cover'] .cm-content .cm-md-atxheading2,
|
|
169
|
+
body.slides-printing .cm-md-slide-cover.cm-md-atxheading2 {
|
|
170
|
+
font-size: 2.92em; /* .s1-the 76px ÷26 */
|
|
171
|
+
font-weight: 800;
|
|
172
|
+
line-height: 1;
|
|
173
|
+
letter-spacing: -0.01em;
|
|
174
|
+
color: var(--text-color);
|
|
175
|
+
}
|
|
176
|
+
body.presenting #editor[data-slide-layout='cover'] .cm-content .cm-md-page-lead,
|
|
177
|
+
body.slides-printing .cm-md-slide-cover.cm-md-page-lead {
|
|
178
|
+
font-size: 1.08em; /* .s1-credit 28px ÷26 */
|
|
179
|
+
font-weight: 700;
|
|
180
|
+
letter-spacing: 0.18em;
|
|
181
|
+
text-transform: uppercase;
|
|
182
|
+
color: var(--text-color);
|
|
183
|
+
max-width: none;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
/* 1.6.3 agenda · P2(The Programme):题 200px;行式条目 = 4px ink 顶线 +
|
|
187
|
+
Bodoni 800 序号/行题 64px + kind 26px Manrope 700 .1em(行尾右对齐列
|
|
188
|
+
无挂点);末行封底 4px 线缺稳定 :last 挂点——未复刻 */
|
|
189
|
+
body.presenting #editor .cm-content .cm-md-slide-agenda .cm-md-page-title,
|
|
190
|
+
body.slides-printing .cm-md-slide-agenda.cm-md-page-title {
|
|
191
|
+
font-size: 7.69em; /* .s2-title 200px ÷26 */
|
|
192
|
+
line-height: 0.9;
|
|
193
|
+
letter-spacing: -0.015em;
|
|
194
|
+
margin-bottom: 0.35em; /* 70px ÷200 */
|
|
195
|
+
}
|
|
196
|
+
body.presenting #editor .cm-content .cm-md-slide-agenda.cm-md-li,
|
|
197
|
+
body.slides-printing #editor .cm-content .cm-md-slide-agenda.cm-md-li {
|
|
198
|
+
font-size: 1em; /* .kind 26px ÷26 = li 基准 */
|
|
199
|
+
border-top: 4px solid var(--text-color);
|
|
200
|
+
border-bottom: none;
|
|
201
|
+
padding: 1em 0; /* 26px 上下 @li 1em */
|
|
202
|
+
margin: 0;
|
|
203
|
+
list-style: none;
|
|
204
|
+
}
|
|
205
|
+
body.presenting #editor .cm-content .cm-md-slide-agenda .cm-md-listmark,
|
|
206
|
+
body.slides-printing #editor .cm-content .cm-md-slide-agenda .cm-md-listmark {
|
|
207
|
+
font-family: var(--slide-title-font);
|
|
208
|
+
font-weight: 800;
|
|
209
|
+
font-size: 2.46em; /* .num 64px ÷26 ÷1 */
|
|
210
|
+
line-height: 1;
|
|
211
|
+
color: var(--text-color);
|
|
212
|
+
margin-right: 0.55em; /* 序号列 130px + gap 近似 */
|
|
213
|
+
}
|
|
214
|
+
body.presenting #editor .cm-content .cm-md-slide-agenda .cm-md-strong,
|
|
215
|
+
body.slides-printing #editor .cm-content .cm-md-slide-agenda .cm-md-strong {
|
|
216
|
+
font-family: var(--slide-title-font);
|
|
217
|
+
font-size: 2.46em; /* .name 64px ÷26 ÷1 */
|
|
218
|
+
font-weight: 800;
|
|
219
|
+
line-height: 1;
|
|
220
|
+
letter-spacing: -0.005em;
|
|
221
|
+
color: var(--text-color);
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
/* 1.6.4 section · P3(split opener):页面底色仍是 emerald(左半 ink 为 pane,
|
|
225
|
+
§6-1 核对)——单栏无法复刻分栏:460px 巨数字/marks 药丸/ink 半版未复刻,
|
|
226
|
+
取右栏声部:kicker Manrope 800 .16em + 题 128px + lede 28px/1.5/720px */
|
|
227
|
+
body.presenting #editor[data-slide-layout='section'] .cm-content .cm-md-page-title,
|
|
228
|
+
body.slides-printing .cm-md-slide-section.cm-md-page-title {
|
|
229
|
+
font-size: var(--slide-section-title-size);
|
|
230
|
+
line-height: 0.95;
|
|
231
|
+
max-width: 14em;
|
|
232
|
+
}
|
|
233
|
+
body.presenting #editor[data-slide-layout='section'] .cm-content .cm-md-page-title[data-slide-kicker]::before,
|
|
234
|
+
body.slides-printing .cm-md-slide-section .cm-md-page-title[data-slide-kicker]::before {
|
|
235
|
+
letter-spacing: 0.16em; /* .s3-right .kicker */
|
|
236
|
+
opacity: 1;
|
|
237
|
+
}
|
|
238
|
+
body.presenting #editor[data-slide-layout='section'] .cm-content .cm-md-page-lead,
|
|
239
|
+
body.slides-printing .cm-md-slide-section.cm-md-page-lead {
|
|
240
|
+
font-size: 1.08em; /* .lede 28px ÷26 */
|
|
241
|
+
font-weight: 500;
|
|
242
|
+
line-height: 1.5;
|
|
243
|
+
max-width: 26em; /* 720px ÷28 */
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
/* 1.6.5 matrix · P4(statement + three):声明题 130px 居中;三列 cell =
|
|
247
|
+
Bodoni 800 序号 64px + h4 44px + p 26px,4px ink 顶线(栅格 collective
|
|
248
|
+
线按 li 顶线近似);ornament-row 饰条(worth 双线)无挂点——未复刻 */
|
|
249
|
+
body.presenting #editor .cm-content .cm-md-slide-matrix .cm-md-page-title,
|
|
250
|
+
body.slides-printing .cm-md-slide-matrix.cm-md-page-title {
|
|
251
|
+
font-size: 5em; /* .s4-state 130px ÷26 */
|
|
252
|
+
line-height: 0.96;
|
|
253
|
+
text-align: center;
|
|
254
|
+
}
|
|
255
|
+
body.presenting #editor .cm-content .cm-md-slide-matrix.cm-md-li,
|
|
256
|
+
body.slides-printing #editor .cm-content .cm-md-slide-matrix.cm-md-li {
|
|
257
|
+
display: inline-block;
|
|
258
|
+
width: 31%;
|
|
259
|
+
margin: 0 1.5% 1em 0;
|
|
260
|
+
vertical-align: top;
|
|
261
|
+
background: transparent;
|
|
262
|
+
border: none;
|
|
263
|
+
border-top: 4px solid var(--text-color);
|
|
264
|
+
border-radius: 0;
|
|
265
|
+
box-shadow: none;
|
|
266
|
+
padding: 1.4em 0 0; /* .s4-grid 顶线内距 36px ÷26 */
|
|
267
|
+
font-size: 1em; /* .s4-cell p 26px ÷26 */
|
|
268
|
+
list-style: none;
|
|
269
|
+
}
|
|
270
|
+
body.presenting #editor .cm-content .cm-md-slide-matrix .cm-md-listmark,
|
|
271
|
+
body.slides-printing #editor .cm-content .cm-md-slide-matrix .cm-md-listmark {
|
|
272
|
+
font-family: var(--slide-title-font);
|
|
273
|
+
font-weight: 800;
|
|
274
|
+
font-size: 2.46em; /* .n 64px ÷26 ÷1 */
|
|
275
|
+
line-height: 1;
|
|
276
|
+
color: var(--text-color);
|
|
277
|
+
margin-right: 0.35em;
|
|
278
|
+
}
|
|
279
|
+
body.presenting #editor .cm-content .cm-md-slide-matrix .cm-md-strong,
|
|
280
|
+
body.slides-printing #editor .cm-content .cm-md-slide-matrix .cm-md-strong {
|
|
281
|
+
display: block;
|
|
282
|
+
font-family: var(--slide-title-font);
|
|
283
|
+
font-size: 1.69em; /* h4 44px ÷26 ÷1 */
|
|
284
|
+
font-weight: 800;
|
|
285
|
+
line-height: 1.05;
|
|
286
|
+
letter-spacing: -0.005em;
|
|
287
|
+
color: var(--text-color);
|
|
288
|
+
margin-bottom: 0.35em;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
/* 1.6.6 figure · P5(chart):题 104px + 副题 26px;chart-card = 墨蓝
|
|
292
|
+
inverse-tile——版式作用域内整组 --pele-* 切到"emerald on ink",mermaid 行
|
|
293
|
+
与 svg 托墨蓝底(打印域 :has 全文档命中,与 pin-and-paper 1.6.4 同限);
|
|
294
|
+
s5-side takeaway/stats 无独立挂点——未复刻 */
|
|
295
|
+
body.presenting #editor[data-slide-layout='figure'] .cm-content .cm-md-page-title,
|
|
296
|
+
body.slides-printing .cm-md-slide-figure.cm-md-page-title {
|
|
297
|
+
font-size: 4em; /* .s5-h 104px ÷26 */
|
|
298
|
+
line-height: 0.95;
|
|
299
|
+
}
|
|
300
|
+
body.presenting #editor[data-slide-layout='figure'] .cm-content .cm-md-page-lead,
|
|
301
|
+
body.slides-printing .cm-md-slide-figure.cm-md-page-lead {
|
|
302
|
+
font-size: 1em; /* .s5-sub 26px ÷26 */
|
|
303
|
+
line-height: 1.45;
|
|
304
|
+
}
|
|
305
|
+
body.presenting #editor[data-slide-layout='figure'] .cm-content,
|
|
306
|
+
body.slides-printing:has(.cm-md-slide-figure) #editor .cm-content {
|
|
307
|
+
--pele-bg: var(--seed-ink);
|
|
308
|
+
--pele-fg: var(--seed-surface);
|
|
309
|
+
--pele-muted: color-mix(in srgb, var(--seed-surface) 62%, var(--seed-ink));
|
|
310
|
+
--pele-line: var(--seed-surface);
|
|
311
|
+
--pele-surface: color-mix(in srgb, var(--seed-surface) 24%, var(--seed-ink));
|
|
312
|
+
--pele-surface-alt: color-mix(in srgb, #f1e9d6 24%, var(--seed-ink));
|
|
313
|
+
--pele-border: rgba(60, 216, 150, 0.22); /* .chart-grid .gl 网格线 */
|
|
314
|
+
--pele-accent: var(--seed-surface);
|
|
315
|
+
}
|
|
316
|
+
body.presenting #editor[data-slide-layout='figure'] .cm-content .cm-md-codeblock,
|
|
317
|
+
body.slides-printing:has(.cm-md-slide-figure) #editor .cm-content .cm-md-codeblock {
|
|
318
|
+
background: var(--seed-ink);
|
|
319
|
+
}
|
|
320
|
+
body.presenting #editor[data-slide-layout='figure'] .cm-content svg.pele,
|
|
321
|
+
body.slides-printing:has(.cm-md-slide-figure) #editor .cm-content svg.pele {
|
|
322
|
+
background: var(--seed-ink);
|
|
323
|
+
border-radius: 0;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
/* 1.6.7 steps · P6(process):题 120px;四步 ink 瓦(.step;纸瓦轮换在
|
|
327
|
+
行式 DOM 上 nth 不可靠,统一 ink 瓦)= Bodoni 900 序号 80px + h4 40px
|
|
328
|
+
(4px currentColor 顶线)+ 文 24px;meta 行无挂点——未复刻 */
|
|
329
|
+
body.presenting #editor[data-slide-layout='steps'] .cm-content .cm-md-page-title,
|
|
330
|
+
body.slides-printing .cm-md-slide-steps.cm-md-page-title {
|
|
331
|
+
font-size: 4.62em; /* .s6-h 120px ÷26 */
|
|
332
|
+
}
|
|
333
|
+
body.presenting #editor .cm-content .cm-md-slide-steps.cm-md-li,
|
|
334
|
+
body.slides-printing #editor .cm-content .cm-md-slide-steps.cm-md-li {
|
|
335
|
+
display: inline-block;
|
|
336
|
+
width: 23%;
|
|
337
|
+
margin: 0 1.5% 1em 0;
|
|
338
|
+
vertical-align: top;
|
|
339
|
+
background: var(--seed-ink);
|
|
340
|
+
color: var(--seed-surface);
|
|
341
|
+
border: none;
|
|
342
|
+
border-radius: 0;
|
|
343
|
+
box-shadow: none;
|
|
344
|
+
padding: 1.35em 1.35em 1.1em; /* 32px/26px ÷ li 24px */
|
|
345
|
+
font-size: 0.92em; /* .step p 24px ÷26 */
|
|
346
|
+
list-style: none;
|
|
347
|
+
}
|
|
348
|
+
body.presenting #editor .cm-content .cm-md-slide-steps .cm-md-listmark,
|
|
349
|
+
body.slides-printing #editor .cm-content .cm-md-slide-steps .cm-md-listmark {
|
|
350
|
+
font-family: var(--slide-title-font);
|
|
351
|
+
font-weight: 900;
|
|
352
|
+
font-size: 3.34em; /* .n 80px ÷26 ÷0.92 */
|
|
353
|
+
line-height: 1;
|
|
354
|
+
color: currentColor;
|
|
355
|
+
margin-right: 0.3em;
|
|
356
|
+
}
|
|
357
|
+
body.presenting #editor .cm-content .cm-md-slide-steps .cm-md-strong,
|
|
358
|
+
body.slides-printing #editor .cm-content .cm-md-slide-steps .cm-md-strong {
|
|
359
|
+
display: block;
|
|
360
|
+
border-top: 4px solid currentColor; /* .step h4 顶线 */
|
|
361
|
+
padding-top: 0.4em;
|
|
362
|
+
margin-bottom: 0.4em;
|
|
363
|
+
font-family: var(--slide-title-font);
|
|
364
|
+
font-size: 1.67em; /* h4 40px ÷26 ÷0.92 */
|
|
365
|
+
font-weight: 800;
|
|
366
|
+
line-height: 1;
|
|
367
|
+
letter-spacing: -0.005em;
|
|
368
|
+
color: currentColor;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
/* 1.6.8 kpi · P7(KPI grid):题 128px;四瓦 ink(.kpi;纸瓦轮换未复刻)=
|
|
372
|
+
val 144px Bodoni 900 + desc 24px;lbl 24px .14em 与 delta 药丸无挂点——
|
|
373
|
+
未复刻 */
|
|
374
|
+
body.presenting #editor[data-slide-layout='kpi'] .cm-content .cm-md-page-title,
|
|
375
|
+
body.slides-printing .cm-md-slide-kpi.cm-md-page-title {
|
|
376
|
+
font-size: 4.92em; /* .s7-h 128px ÷26 */
|
|
377
|
+
line-height: 0.92;
|
|
378
|
+
}
|
|
379
|
+
body.presenting #editor .cm-content .cm-md-slide-kpi.cm-md-li,
|
|
380
|
+
body.slides-printing #editor .cm-content .cm-md-slide-kpi.cm-md-li {
|
|
381
|
+
display: inline-block;
|
|
382
|
+
width: 23%;
|
|
383
|
+
margin: 0 1.5% 1em 0;
|
|
384
|
+
vertical-align: top;
|
|
385
|
+
background: var(--seed-ink);
|
|
386
|
+
color: var(--seed-surface);
|
|
387
|
+
border: none;
|
|
388
|
+
border-radius: 0;
|
|
389
|
+
box-shadow: none;
|
|
390
|
+
padding: 1.5em 1.35em; /* 36px/32px ÷ li 24px */
|
|
391
|
+
font-size: 0.92em; /* .desc 24px ÷26 */
|
|
392
|
+
list-style: none;
|
|
393
|
+
}
|
|
394
|
+
body.presenting #editor .cm-content .cm-md-slide-kpi .cm-md-strong,
|
|
395
|
+
body.slides-printing #editor .cm-content .cm-md-slide-kpi .cm-md-strong {
|
|
396
|
+
font-size: var(--slide-kpi-number-size); /* .val 144px ÷26 ÷0.92 */
|
|
397
|
+
font-weight: 900;
|
|
398
|
+
line-height: 0.9;
|
|
399
|
+
letter-spacing: -0.03em;
|
|
400
|
+
color: currentColor;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
/* 1.6.9 closing · P8:居中题 180px ×2("and" 饰条行无挂点——未复刻);
|
|
404
|
+
foot 三列 = 4px ink 顶线 + lbl 24px Manrope 800 .14em + val 38px
|
|
405
|
+
Bodoni 800,列内左对齐(页面居中、栅格内文字左对齐) */
|
|
406
|
+
body.presenting #editor .cm-content .cm-md-slide-closing .cm-md-page-title,
|
|
407
|
+
body.slides-printing .cm-md-slide-closing.cm-md-page-title {
|
|
408
|
+
font-size: var(--slide-closing-title-size);
|
|
409
|
+
line-height: 0.92;
|
|
410
|
+
letter-spacing: -0.015em;
|
|
411
|
+
text-align: center;
|
|
412
|
+
}
|
|
413
|
+
body.presenting #editor[data-slide-layout='closing'] .cm-content .cm-md-page-title[data-slide-kicker]::before,
|
|
414
|
+
body.slides-printing .cm-md-slide-closing .cm-md-page-title[data-slide-kicker]::before {
|
|
415
|
+
letter-spacing: 0.2em; /* .s8-kicker */
|
|
416
|
+
}
|
|
417
|
+
body.presenting #editor .cm-content .cm-md-slide-closing.cm-md-li,
|
|
418
|
+
body.slides-printing #editor .cm-content .cm-md-slide-closing.cm-md-li {
|
|
419
|
+
display: inline-block;
|
|
420
|
+
width: 30%;
|
|
421
|
+
margin: 1.4em 1.5% 0 0;
|
|
422
|
+
vertical-align: top;
|
|
423
|
+
text-align: left;
|
|
424
|
+
border-top: 4px solid var(--text-color); /* .s8-foot 顶线 */
|
|
425
|
+
border-bottom: none;
|
|
426
|
+
padding-top: 0.85em; /* 32px ÷ li 38px */
|
|
427
|
+
font-family: var(--slide-title-font);
|
|
428
|
+
font-weight: 800;
|
|
429
|
+
font-size: 1.46em; /* .val 38px ÷26 = li 基准 */
|
|
430
|
+
line-height: 1.1;
|
|
431
|
+
}
|
|
432
|
+
body.presenting #editor .cm-content .cm-md-slide-closing .cm-md-listmark,
|
|
433
|
+
body.slides-printing #editor .cm-content .cm-md-slide-closing .cm-md-listmark {
|
|
434
|
+
display: none; /* .col 无序号 */
|
|
435
|
+
}
|
|
436
|
+
body.presenting #editor .cm-content .cm-md-slide-closing .cm-md-strong,
|
|
437
|
+
body.slides-printing #editor .cm-content .cm-md-slide-closing .cm-md-strong {
|
|
438
|
+
display: block;
|
|
439
|
+
font-family: var(--font-body);
|
|
440
|
+
font-size: 0.63em; /* .lbl 24px ÷26 ÷1.46 */
|
|
441
|
+
font-weight: 800;
|
|
442
|
+
letter-spacing: 0.14em;
|
|
443
|
+
text-transform: uppercase;
|
|
444
|
+
color: var(--text-color);
|
|
445
|
+
margin-bottom: 0.3em;
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
/* 1.6.10 chrome · masthead/footline:Manrope 700 26px .05em 大写墨蓝 */
|
|
449
|
+
body.presenting .slide-chrome,
|
|
450
|
+
body.slides-printing .slide-chrome {
|
|
451
|
+
font-family: var(--font-body);
|
|
452
|
+
font-weight: 700;
|
|
453
|
+
font-size: clamp(17px, 1.35vw, 26px); /* .masthead 26px @1920 */
|
|
454
|
+
letter-spacing: 0.05em;
|
|
455
|
+
text-transform: uppercase;
|
|
456
|
+
color: var(--text-color);
|
|
457
|
+
}
|
|
458
|
+
body.presenting .slide-foot,
|
|
459
|
+
body.slides-printing .slide-foot {
|
|
460
|
+
font-family: var(--font-body);
|
|
461
|
+
font-weight: 700;
|
|
462
|
+
font-size: clamp(17px, 1.35vw, 26px);
|
|
463
|
+
letter-spacing: 0.05em;
|
|
464
|
+
text-transform: uppercase;
|
|
465
|
+
color: var(--text-color);
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
/* ═══════════════════════════════════════════════════════════
|
|
469
|
+
SECTION 2 — Editor DOM(#editor .cm-content + .cm-md-*)
|
|
470
|
+
═══════════════════════════════════════════════════════════ */
|
|
471
|
+
|
|
472
|
+
#editor .cm-content {
|
|
473
|
+
font-family: var(--font-body);
|
|
474
|
+
line-height: 1.5;
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
/* ── 2.1 Headings ──
|
|
478
|
+
Bodoni Moda 900 display 声部(h1/h2),h3-h5 落到 800 瓦题档,
|
|
479
|
+
h6 = Manrope 眉标;标题不带线(分隔交给 4px hr/结构线)。 */
|
|
480
|
+
#editor .cm-content .cm-md-atxheading1,
|
|
481
|
+
#editor .cm-content .cm-md-atxheading2,
|
|
482
|
+
#editor .cm-content .cm-md-atxheading3,
|
|
483
|
+
#editor .cm-content .cm-md-atxheading4,
|
|
484
|
+
#editor .cm-content .cm-md-atxheading5,
|
|
485
|
+
#editor .cm-content .cm-md-atxheading6 {
|
|
486
|
+
font-family: "Bodoni Moda", "LXGW WenKai TC", "Noto Serif SC", Georgia, serif;
|
|
487
|
+
color: var(--text-color);
|
|
488
|
+
font-weight: 900;
|
|
489
|
+
line-height: 1.05;
|
|
490
|
+
letter-spacing: -0.01em;
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
#editor .cm-content .cm-md-atxheading1 { font-size: 2.8em; line-height: 1; }
|
|
494
|
+
#editor .cm-content .cm-md-atxheading2 { font-size: 2.15em; line-height: 1; }
|
|
495
|
+
#editor .cm-content .cm-md-atxheading3 { font-size: 1.6em; font-weight: 800; }
|
|
496
|
+
#editor .cm-content .cm-md-atxheading4 { font-size: 1.3em; font-weight: 800; }
|
|
497
|
+
#editor .cm-content .cm-md-atxheading5 { font-size: 1.15em; font-weight: 800; }
|
|
498
|
+
#editor .cm-content .cm-md-atxheading6 {
|
|
499
|
+
font-size: 1em;
|
|
500
|
+
font-family: var(--font-body);
|
|
501
|
+
font-weight: 800;
|
|
502
|
+
letter-spacing: 0.18em; /* 模板 eyebrow 眉标 */
|
|
503
|
+
text-transform: uppercase;
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
/* ── 2.2 Inline ──
|
|
507
|
+
strong 永远正文色(模板强调靠字号/反色,不上 accent)。 */
|
|
508
|
+
#editor .cm-content .cm-md-strong { color: var(--text-color); font-weight: 800; }
|
|
509
|
+
#editor .cm-content .cm-md-em { font-style: italic; }
|
|
510
|
+
#editor .cm-content .cm-md-strike { text-decoration: line-through; }
|
|
511
|
+
#editor .cm-content .cm-md-highlight { background: var(--highlight-bg); }
|
|
512
|
+
#editor .cm-content .cm-md-link { color: var(--link-color); }
|
|
513
|
+
#editor .cm-content .cm-md-url { color: var(--text-muted); }
|
|
514
|
+
|
|
515
|
+
#editor .cm-content .cm-md-inlinecode {
|
|
516
|
+
font-family: var(--font-mono);
|
|
517
|
+
background: var(--code-bg);
|
|
518
|
+
color: var(--text-color);
|
|
519
|
+
border-radius: 0; /* 模板:零圆角 */
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
#editor .cm-content .cm-md-marker,
|
|
523
|
+
#editor .cm-content .cm-md-quotemark,
|
|
524
|
+
#editor .cm-content .cm-md-listmark {
|
|
525
|
+
color: var(--text-muted);
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
/* ── 2.3 Blockquote / Code Block(每行一个 div,禁用纵向 padding)──
|
|
529
|
+
引用/代码块 = paper tile(燕麦纸托 + ink 文);引用左轨 4px ink。 */
|
|
530
|
+
#editor .cm-content .cm-md-blockquote {
|
|
531
|
+
color: var(--text-color);
|
|
532
|
+
border-left: 4px solid var(--blockquote-border);
|
|
533
|
+
padding-left: 16px;
|
|
534
|
+
padding-right: 16px;
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
#editor .cm-content .cm-md-codeblock {
|
|
538
|
+
background: var(--code-block-bg);
|
|
539
|
+
color: var(--code-block-text);
|
|
540
|
+
padding-left: 16px;
|
|
541
|
+
padding-right: 16px;
|
|
542
|
+
}
|
|
543
|
+
#editor .cm-content .cm-md-codeblock-first,
|
|
544
|
+
#editor .cm-content .cm-md-codeblock-last {
|
|
545
|
+
border-radius: 0; /* 模板:零圆角 */
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
/* ── 2.4 Table / Rule(模板未给表格样张:th 走 caption 眉标 + 4px ink 底线)── */
|
|
549
|
+
#editor .cm-content .cm-md-table-widget th,
|
|
550
|
+
#editor .cm-content .cm-md-table-widget td {
|
|
551
|
+
padding: 10px 14px;
|
|
552
|
+
border-color: rgba(15, 26, 92, 0.22); /* --rule */
|
|
553
|
+
}
|
|
554
|
+
#editor .cm-content .cm-md-table-widget th {
|
|
555
|
+
background: var(--table-header-bg);
|
|
556
|
+
color: var(--text-color);
|
|
557
|
+
font-family: var(--font-body);
|
|
558
|
+
font-size: 0.78em;
|
|
559
|
+
font-weight: 800;
|
|
560
|
+
letter-spacing: 0.14em;
|
|
561
|
+
text-transform: uppercase;
|
|
562
|
+
border-bottom: 4px solid var(--seed-border-strong);
|
|
563
|
+
}
|
|
564
|
+
#editor .cm-content .cm-md-hr { border-top-color: var(--seed-border-strong); }
|
|
565
|
+
|
|
566
|
+
/* ── 2.5 中文首行缩进 ──
|
|
567
|
+
CM6 里一行就是一个 div:段落缩进落在 .cm-line 上,标题/引用/代码/列表行归零。 */
|
|
568
|
+
#editor .cm-content .cm-line { text-indent: 2em; }
|
|
569
|
+
|
|
570
|
+
#editor .cm-content .cm-md-atxheading1,
|
|
571
|
+
#editor .cm-content .cm-md-atxheading2,
|
|
572
|
+
#editor .cm-content .cm-md-atxheading3,
|
|
573
|
+
#editor .cm-content .cm-md-atxheading4,
|
|
574
|
+
#editor .cm-content .cm-md-atxheading5,
|
|
575
|
+
#editor .cm-content .cm-md-atxheading6,
|
|
576
|
+
#editor .cm-content .cm-md-blockquote,
|
|
577
|
+
#editor .cm-content .cm-md-codeblock,
|
|
578
|
+
#editor .cm-content .cm-md-hr,
|
|
579
|
+
#editor .cm-content .cm-md-mermaid,
|
|
580
|
+
#editor .cm-content .cm-md-li-0,
|
|
581
|
+
#editor .cm-content .cm-md-li-1,
|
|
582
|
+
#editor .cm-content .cm-md-li-2,
|
|
583
|
+
#editor .cm-content .cm-md-li-3,
|
|
584
|
+
#editor .cm-content .cm-md-li-4,
|
|
585
|
+
#editor .cm-content .cm-md-li-5,
|
|
586
|
+
#editor .cm-content .cm-md-li-6 {
|
|
587
|
+
text-indent: 0;
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
/* ═══════════════════════════════════════════════════════════
|
|
591
|
+
SECTION 3 — Exported HTML(.colamd-document,语义标签)
|
|
592
|
+
HTML/PDF 导出不走编辑器 DOM;这段与 SECTION 2 镜像同步。
|
|
593
|
+
═══════════════════════════════════════════════════════════ */
|
|
594
|
+
|
|
595
|
+
.colamd-document {
|
|
596
|
+
font-family: var(--font-body);
|
|
597
|
+
font-size: 16px;
|
|
598
|
+
line-height: 1.5;
|
|
599
|
+
background: var(--bg-color);
|
|
600
|
+
color: var(--text-color);
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
.colamd-document h1,
|
|
604
|
+
.colamd-document h2,
|
|
605
|
+
.colamd-document h3,
|
|
606
|
+
.colamd-document h4,
|
|
607
|
+
.colamd-document h5,
|
|
608
|
+
.colamd-document h6 {
|
|
609
|
+
font-family: "Bodoni Moda", "LXGW WenKai TC", "Noto Serif SC", Georgia, serif;
|
|
610
|
+
color: var(--text-color);
|
|
611
|
+
font-weight: 900;
|
|
612
|
+
line-height: 1.05;
|
|
613
|
+
letter-spacing: -0.01em;
|
|
614
|
+
margin: 1.5em 0 0.5em;
|
|
615
|
+
}
|
|
616
|
+
.colamd-document h1 { font-size: 2.8em; line-height: 1; margin-top: 0.4em; }
|
|
617
|
+
.colamd-document h2 { font-size: 2.15em; line-height: 1; }
|
|
618
|
+
.colamd-document h3 { font-size: 1.6em; font-weight: 800; }
|
|
619
|
+
.colamd-document h4 { font-size: 1.3em; font-weight: 800; }
|
|
620
|
+
.colamd-document h5 { font-size: 1.15em; font-weight: 800; }
|
|
621
|
+
.colamd-document h6 {
|
|
622
|
+
font-size: 1em;
|
|
623
|
+
font-family: var(--font-body);
|
|
624
|
+
font-weight: 800;
|
|
625
|
+
letter-spacing: 0.18em;
|
|
626
|
+
text-transform: uppercase;
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
.colamd-document strong { color: var(--text-color); font-weight: 800; }
|
|
630
|
+
.colamd-document code {
|
|
631
|
+
background: var(--code-bg);
|
|
632
|
+
color: var(--text-color);
|
|
633
|
+
font-family: var(--font-mono);
|
|
634
|
+
border-radius: 0;
|
|
635
|
+
}
|
|
636
|
+
/* Pele SVG 不自绘背景,编辑器里浮在代码块行上;导出后无类名 div 托底,需补回 */
|
|
637
|
+
.colamd-document svg.pele { background: var(--pele-bg); border-radius: 0; }
|
|
638
|
+
.colamd-document pre { background: var(--code-block-bg); }
|
|
639
|
+
.colamd-document pre code { color: var(--code-block-text); }
|
|
640
|
+
.colamd-document blockquote {
|
|
641
|
+
background: var(--blockquote-bg);
|
|
642
|
+
color: var(--text-color);
|
|
643
|
+
border-left: 4px solid var(--blockquote-border);
|
|
644
|
+
padding: 0.5em 1.2em;
|
|
645
|
+
}
|
|
646
|
+
.colamd-document mark { background: var(--highlight-bg); }
|
|
647
|
+
.colamd-document th,
|
|
648
|
+
.colamd-document td {
|
|
649
|
+
border-color: rgba(15, 26, 92, 0.22);
|
|
650
|
+
padding: 10px 14px;
|
|
651
|
+
}
|
|
652
|
+
.colamd-document th {
|
|
653
|
+
background: var(--table-header-bg);
|
|
654
|
+
font-size: 0.78em;
|
|
655
|
+
font-weight: 800;
|
|
656
|
+
letter-spacing: 0.14em;
|
|
657
|
+
text-transform: uppercase;
|
|
658
|
+
border-bottom: 4px solid var(--seed-border-strong);
|
|
659
|
+
}
|
|
660
|
+
.colamd-document hr { border-top-color: var(--seed-border-strong); }
|
|
661
|
+
|
|
662
|
+
.colamd-document p { text-indent: 2em; }
|
|
663
|
+
.colamd-document li p,
|
|
664
|
+
.colamd-document td p,
|
|
665
|
+
.colamd-document th p,
|
|
666
|
+
.colamd-document blockquote p {
|
|
667
|
+
text-indent: 0;
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
/* ═══════════════════════════════════════════════════════════
|
|
671
|
+
SECTION 4 — Print
|
|
672
|
+
应用直接对当前窗口 printToPDF,屏幕规则原样生效;这里只补保真。
|
|
673
|
+
═══════════════════════════════════════════════════════════ */
|
|
674
|
+
|
|
675
|
+
@media print {
|
|
676
|
+
html,
|
|
677
|
+
body {
|
|
678
|
+
background: var(--bg-color);
|
|
679
|
+
color: var(--text-color);
|
|
680
|
+
-webkit-print-color-adjust: exact;
|
|
681
|
+
print-color-adjust: exact;
|
|
682
|
+
}
|
|
683
|
+
}
|