@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,817 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* ColaMD Theme: 8-Bit Orbit — 像素轨道(逐页版式复刻精修版)
|
|
3
|
+
* 来源:beautiful-html-templates/templates/8-bit-orbit/template.html(10 页霓虹街机模板)
|
|
4
|
+
* 底层 deep-navy 虚空 + 40px cyan 网格壁纸 + Tektur 方形显示体 × Chakra Petch 正文
|
|
5
|
+
* × Space Mono HUD,霓虹三色 cyan #5EDCFF / pink #F0A6CA / yellow #F4D03F,
|
|
6
|
+
* 堆叠式 4px 像素阴影,全局 0 圆角("Don't round any corner")。
|
|
7
|
+
* 色板备案:dark-void #0A0E27(页底)/ deep-navy #0F1B3D(面板与彩底页文字)/
|
|
8
|
+
* neon-cyan #5EDCF4 / neon-pink #F0A6CA / neon-yellow #F4D03F / soft-lavender #E2D5F2。
|
|
9
|
+
* paradigm 备案(霓虹街机身份,dark paradigm,SL-04 暗-中-亮排序已按暗色轴排布):
|
|
10
|
+
* SL-01 —— dark-void 底色饱和度 ~59%(HSL 算法对近黑色放大)> 5%:近黑深蓝
|
|
11
|
+
* #0A0E27 是模板 dark-void 刻意身份(CRT 荧光屏),不做中性化备案保留;
|
|
12
|
+
* SL-02 —— panel/panel-alt 饱和度 > 10%:deep-navy 面板族同理为模板身份;
|
|
13
|
+
* SL-03 —— surface(232°) 与 panel/panel-alt(224°) 色相差 8° > 5°:模板
|
|
14
|
+
* dark-void 与 deep-navy 本就是两条相邻海军蓝色相,刻意保留;
|
|
15
|
+
* NT-03 —— 边框为 cyan 网格线系(饱和度 20%+):40px 网格壁纸即模板骨架,
|
|
16
|
+
* 边框走 cyan 轴而非中性灰,刻意保留(NT-02 明度差已过线);
|
|
17
|
+
* 文字色统一染至海军蓝色相轴(ink #F2F5FF ≈226° / muted #B8C0DC / dim
|
|
18
|
+
* #8C95B0,NT-01 过线),视觉仍为白系:正文 ≈17.6:1、次级 ≈10.5:1、
|
|
19
|
+
* 弱化 ≈6.4:1;霓虹只做标题 / 大数字 / 线条 / label,不做正文色;
|
|
20
|
+
* CR-04 —— 行题 strong 与 KPI 大数字用 neon-cyan:模板 dark-surface 标题与
|
|
21
|
+
* stat-number 的刻意身份,暗底 11.8:1 过线;三张彩底页(timeline/quote/matrix)
|
|
22
|
+
* 的 strong/标题一律切 deep-navy(8.8–10.4:1 过线)。
|
|
23
|
+
* 字体备案:Tektur / Chakra Petch / Space Mono 为 Google Fonts,离线回退系统黑体与
|
|
24
|
+
* 等宽(模板 Known Gap);中文回退 Noto Sans SC 系,栈以 generic family 收尾。
|
|
25
|
+
* 未复刻清单(绝对定位/JS 装饰,行式 DOM 无挂点,有意未复刻):scanlines/grain/CRT
|
|
26
|
+
* vignette 叠层、starfield/pixel-particles、右侧 nav-dot 竖排轨道、cursor: crosshair、
|
|
27
|
+
* hero outline badges、feature icon 图形、卡片 corner-bracket(L 形括角,纯绝对定位)、
|
|
28
|
+
* timeline 居中虚线大轴(以左置虚线轨 + 方形像素节点近似)、quote 绝对定位 8rem 巨引号
|
|
29
|
+
* (以 ::before 巨引号近似)、pixel-landscape 山脉、P2 像素头像块、按钮 hover 位移动效。
|
|
30
|
+
* 40px 网格壁纸已用 background-image 在放映/打印域整链复刻。
|
|
31
|
+
* 契约:ColaMD 2.7.13。硬规矩①:CM6 每行一 div,编辑器选择器只用 .cm-md-*;
|
|
32
|
+
* 硬规矩②:.cm-md-blockquote / .cm-md-codeblock 禁纵向 padding,留白只走 margin。
|
|
33
|
+
*
|
|
34
|
+
* ══ 页面对照表(模板 10 页 → ColaMD 版式,对照方法论 §2-②)══
|
|
35
|
+
* cover ← P1 HERO(dark 底,居中) matrix ← P3 四卡网格(cyan 底)
|
|
36
|
+
* figure ← P4 竖条图(dark 底) timeline← P6 Roadmap(pink 底)
|
|
37
|
+
* kpi ← P7 Platform Vitals(dark 底) quote ← P8 引言(cyan 底)
|
|
38
|
+
* closing ← P10 CTA(dark 底)
|
|
39
|
+
* P2 图文分栏页 → 默认文章版式(无对应版式);P5 横条图与 figure 同形不单列;
|
|
40
|
+
* P9 定价卡与 matrix 同形不单列(tier 卡含价签/子清单,结构更重);
|
|
41
|
+
* agenda / section / steps / two-col 模板无对应页 → 保持上游默认。
|
|
42
|
+
* ══ 换算锚点:放映基准 clamp(17px,1.35vw,26px),1080p ≈ 26px/em;px ÷ 26 = em,
|
|
43
|
+
* clamp 一律取 1920×1080 实际落点;行内元素先定 li 基准再除以 li 缩放补偿。
|
|
44
|
+
*/
|
|
45
|
+
|
|
46
|
+
/* ═══ SECTION 1 · :root 令牌(契约活变量 + 种子色) ═══ */
|
|
47
|
+
:root {
|
|
48
|
+
--seed-surface: #0a0e27;
|
|
49
|
+
--seed-panel: #0f1b3d;
|
|
50
|
+
--seed-panel-alt: #182750;
|
|
51
|
+
--seed-ink: #f2f5ff;
|
|
52
|
+
--seed-ink-muted: #b8c0dc;
|
|
53
|
+
--seed-ink-dim: #8c95b0;
|
|
54
|
+
--seed-border: #234a62;
|
|
55
|
+
--seed-border-strong: #5edcf4;
|
|
56
|
+
--seed-accent: #5edcf4;
|
|
57
|
+
--seed-accent-light: #a5ebfb;
|
|
58
|
+
--seed-accent-dark: #2aa6c9;
|
|
59
|
+
--seed-neon-pink: #f0a6ca;
|
|
60
|
+
--seed-neon-yellow: #f4d03f;
|
|
61
|
+
|
|
62
|
+
--bg-color: var(--seed-surface);
|
|
63
|
+
--text-color: var(--seed-ink);
|
|
64
|
+
--text-secondary: var(--seed-ink-muted);
|
|
65
|
+
--text-muted: var(--seed-ink-dim);
|
|
66
|
+
--border-color: var(--seed-border);
|
|
67
|
+
--link-color: var(--seed-accent);
|
|
68
|
+
--code-bg: rgba(94, 220, 244, 0.08);
|
|
69
|
+
--code-block-bg: var(--seed-panel-alt);
|
|
70
|
+
--code-block-text: var(--seed-ink);
|
|
71
|
+
--blockquote-border: var(--seed-accent);
|
|
72
|
+
--blockquote-bg: var(--seed-panel);
|
|
73
|
+
--table-header-bg: var(--seed-panel);
|
|
74
|
+
--selection-bg: rgba(94, 220, 244, 0.25);
|
|
75
|
+
--highlight-bg: rgba(244, 208, 63, 0.28);
|
|
76
|
+
--font-body: 'Chakra Petch', 'Noto Sans SC', sans-serif;
|
|
77
|
+
--font-mono: 'Space Mono', 'Noto Sans Mono CJK SC', monospace;
|
|
78
|
+
--editor-font-size: 16px;
|
|
79
|
+
--editor-column-width: 820px;
|
|
80
|
+
|
|
81
|
+
--pele-accent: var(--seed-accent);
|
|
82
|
+
--pele-bg: var(--seed-panel-alt);
|
|
83
|
+
--pele-fg: var(--seed-ink);
|
|
84
|
+
--pele-muted: var(--seed-ink-dim);
|
|
85
|
+
--pele-line: var(--seed-border);
|
|
86
|
+
--pele-node: var(--seed-accent);
|
|
87
|
+
--pele-radius: 0px;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/* ═══ SECTION 1.5 · 幻灯片令牌(26px/em 换算,映射表见文件头) ═══ */
|
|
91
|
+
:root {
|
|
92
|
+
--slide-mono: 'Space Mono', 'Noto Sans Mono CJK SC', monospace;
|
|
93
|
+
--slide-title-font: 'Tektur', 'Noto Sans SC', sans-serif;
|
|
94
|
+
/* 44.8px ÷26:内容页 h2 clamp(1.5rem, 3.5vw, 2.8rem) @1920 落点 */
|
|
95
|
+
--slide-title-size: 1.72em;
|
|
96
|
+
--slide-title-weight: 700;
|
|
97
|
+
--slide-subhead-weight: 700;
|
|
98
|
+
/* Tektur 原生字距,design.md 明令禁负字距;hero 上唯一 +0.04em */
|
|
99
|
+
--slide-title-tracking: 0em;
|
|
100
|
+
--slide-title-line-height: 1.15;
|
|
101
|
+
/* 128px ÷26:pixel-hero-text clamp(3rem, 10vw, 8rem) @1920 落点 */
|
|
102
|
+
--slide-cover-title-size: 4.92em;
|
|
103
|
+
--slide-cover-title-line-height: 1.05;
|
|
104
|
+
--slide-cover-title-tracking: 0.04em;
|
|
105
|
+
/* 56px ÷26:CTA h2 clamp(2rem, 5vw, 3.5rem) @1920 落点 */
|
|
106
|
+
--slide-closing-title-size: 2.15em;
|
|
107
|
+
/* 18.4px ÷26:P2 正文 clamp(0.9rem, 1.2vw, 1.15rem) 落点(导语中位) */
|
|
108
|
+
--slide-lead-size: 0.71em;
|
|
109
|
+
/* pixel-label 12px 定宽 → clamp(10px, 0.63vw, 12px) */
|
|
110
|
+
--slide-kicker-size: clamp(10px, 0.63vw, 12px);
|
|
111
|
+
--slide-kicker-tracking: 0.2em;
|
|
112
|
+
--slide-kicker-transform: uppercase;
|
|
113
|
+
--slide-chrome-opacity: 1; /* 模板 counter 全不透明 */
|
|
114
|
+
--slide-chrome-transform: none;
|
|
115
|
+
/* 56px ÷26 ÷0.43(li 0.43em):stat-number clamp(2rem,4vw,3.5rem) 落点 */
|
|
116
|
+
--slide-kpi-number-size: 5em;
|
|
117
|
+
/* 25.6px ÷26:quote-text clamp(1.1rem, 2.2vw, 1.6rem) @1920 落点 */
|
|
118
|
+
--slide-quote-size: 0.98em;
|
|
119
|
+
--slide-page-pad-x: 4vw;
|
|
120
|
+
/* 模板页顶 3vh ≈ 32px@1080,为 chrome 让位取 48px */
|
|
121
|
+
--slide-page-top-pad: 48px;
|
|
122
|
+
--slide-page-top-pad-print: 40px;
|
|
123
|
+
--slide-cover-text-align: center;
|
|
124
|
+
--slide-cover-lead-inline: auto;
|
|
125
|
+
/* section-title-size 不覆写:模板无章节页,保持上游默认 */
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
/* ═══ SECTION 1.6 · 逐版式 scoped 复刻(全部包裹在放映/打印域下,SLIDE-02) ═══ */
|
|
129
|
+
|
|
130
|
+
/* 1.6.1 页标题声部对齐:先压掉文档式标题样式,统一 Tektur 声部。
|
|
131
|
+
* 暗底页面标题 = neon-cyan(模板 dark-surface 标题约定);kicker = pixel-label 黄。 */
|
|
132
|
+
body.presenting #editor .cm-content .cm-md-page-title,
|
|
133
|
+
body.slides-printing #editor .cm-content .cm-md-page-title {
|
|
134
|
+
font-family: var(--slide-title-font);
|
|
135
|
+
font-size: var(--slide-title-size);
|
|
136
|
+
font-weight: var(--slide-title-weight);
|
|
137
|
+
line-height: var(--slide-title-line-height);
|
|
138
|
+
letter-spacing: var(--slide-title-tracking);
|
|
139
|
+
color: var(--seed-accent);
|
|
140
|
+
border-bottom: none;
|
|
141
|
+
padding-top: 0;
|
|
142
|
+
margin-bottom: 0.5em;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
body.presenting #editor .cm-content .cm-md-page-title[data-slide-kicker]::before,
|
|
146
|
+
body.slides-printing #editor .cm-content .cm-md-page-title[data-slide-kicker]::before {
|
|
147
|
+
color: var(--seed-neon-yellow);
|
|
148
|
+
font-weight: 700;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
/* 1.6.2 cover ← P1:居中主视觉,Tektur 900 巨字 + 黄/深蓝双层像素阴影。
|
|
152
|
+
* hero badges(三枚黄描边 outline chips)无对应元素,未复刻。 */
|
|
153
|
+
body.presenting #editor[data-slide-layout='cover'] .cm-content .cm-md-page-title,
|
|
154
|
+
body.slides-printing #editor .cm-content .cm-md-slide-cover.cm-md-page-title {
|
|
155
|
+
font-size: var(--slide-cover-title-size);
|
|
156
|
+
font-weight: 900;
|
|
157
|
+
line-height: var(--slide-cover-title-line-height);
|
|
158
|
+
letter-spacing: var(--slide-cover-title-tracking);
|
|
159
|
+
max-width: 14em;
|
|
160
|
+
text-shadow: 4px 4px 0 var(--seed-neon-yellow), 8px 8px 0 var(--seed-panel);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
body.presenting #editor[data-slide-layout='cover'] .cm-content .cm-md-page-title[data-slide-kicker]::before,
|
|
164
|
+
body.slides-printing #editor .cm-content .cm-md-slide-cover.cm-md-page-title[data-slide-kicker]::before {
|
|
165
|
+
color: var(--seed-neon-pink);
|
|
166
|
+
font-weight: 400;
|
|
167
|
+
letter-spacing: 0.3em;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
/* hero-tagline:19.2px 居中导语,max-width 500px ≈ 26em(按导语字号) */
|
|
171
|
+
body.presenting #editor[data-slide-layout='cover'] .cm-content .cm-md-page-lead,
|
|
172
|
+
body.slides-printing #editor .cm-content .cm-md-slide-cover.cm-md-page-lead {
|
|
173
|
+
font-size: 0.74em; /* 19.2px ÷26 */
|
|
174
|
+
line-height: 1.8;
|
|
175
|
+
color: rgba(255, 255, 255, 0.7);
|
|
176
|
+
max-width: 26em;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
/* 1.6.3 timeline ← P6(pink 换底页):整条层叠链上色 + 40px 海军蓝网格壁纸。
|
|
180
|
+
* 模板居中虚线大轴与左右交错布局是绝对定位网格 → 以左置虚线轨 + 方形像素节点近似。 */
|
|
181
|
+
body.presenting:has(#editor[data-slide-layout='timeline']),
|
|
182
|
+
body.slides-printing:has(.cm-md-slide-timeline) {
|
|
183
|
+
background: var(--seed-neon-pink);
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
body.presenting #editor[data-slide-layout='timeline'],
|
|
187
|
+
body.presenting #editor[data-slide-layout='timeline'] .cm-editor,
|
|
188
|
+
body.presenting #editor[data-slide-layout='timeline'] .cm-scroller,
|
|
189
|
+
body.presenting #editor[data-slide-layout='timeline'] .cm-content,
|
|
190
|
+
body.slides-printing:has(.cm-md-slide-timeline) #editor,
|
|
191
|
+
body.slides-printing:has(.cm-md-slide-timeline) .cm-editor,
|
|
192
|
+
body.slides-printing:has(.cm-md-slide-timeline) .cm-scroller,
|
|
193
|
+
body.slides-printing:has(.cm-md-slide-timeline) .cm-content {
|
|
194
|
+
background-color: var(--seed-neon-pink);
|
|
195
|
+
background-image: linear-gradient(rgba(15, 27, 61, 0.06) 1px, transparent 1px),
|
|
196
|
+
linear-gradient(90deg, rgba(15, 27, 61, 0.06) 1px, transparent 1px);
|
|
197
|
+
background-size: 40px 40px;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
/* 彩底页正文/标题 = deep-navy;幽灵页码 white 落彩底穿帮 → opacity 0。
|
|
201
|
+
* 上游在行级直接设色(引用/列表/导语),继承压不过 → 标题/kicker/lead 显式命中 */
|
|
202
|
+
body.presenting #editor[data-slide-layout='timeline'] .cm-content,
|
|
203
|
+
body.presenting #editor .cm-content .cm-md-slide-timeline,
|
|
204
|
+
body.presenting #editor .cm-content .cm-md-slide-quote,
|
|
205
|
+
body.presenting #editor .cm-content .cm-md-slide-matrix,
|
|
206
|
+
body.slides-printing #editor .cm-content .cm-md-slide-timeline,
|
|
207
|
+
body.slides-printing #editor .cm-content .cm-md-slide-quote,
|
|
208
|
+
body.slides-printing #editor .cm-content .cm-md-slide-matrix {
|
|
209
|
+
color: var(--seed-panel);
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
/* 模板 label 为 neon-on-navy pill;pill 底不可复刻,彩底页 kicker 切深蓝保可读 */
|
|
213
|
+
body.presenting #editor[data-slide-layout='timeline'] .cm-content .cm-md-page-title[data-slide-kicker]::before,
|
|
214
|
+
body.presenting #editor[data-slide-layout='quote'] .cm-content .cm-md-page-title[data-slide-kicker]::before,
|
|
215
|
+
body.presenting #editor[data-slide-layout='matrix'] .cm-content .cm-md-page-title[data-slide-kicker]::before,
|
|
216
|
+
body.slides-printing #editor .cm-content .cm-md-slide-timeline.cm-md-page-title[data-slide-kicker]::before,
|
|
217
|
+
body.slides-printing #editor .cm-content .cm-md-slide-quote.cm-md-page-title[data-slide-kicker]::before,
|
|
218
|
+
body.slides-printing #editor .cm-content .cm-md-slide-matrix.cm-md-page-title[data-slide-kicker]::before {
|
|
219
|
+
color: var(--seed-panel);
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
/* 上游导语行级 text-secondary 在彩底上刺眼 → 切深蓝 */
|
|
223
|
+
body.presenting #editor[data-slide-layout='timeline'] .cm-content .cm-md-page-lead,
|
|
224
|
+
body.presenting #editor[data-slide-layout='quote'] .cm-content .cm-md-page-lead,
|
|
225
|
+
body.presenting #editor[data-slide-layout='matrix'] .cm-content .cm-md-page-lead,
|
|
226
|
+
body.slides-printing #editor .cm-content .cm-md-slide-timeline.cm-md-page-lead,
|
|
227
|
+
body.slides-printing #editor .cm-content .cm-md-slide-quote.cm-md-page-lead,
|
|
228
|
+
body.slides-printing #editor .cm-content .cm-md-slide-matrix.cm-md-page-lead {
|
|
229
|
+
color: var(--seed-panel);
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
/* 行式条目:13.6px venue ÷26 = 0.52em;行题 strong = 16px h4 ÷26÷0.52 = 1.18em。
|
|
233
|
+
* 版式类为行级盖章( Decoration.line ),与行角色类同 div → 全用复合选择器 */
|
|
234
|
+
body.presenting #editor .cm-content .cm-md-slide-timeline.cm-md-li,
|
|
235
|
+
body.slides-printing #editor .cm-content .cm-md-slide-timeline.cm-md-li {
|
|
236
|
+
font-size: 0.52em;
|
|
237
|
+
border-left: 3px dashed rgba(15, 27, 61, 0.45);
|
|
238
|
+
padding-bottom: 0.9em;
|
|
239
|
+
margin-bottom: 1.5em;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
body.presenting #editor .cm-content .cm-md-slide-timeline.cm-md-li::before,
|
|
243
|
+
body.slides-printing #editor .cm-content .cm-md-slide-timeline.cm-md-li::before {
|
|
244
|
+
width: 16px;
|
|
245
|
+
height: 16px;
|
|
246
|
+
border: 4px solid var(--seed-panel);
|
|
247
|
+
border-radius: 0; /* 方形像素节点 24px 含边框 */
|
|
248
|
+
background: var(--seed-accent);
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
body.presenting #editor .cm-content .cm-md-slide-timeline .cm-md-strong,
|
|
252
|
+
body.slides-printing #editor .cm-content .cm-md-slide-timeline .cm-md-strong {
|
|
253
|
+
font-size: 1.18em;
|
|
254
|
+
color: var(--seed-panel);
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
/* 模板 date chip(11.2px mono 胶囊)无独立行内挂点,日期随条目文字走,未复刻 */
|
|
258
|
+
|
|
259
|
+
/* 1.6.4 kpi ← P7(dark 底默认):青玻璃 stat-block 卡 ×4 列,大数字 cyan 900。
|
|
260
|
+
* corner-bracket 括角为纯绝对定位装饰,未复刻;玻璃底/描边照搬。 */
|
|
261
|
+
body.presenting #editor[data-slide-layout='kpi'] .cm-content .cm-md-page-lead,
|
|
262
|
+
body.slides-printing #editor .cm-content .cm-md-slide-kpi.cm-md-page-lead {
|
|
263
|
+
font-size: 0.55em; /* 14.4px ÷26 */
|
|
264
|
+
color: rgba(255, 255, 255, 0.5);
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
body.presenting #editor .cm-content .cm-md-slide-kpi.cm-md-li,
|
|
268
|
+
body.slides-printing #editor .cm-content .cm-md-slide-kpi.cm-md-li {
|
|
269
|
+
font-size: 0.43em; /* 11.2px stat-label ÷26 */
|
|
270
|
+
width: 21.5%;
|
|
271
|
+
margin: 0 3% 1.5em 0;
|
|
272
|
+
padding: 2.5em 1.4em 2em; /* 32px/16px ÷11.2 */
|
|
273
|
+
background: rgba(94, 220, 244, 0.08);
|
|
274
|
+
border: 2px solid rgba(94, 220, 244, 0.2);
|
|
275
|
+
border-radius: 0;
|
|
276
|
+
text-align: center;
|
|
277
|
+
color: var(--seed-neon-pink); /* stat-label = neon-pink(暗底 9.9:1) */
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
body.presenting #editor .cm-content .cm-md-slide-kpi .cm-md-strong,
|
|
281
|
+
body.slides-printing #editor .cm-content .cm-md-slide-kpi .cm-md-strong {
|
|
282
|
+
color: var(--seed-accent); /* stat-number = neon-cyan,CR-04 备案 */
|
|
283
|
+
font-weight: 900;
|
|
284
|
+
text-shadow: 3px 3px 0 var(--seed-panel);
|
|
285
|
+
letter-spacing: 0;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
/* 1.6.5 figure ← P4(dark 底默认):标题/副题居中,副题 = mono 副题行。
|
|
289
|
+
* P5 横条图同形不单列(lavender 底 + 深蓝副题,见映射表)。 */
|
|
290
|
+
body.presenting #editor[data-slide-layout='figure'] .cm-content,
|
|
291
|
+
body.slides-printing #editor .cm-content .cm-md-slide-figure {
|
|
292
|
+
text-align: center;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
body.presenting #editor[data-slide-layout='figure'] .cm-content .cm-md-page-lead,
|
|
296
|
+
body.slides-printing #editor .cm-content .cm-md-slide-figure.cm-md-page-lead {
|
|
297
|
+
font-family: var(--slide-mono);
|
|
298
|
+
font-size: 0.49em; /* 12.8px ÷26 */
|
|
299
|
+
letter-spacing: 0.15em;
|
|
300
|
+
color: var(--seed-neon-pink);
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
/* 1.6.6 quote ← P8(cyan 换底页):Chakra Petch 500 深蓝居中引文 + 黄色 quote-line。 */
|
|
304
|
+
body.presenting:has(#editor[data-slide-layout='quote']),
|
|
305
|
+
body.slides-printing:has(.cm-md-slide-quote) {
|
|
306
|
+
background: var(--seed-accent);
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
body.presenting #editor[data-slide-layout='quote'],
|
|
310
|
+
body.presenting #editor[data-slide-layout='quote'] .cm-editor,
|
|
311
|
+
body.presenting #editor[data-slide-layout='quote'] .cm-scroller,
|
|
312
|
+
body.presenting #editor[data-slide-layout='quote'] .cm-content,
|
|
313
|
+
body.slides-printing:has(.cm-md-slide-quote) #editor,
|
|
314
|
+
body.slides-printing:has(.cm-md-slide-quote) .cm-editor,
|
|
315
|
+
body.slides-printing:has(.cm-md-slide-quote) .cm-scroller,
|
|
316
|
+
body.slides-printing:has(.cm-md-slide-quote) .cm-content {
|
|
317
|
+
background-color: var(--seed-accent);
|
|
318
|
+
background-image: linear-gradient(rgba(15, 27, 61, 0.08) 1px, transparent 1px),
|
|
319
|
+
linear-gradient(90deg, rgba(15, 27, 61, 0.08) 1px, transparent 1px);
|
|
320
|
+
background-size: 40px 40px;
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
/* 引文整体居中(模板 quote-box text-align center) */
|
|
324
|
+
body.presenting #editor[data-slide-layout='quote'] .cm-content,
|
|
325
|
+
body.slides-printing #editor .cm-content .cm-md-slide-quote {
|
|
326
|
+
text-align: center;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
/* 引文:换回正文族(模板 quote-text = Chakra Petch 500,非衬线非斜体)。
|
|
330
|
+
* 行式 DOM 中版式类与 blockquote 类同 div → 复合选择器 */
|
|
331
|
+
body.presenting #editor .cm-content .cm-md-slide-quote.cm-md-blockquote,
|
|
332
|
+
body.slides-printing #editor .cm-content .cm-md-slide-quote.cm-md-blockquote {
|
|
333
|
+
font-family: var(--font-body);
|
|
334
|
+
font-style: normal;
|
|
335
|
+
font-weight: 500;
|
|
336
|
+
font-size: var(--slide-quote-size);
|
|
337
|
+
line-height: 1.8;
|
|
338
|
+
color: var(--seed-panel);
|
|
339
|
+
max-width: 27em; /* quote-box 700px @1920 */
|
|
340
|
+
margin: 0 auto;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
/* quote-mark:8rem 巨引号(绝对定位 → ::before 近似,Tektur 4.92em 深蓝 0.15;
|
|
344
|
+
* 须与指令行相邻,中间勿留空行) */
|
|
345
|
+
body.presenting #editor .cm-content .cm-md-slide-directive + .cm-md-blockquote.cm-md-slide-quote::before,
|
|
346
|
+
body.slides-printing #editor .cm-content .cm-md-slide-directive + .cm-md-blockquote.cm-md-slide-quote::before {
|
|
347
|
+
font-family: var(--slide-title-font);
|
|
348
|
+
font-size: 4.92em;
|
|
349
|
+
color: var(--seed-panel);
|
|
350
|
+
opacity: 0.15;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
/* 署名行:mono 12.8px;上方复刻 quote-line(60×4 黄条 + 4px 深蓝错位阴影)。
|
|
354
|
+
* 署名行须紧邻引用块(相邻选择器,勿隔空行) */
|
|
355
|
+
body.presenting #editor .cm-content .cm-md-slide-quote.cm-md-blockquote + .cm-line,
|
|
356
|
+
body.slides-printing #editor .cm-content .cm-md-slide-quote.cm-md-blockquote + .cm-line {
|
|
357
|
+
margin-top: 2.5em;
|
|
358
|
+
font-family: var(--slide-mono);
|
|
359
|
+
font-size: 0.49em;
|
|
360
|
+
letter-spacing: 0.1em;
|
|
361
|
+
color: rgba(15, 27, 61, 0.75);
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
body.presenting #editor .cm-content .cm-md-slide-quote.cm-md-blockquote + .cm-line::before,
|
|
365
|
+
body.slides-printing #editor .cm-content .cm-md-slide-quote.cm-md-blockquote + .cm-line::before {
|
|
366
|
+
content: '';
|
|
367
|
+
display: block;
|
|
368
|
+
width: 60px;
|
|
369
|
+
height: 4px;
|
|
370
|
+
margin: 0 auto 1.4em;
|
|
371
|
+
background: var(--seed-neon-yellow);
|
|
372
|
+
box-shadow: 4px 4px 0 var(--seed-panel);
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
/* 1.6.7 matrix ← P3(cyan 换底页):磨砂白 15% 四卡网格,卡题 Tektur 深蓝。
|
|
376
|
+
* feature icon 图形与 corner-bracket 括角无挂点,未复刻;P9 定价卡同形不单列。 */
|
|
377
|
+
body.presenting:has(#editor[data-slide-layout='matrix']),
|
|
378
|
+
body.slides-printing:has(.cm-md-slide-matrix) {
|
|
379
|
+
background: var(--seed-accent);
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
body.presenting #editor[data-slide-layout='matrix'],
|
|
383
|
+
body.presenting #editor[data-slide-layout='matrix'] .cm-editor,
|
|
384
|
+
body.presenting #editor[data-slide-layout='matrix'] .cm-scroller,
|
|
385
|
+
body.presenting #editor[data-slide-layout='matrix'] .cm-content,
|
|
386
|
+
body.slides-printing:has(.cm-md-slide-matrix) #editor,
|
|
387
|
+
body.slides-printing:has(.cm-md-slide-matrix) .cm-editor,
|
|
388
|
+
body.slides-printing:has(.cm-md-slide-matrix) .cm-scroller,
|
|
389
|
+
body.slides-printing:has(.cm-md-slide-matrix) .cm-content {
|
|
390
|
+
background-color: var(--seed-accent);
|
|
391
|
+
background-image: linear-gradient(rgba(15, 27, 61, 0.08) 1px, transparent 1px),
|
|
392
|
+
linear-gradient(90deg, rgba(15, 27, 61, 0.08) 1px, transparent 1px);
|
|
393
|
+
background-size: 40px 40px;
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
/* 卡片:13.6px 卡文 ÷26 = 0.52em;四列 (100−3×2.4%)/4 ≈ 22.5% */
|
|
397
|
+
body.presenting #editor .cm-content .cm-md-slide-matrix.cm-md-li,
|
|
398
|
+
body.slides-printing #editor .cm-content .cm-md-slide-matrix.cm-md-li {
|
|
399
|
+
font-size: 0.52em;
|
|
400
|
+
width: 22.5%;
|
|
401
|
+
margin: 0 2.3% 1.5em 0;
|
|
402
|
+
padding: 2.3em 1.7em; /* 32px/24px ÷13.6 */
|
|
403
|
+
background: rgba(255, 255, 255, 0.15);
|
|
404
|
+
border: 2px solid rgba(15, 27, 61, 0.2);
|
|
405
|
+
border-radius: 0;
|
|
406
|
+
text-align: center;
|
|
407
|
+
color: var(--seed-panel);
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
body.presenting #editor .cm-content .cm-md-slide-matrix .cm-md-strong,
|
|
411
|
+
body.slides-printing #editor .cm-content .cm-md-slide-matrix .cm-md-strong {
|
|
412
|
+
font-size: 1.3em; /* 17.6px h3 ÷26÷0.52 */
|
|
413
|
+
color: var(--seed-panel);
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
/* 1.6.8 closing ← P10(dark 底默认):居中 CTA,标题青字双层反序像素阴影;
|
|
417
|
+
* 行动清单条目以 pixel-btn 芯片近似(模板 CTA 是按钮组,非清单)。 */
|
|
418
|
+
body.presenting #editor[data-slide-layout='closing'] .cm-content .cm-md-page-title,
|
|
419
|
+
body.slides-printing #editor .cm-content .cm-md-slide-closing.cm-md-page-title {
|
|
420
|
+
font-size: var(--slide-closing-title-size);
|
|
421
|
+
text-shadow: 4px 4px 0 var(--seed-panel), 8px 8px 0 var(--seed-neon-yellow);
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
body.presenting #editor[data-slide-layout='closing'] .cm-content .cm-md-page-lead,
|
|
425
|
+
body.slides-printing #editor .cm-content .cm-md-slide-closing.cm-md-page-lead {
|
|
426
|
+
font-size: 0.68em; /* 17.6px ÷26 */
|
|
427
|
+
color: rgba(255, 255, 255, 0.7);
|
|
428
|
+
max-width: 23em;
|
|
429
|
+
margin-inline: auto;
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
body.presenting #editor[data-slide-layout='closing'] .cm-content,
|
|
433
|
+
body.slides-printing #editor .cm-content .cm-md-slide-closing {
|
|
434
|
+
text-align: center;
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
body.presenting #editor .cm-content .cm-md-slide-closing.cm-md-li,
|
|
438
|
+
body.slides-printing #editor .cm-content .cm-md-slide-closing.cm-md-li {
|
|
439
|
+
width: fit-content;
|
|
440
|
+
margin: 0 auto 1.6em;
|
|
441
|
+
padding: 0.55em 1.35em;
|
|
442
|
+
background: var(--seed-accent);
|
|
443
|
+
color: var(--seed-panel);
|
|
444
|
+
font-family: var(--slide-title-font);
|
|
445
|
+
font-size: 0.62em; /* 16px btn ÷26 */
|
|
446
|
+
font-weight: 700;
|
|
447
|
+
letter-spacing: 0.08em;
|
|
448
|
+
text-transform: uppercase;
|
|
449
|
+
border-radius: 0;
|
|
450
|
+
/* pixel-btn 双色阶梯阴影(4px 深蓝右/下 + 8px 黄右/下) */
|
|
451
|
+
box-shadow: 4px 0 0 0 var(--seed-panel), 0 4px 0 0 var(--seed-panel),
|
|
452
|
+
4px 4px 0 0 var(--seed-panel), 8px 4px 0 0 var(--seed-neon-yellow),
|
|
453
|
+
4px 8px 0 0 var(--seed-neon-yellow), 8px 8px 0 0 var(--seed-neon-yellow);
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
body.presenting #editor .cm-content .cm-md-slide-closing.cm-md-li::before,
|
|
457
|
+
body.slides-printing #editor .cm-content .cm-md-slide-closing.cm-md-li::before {
|
|
458
|
+
content: none; /* 去掉上游 ▸ 前缀,芯片自足 */
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
body.presenting #editor .cm-content .cm-md-slide-closing .cm-md-strong,
|
|
462
|
+
body.slides-printing #editor .cm-content .cm-md-slide-closing .cm-md-strong {
|
|
463
|
+
color: var(--seed-panel);
|
|
464
|
+
font-size: 1em;
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
/* 1.6.9 chrome · 默认暗底页的网格壁纸 + 彩底页 chrome/ghost/表格收尾。
|
|
468
|
+
* 暗底网格:cyan 7% 线 40px;1080 = 27 格整,逐页对齐。 */
|
|
469
|
+
body.presenting #editor .cm-editor,
|
|
470
|
+
body.presenting #editor .cm-scroller,
|
|
471
|
+
body.presenting #editor .cm-content,
|
|
472
|
+
body.slides-printing #editor .cm-editor,
|
|
473
|
+
body.slides-printing #editor .cm-scroller,
|
|
474
|
+
body.slides-printing #editor .cm-content {
|
|
475
|
+
background-image: linear-gradient(rgba(94, 220, 244, 0.07) 1px, transparent 1px),
|
|
476
|
+
linear-gradient(90deg, rgba(94, 220, 244, 0.07) 1px, transparent 1px);
|
|
477
|
+
background-size: 40px 40px;
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
/* counter/导航提示 = Space Mono 青;彩底页切深蓝 */
|
|
481
|
+
body.presenting .slide-chrome,
|
|
482
|
+
body.slides-printing .slide-chrome {
|
|
483
|
+
letter-spacing: 0.15em;
|
|
484
|
+
font-size: clamp(11px, 0.67vw, 13px); /* 12.8px ÷1920 */
|
|
485
|
+
color: var(--seed-accent);
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
body.presenting .slide-foot,
|
|
489
|
+
body.slides-printing .slide-foot {
|
|
490
|
+
color: var(--seed-accent);
|
|
491
|
+
opacity: 0.5; /* nav-hint 0.5 */
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
body.presenting:has(#editor[data-slide-layout='timeline']) .slide-chrome,
|
|
495
|
+
body.presenting:has(#editor[data-slide-layout='quote']) .slide-chrome,
|
|
496
|
+
body.presenting:has(#editor[data-slide-layout='matrix']) .slide-chrome,
|
|
497
|
+
body.presenting:has(#editor[data-slide-layout='timeline']) .slide-foot,
|
|
498
|
+
body.presenting:has(#editor[data-slide-layout='quote']) .slide-foot,
|
|
499
|
+
body.presenting:has(#editor[data-slide-layout='matrix']) .slide-foot,
|
|
500
|
+
body.slides-printing:has(.cm-md-slide-timeline) .slide-chrome,
|
|
501
|
+
body.slides-printing:has(.cm-md-slide-quote) .slide-chrome,
|
|
502
|
+
body.slides-printing:has(.cm-md-slide-matrix) .slide-chrome,
|
|
503
|
+
body.slides-printing:has(.cm-md-slide-timeline) .slide-foot,
|
|
504
|
+
body.slides-printing:has(.cm-md-slide-quote) .slide-foot,
|
|
505
|
+
body.slides-printing:has(.cm-md-slide-matrix) .slide-foot {
|
|
506
|
+
color: var(--seed-panel);
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
/* 换底页幽灵页码 white 落彩底穿帮 → opacity 0(方法论 §6-②) */
|
|
510
|
+
body.presenting:has(#editor[data-slide-layout='timeline']) .slide-ghost,
|
|
511
|
+
body.presenting:has(#editor[data-slide-layout='quote']) .slide-ghost,
|
|
512
|
+
body.presenting:has(#editor[data-slide-layout='matrix']) .slide-ghost,
|
|
513
|
+
body.slides-printing:has(.cm-md-slide-timeline) .slide-ghost,
|
|
514
|
+
body.slides-printing:has(.cm-md-slide-quote) .slide-ghost,
|
|
515
|
+
body.slides-printing:has(.cm-md-slide-matrix) .slide-ghost {
|
|
516
|
+
opacity: 0;
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
/* 换底页表格 td 换页面文字色(方法论 §6-②) */
|
|
520
|
+
body.presenting #editor[data-slide-layout='timeline'] .cm-md-table-widget td,
|
|
521
|
+
body.presenting #editor[data-slide-layout='quote'] .cm-md-table-widget td,
|
|
522
|
+
body.presenting #editor[data-slide-layout='matrix'] .cm-md-table-widget td,
|
|
523
|
+
body.slides-printing:has(.cm-md-slide-timeline) #editor .cm-md-table-widget td,
|
|
524
|
+
body.slides-printing:has(.cm-md-slide-quote) #editor .cm-md-table-widget td,
|
|
525
|
+
body.slides-printing:has(.cm-md-slide-matrix) #editor .cm-md-table-widget td {
|
|
526
|
+
color: var(--seed-panel);
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
/* ═══ SECTION 2 · 编辑器 DOM 样式(CM6:每行一 div,只用 .cm-md-*) ═══ */
|
|
530
|
+
#editor .cm-editor {
|
|
531
|
+
background: var(--bg-color);
|
|
532
|
+
color: var(--text-color);
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
#editor .cm-content {
|
|
536
|
+
font-family: var(--font-body);
|
|
537
|
+
line-height: 1.7;
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
#editor .cm-content .cm-line {
|
|
541
|
+
text-indent: 2em;
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
#editor .cm-content .cm-md-atxheading1,
|
|
545
|
+
#editor .cm-content .cm-md-atxheading2,
|
|
546
|
+
#editor .cm-content .cm-md-atxheading3,
|
|
547
|
+
#editor .cm-content .cm-md-atxheading4,
|
|
548
|
+
#editor .cm-content .cm-md-atxheading5,
|
|
549
|
+
#editor .cm-content .cm-md-atxheading6,
|
|
550
|
+
#editor .cm-content .cm-md-blockquote,
|
|
551
|
+
#editor .cm-content .cm-md-codeblock,
|
|
552
|
+
#editor .cm-content .cm-md-li,
|
|
553
|
+
#editor .cm-content .cm-md-table,
|
|
554
|
+
#editor .cm-content .cm-md-hr,
|
|
555
|
+
#editor .cm-content .cm-md-mermaid,
|
|
556
|
+
#editor .cm-content .cm-md-image {
|
|
557
|
+
text-indent: 0;
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
#editor .cm-content .cm-md-atxheading1 {
|
|
561
|
+
font-size: 2.8em; /* 44.8px,与模板内容页 h2 同档 */
|
|
562
|
+
font-weight: 700;
|
|
563
|
+
letter-spacing: 0;
|
|
564
|
+
line-height: 1.15;
|
|
565
|
+
color: var(--seed-accent);
|
|
566
|
+
border-bottom: none;
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
#editor .cm-content .cm-md-atxheading2 {
|
|
570
|
+
font-size: 2.4em;
|
|
571
|
+
font-weight: 700;
|
|
572
|
+
letter-spacing: 0;
|
|
573
|
+
line-height: 1.2;
|
|
574
|
+
color: var(--seed-accent);
|
|
575
|
+
border-bottom: none;
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
#editor .cm-content .cm-md-atxheading3 {
|
|
579
|
+
font-size: 1.5em;
|
|
580
|
+
font-weight: 700;
|
|
581
|
+
letter-spacing: 0;
|
|
582
|
+
color: var(--seed-accent);
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
#editor .cm-content .cm-md-atxheading4 {
|
|
586
|
+
font-size: 1.25em;
|
|
587
|
+
font-weight: 700;
|
|
588
|
+
color: var(--text-color);
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
#editor .cm-content .cm-md-atxheading5 {
|
|
592
|
+
font-size: 1.1em;
|
|
593
|
+
font-weight: 700;
|
|
594
|
+
color: var(--text-color);
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
/* h6 = pixel-label 眉题:mono 黄、宽字距、全大写 */
|
|
598
|
+
#editor .cm-content .cm-md-atxheading6 {
|
|
599
|
+
font-family: var(--font-mono);
|
|
600
|
+
font-size: 0.9em;
|
|
601
|
+
font-weight: 700;
|
|
602
|
+
letter-spacing: 0.2em;
|
|
603
|
+
text-transform: uppercase;
|
|
604
|
+
color: var(--seed-neon-yellow);
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
#editor .cm-content .cm-md-strong {
|
|
608
|
+
color: var(--text-color); /* CR-04:行题用正文色,不用强调色 */
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
#editor .cm-content .cm-md-link,
|
|
612
|
+
#editor .cm-content .cm-md-url {
|
|
613
|
+
color: var(--link-color);
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
#editor .cm-content .cm-md-listmark {
|
|
617
|
+
color: var(--seed-accent);
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
#editor .cm-content .cm-md-inlinecode {
|
|
621
|
+
font-family: var(--font-mono);
|
|
622
|
+
font-size: 0.9em;
|
|
623
|
+
background: var(--code-bg);
|
|
624
|
+
border-radius: 0;
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
#editor .cm-content .cm-md-codeblock {
|
|
628
|
+
font-family: var(--font-mono);
|
|
629
|
+
font-size: 0.9em;
|
|
630
|
+
padding-left: 16px;
|
|
631
|
+
padding-right: 16px; /* 只留横向 padding,纵向留白走 margin */
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
#editor .cm-content .cm-md-blockquote {
|
|
635
|
+
color: var(--text-secondary);
|
|
636
|
+
border-left: 3px solid var(--blockquote-border);
|
|
637
|
+
padding-left: 16px;
|
|
638
|
+
padding-right: 16px;
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
#editor .cm-content .cm-md-table-widget table {
|
|
642
|
+
font-size: 0.95em;
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
#editor .cm-content .cm-md-table-widget th {
|
|
646
|
+
background: var(--table-header-bg);
|
|
647
|
+
color: var(--seed-accent); /* 表头 = label-pill 反白(navy 底 + neon 字) */
|
|
648
|
+
font-family: var(--font-mono);
|
|
649
|
+
font-weight: 700;
|
|
650
|
+
letter-spacing: 0.12em;
|
|
651
|
+
text-transform: uppercase;
|
|
652
|
+
border-bottom: 2px solid var(--seed-accent);
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
#editor .cm-content .cm-md-table-widget td {
|
|
656
|
+
border-bottom: 1px solid var(--seed-border);
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
#editor .cm-content .cm-md-hr {
|
|
660
|
+
border-top-color: var(--seed-border);
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
/* ═══ SECTION 3 · 导出 HTML(.colamd-document 语义标签镜像) ═══ */
|
|
664
|
+
.colamd-document {
|
|
665
|
+
background: var(--bg-color);
|
|
666
|
+
color: var(--text-color);
|
|
667
|
+
font-family: var(--font-body);
|
|
668
|
+
line-height: 1.7;
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
.colamd-document p {
|
|
672
|
+
text-indent: 2em;
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
.colamd-document h1,
|
|
676
|
+
.colamd-document h2,
|
|
677
|
+
.colamd-document h3,
|
|
678
|
+
.colamd-document h4,
|
|
679
|
+
.colamd-document h5,
|
|
680
|
+
.colamd-document h6,
|
|
681
|
+
.colamd-document blockquote,
|
|
682
|
+
.colamd-document pre,
|
|
683
|
+
.colamd-document li,
|
|
684
|
+
.colamd-document table,
|
|
685
|
+
.colamd-document hr,
|
|
686
|
+
.colamd-document figure {
|
|
687
|
+
text-indent: 0;
|
|
688
|
+
}
|
|
689
|
+
|
|
690
|
+
.colamd-document h1 {
|
|
691
|
+
font-size: 2.8em;
|
|
692
|
+
font-weight: 700;
|
|
693
|
+
letter-spacing: 0;
|
|
694
|
+
line-height: 1.15;
|
|
695
|
+
color: var(--seed-accent);
|
|
696
|
+
border-bottom: none;
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
.colamd-document h2 {
|
|
700
|
+
font-size: 2.4em;
|
|
701
|
+
font-weight: 700;
|
|
702
|
+
letter-spacing: 0;
|
|
703
|
+
line-height: 1.2;
|
|
704
|
+
color: var(--seed-accent);
|
|
705
|
+
border-bottom: none;
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
.colamd-document h3 {
|
|
709
|
+
font-size: 1.5em;
|
|
710
|
+
font-weight: 700;
|
|
711
|
+
letter-spacing: 0;
|
|
712
|
+
color: var(--seed-accent);
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
.colamd-document h4 {
|
|
716
|
+
font-size: 1.25em;
|
|
717
|
+
font-weight: 700;
|
|
718
|
+
color: var(--text-color);
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
.colamd-document h5 {
|
|
722
|
+
font-size: 1.1em;
|
|
723
|
+
font-weight: 700;
|
|
724
|
+
color: var(--text-color);
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
.colamd-document h6 {
|
|
728
|
+
font-family: var(--font-mono);
|
|
729
|
+
font-size: 0.9em;
|
|
730
|
+
font-weight: 700;
|
|
731
|
+
letter-spacing: 0.2em;
|
|
732
|
+
text-transform: uppercase;
|
|
733
|
+
color: var(--seed-neon-yellow);
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
.colamd-document strong {
|
|
737
|
+
color: var(--text-color);
|
|
738
|
+
}
|
|
739
|
+
|
|
740
|
+
.colamd-document a {
|
|
741
|
+
color: var(--link-color);
|
|
742
|
+
}
|
|
743
|
+
|
|
744
|
+
.colamd-document ul li::marker,
|
|
745
|
+
.colamd-document ol li::marker {
|
|
746
|
+
color: var(--seed-accent);
|
|
747
|
+
}
|
|
748
|
+
|
|
749
|
+
.colamd-document code {
|
|
750
|
+
font-family: var(--font-mono);
|
|
751
|
+
font-size: 0.9em;
|
|
752
|
+
background: var(--code-bg);
|
|
753
|
+
border-radius: 0;
|
|
754
|
+
}
|
|
755
|
+
|
|
756
|
+
.colamd-document pre {
|
|
757
|
+
font-family: var(--font-mono);
|
|
758
|
+
font-size: 0.9em;
|
|
759
|
+
background: var(--code-block-bg);
|
|
760
|
+
color: var(--code-block-text);
|
|
761
|
+
border-radius: 0;
|
|
762
|
+
padding-left: 16px;
|
|
763
|
+
padding-right: 16px;
|
|
764
|
+
}
|
|
765
|
+
|
|
766
|
+
.colamd-document pre code {
|
|
767
|
+
background: none;
|
|
768
|
+
}
|
|
769
|
+
|
|
770
|
+
.colamd-document blockquote {
|
|
771
|
+
color: var(--text-secondary);
|
|
772
|
+
border-left: 3px solid var(--blockquote-border);
|
|
773
|
+
background: var(--blockquote-bg);
|
|
774
|
+
padding-left: 16px;
|
|
775
|
+
padding-right: 16px;
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
.colamd-document mark {
|
|
779
|
+
background: var(--highlight-bg);
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
.colamd-document table th {
|
|
783
|
+
background: var(--table-header-bg);
|
|
784
|
+
color: var(--seed-accent);
|
|
785
|
+
font-family: var(--font-mono);
|
|
786
|
+
font-weight: 700;
|
|
787
|
+
letter-spacing: 0.12em;
|
|
788
|
+
text-transform: uppercase;
|
|
789
|
+
border-bottom: 2px solid var(--seed-accent);
|
|
790
|
+
}
|
|
791
|
+
|
|
792
|
+
.colamd-document table td {
|
|
793
|
+
border-bottom: 1px solid var(--seed-border);
|
|
794
|
+
}
|
|
795
|
+
|
|
796
|
+
.colamd-document hr {
|
|
797
|
+
border: none;
|
|
798
|
+
border-top: 1px solid var(--seed-border);
|
|
799
|
+
}
|
|
800
|
+
|
|
801
|
+
.colamd-document svg.pele {
|
|
802
|
+
background: var(--pele-bg);
|
|
803
|
+
border-radius: var(--pele-radius);
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
/* ═══ SECTION 4 · 打印 ═══ */
|
|
807
|
+
@media print {
|
|
808
|
+
html,
|
|
809
|
+
body {
|
|
810
|
+
background: var(--bg-color);
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
.colamd-document {
|
|
814
|
+
print-color-adjust: exact;
|
|
815
|
+
-webkit-print-color-adjust: exact;
|
|
816
|
+
}
|
|
817
|
+
}
|