v0.10.31: video widget 画幅档位(aspect_ratio 219=21:9)+ slim 白名单补 key + Elementor kit 全局色/排版变量补全(a:hover=secondary #FFA11B、4d5c430=#fff 白字修正)

This commit is contained in:
bigcode
2026-11-03 23:32:26 +08:00
parent 66532b1569
commit c1e82d4718
5 changed files with 44 additions and 6 deletions
+23 -3
View File
@@ -119,9 +119,28 @@
/* # 成员变量 兼容变量:数据库 HTML 兼容样式与少量内联 style 仍引用旧变量名 **/
:root {
--brand: #ed6c00;
/* Elementor 全局色(页面生成 CSS 引用:page_css 的 var(--e-global-color-*)) */
/* Elementor 全局色(kit-15 post-15.css 取证 2026-11-03;page_css 的 var(--e-global-color-*) 引用) */
--e-global-color-primary: #ed6c00;
--e-global-color-4d5c430: #1c2b3a;
--e-global-color-secondary: #ffa11b;
--e-global-color-text: #000000;
--e-global-color-accent: #474dff;
--e-global-color-4d5c430: #ffffff;
--e-global-color-e4e3ba3: #4a75ff;
--e-global-color-282ef76: #5c5e66;
--e-global-color-6fba50b: #444444;
--e-global-color-78696cf: #00c1bc;
--e-global-color-a6f03ac: #e9e9e9;
--e-global-color-ee1917e: #e0e5f9;
--e-global-color-26331af: #f4f5f8;
/* Elementor 全局排版(kit-15):page_css 的 font-family/weight 引用 */
--e-global-typography-primary-font-family: "Roboto";
--e-global-typography-primary-font-weight: 600;
--e-global-typography-secondary-font-family: "Roboto";
--e-global-typography-secondary-font-weight: 400;
--e-global-typography-text-font-family: "Roboto";
--e-global-typography-text-font-weight: 400;
--e-global-typography-accent-font-family: "Roboto";
--e-global-typography-accent-font-weight: 500;
--brand-dark: #c85600;
--ink: #1c2b3a;
--muted: #5f7183;
@@ -144,7 +163,8 @@
}
img { max-width: 100%; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
/* 原站 kit-15(post-15.css):a:hover = --e-global-color-secondary #FFA11B */
a:hover { color: var(--e-global-color-secondary, #ffa11b); }
}
/* # 函数 站点容器(1200px 居中 + 两侧 16px) **/