diff --git a/web/navi.css b/web/navi.css index fea9e7f..6404b2b 100644 --- a/web/navi.css +++ b/web/navi.css @@ -2332,3 +2332,32 @@ html[data-theme] body:not(:has(.minimal-home)) footer > .navi-footer > .navi-quo /* workspace:host 固定贴底不再出血 */ html[data-theme] .navi-footer-host { bottom: 0 !important; } html[data-theme] .navi-footer-host > .navi-footer { max-height: 20px !important; } + +/* ═══ v78:页脚文字加深(用户反馈"文字颜色过浅")═══ + 实测前景色:备案号/分隔符 #94a3b8(亮度 160)、每日一言 #b6c2d2(亮度 187), + 11px 小字 + 透明背景(叠在浅色页面底图上)→ 对比度不足,观感发虚。 + 加深为中性 slate:#475569(亮度 84,对白底约 8.9:1)与 #64748b(亮度 105)。 + 深色主题相应使用亮色系 #cbd5e1 / #94a3b8,保持可读。 */ +html[data-theme] .navi-footer, +html[data-theme] .navi-footer a, +html[data-theme] .navi-footer .navi-footer-sep, +html[data-theme] body .navi-footer, +html[data-theme] body .navi-footer a, +html[data-theme] body .navi-footer .navi-footer-sep, +html[data-theme] body:has(.minimal-home) .navi-footer-host > .navi-footer, +html[data-theme] body:has(.minimal-home) .navi-footer-host > .navi-footer > a, +html[data-theme] body:not(:has(.minimal-home)) footer > .navi-footer { + color: #475569 !important; +} +html[data-theme] .navi-footer .navi-quote, +html[data-theme] body .navi-footer .navi-quote, +html[data-theme] body:has(.minimal-home) .navi-footer-host .navi-quote { + color: #64748b !important; + font-style: normal !important; /* 斜体在小字号下进一步降低可读性 */ +} +html[data-theme] .navi-footer a:hover { color: #1e293b !important; text-decoration: underline !important; } +/* 深色主题:保持亮色可读 */ +html.navi-dark[data-theme] .navi-footer, +html.navi-dark[data-theme] .navi-footer a, +html.navi-dark[data-theme] .navi-footer .navi-footer-sep { color: #cbd5e1 !important; } +html.navi-dark[data-theme] .navi-footer .navi-quote { color: #94a3b8 !important; }