feat(v1.2.7): 全面校准文档并精简三个可选 API 配置项文案

- 文档对齐 1.2.7:feed/RSS 聚合改由官方链接管理插件订阅承担、Halo 要求统一 >=2.27.0、补齐设置分组文档、清理与代码不符的描述,并修复正文引用块留白
- 三个可选 API 设置项 help 只保留功能说明,隐私披露统一由 README「外部资源与隐私」与文档站承载;字段恢复按开关条件显示,修正配置块缩进
- audit:external 改为防回潮检查:字段存在、help 不得出现披露文案、README 必须保留隐私披露章节
This commit is contained in:
nxxy335 committed 2026-11-11 22:34:32 +08:00
1 parent c92429d139
commit 5c7c6325b1
34 files changed
+500 -210

No files matched your search

+28 -1
View File
@@ -120,8 +120,35 @@
border: 1px solid var(--rule);
}
/* ---------- 引用块 ----------
全局 blockquote 的 padding 与正文 p 的 margin-bottom 会在块内叠加,
文字下方因此出现一整条空白。这里把引用块内外间距收敛为单一节奏:
块内子元素不再各自产生外边距,多段之间只保留一个较小的段间距。 */
blockquote {
margin-block: 2em;
margin-block: 1.25em;
padding-block: 0.7em;
padding-inline: 1.25em;
/* :is() 把特异性提到 0,1,2,确保移动端 .wi-post__body p 规则不会让空白回归 */
> :is(p, ul, ol, pre, figure, table, h1, h2, h3, h4, h5, h6) {
margin-block: 0;
}
/* 与上面的归零规则保持同等特异性,靠顺序生效,避免多段引用挤在一起 */
> :is(p, ul, ol, pre, figure, table, h1, h2, h3, h4, h5, h6) + * {
margin-block-start: 0.55em;
}
/* 编辑器常在引用块末尾留下空段落,避免再撑出一段空白 */
> p:empty {
display: none;
}
/* 仅含一个 <br> 的空段落单独成规则:旧浏览器不支持 :has() 时
只会丢弃这一条,不影响上面 p:empty 的兜底 */
> p:has(> br:only-child) {
display: none;
}
}
:is(ul, ol) {