diff --git a/web/navi.css b/web/navi.css index de1498c..a3d4910 100644 --- a/web/navi.css +++ b/web/navi.css @@ -2227,3 +2227,28 @@ html[data-theme] body:has(.minimal-home) .navi-footer-host .navi-quote { (内容需约 470px)→ 折成 3~4 行、总高约 63px(= scrollHeight 65), 第 4 行的每日一言被排到 y=743(视口 720 之外)因而不可见。 因此修复要点是 flex-wrap:nowrap(v70 已有)+ 宽度 max-content(本版补上)。 */ + +/* ═══ v72:页脚左右分栏 —— 备案号靠左并列,每日一言靠右 ═══ + 结构固定(.navi-footer 内:备案 A、sep、公安备案 A、sep、.navi-quote), + 不改 DOM,用 margin-left:auto 把一言推到右端,其余靠左排列。 + 与 v71 同特异性选择器,确保压过中间那些重复定义。 */ +html[data-theme] body:has(.minimal-home) .navi-footer-host > .navi-footer { + width: 100% !important; + max-width: calc(100vw - 32px) !important; + justify-content: flex-start !important; + padding: 0 !important; + gap: 6px !important; +} +html[data-theme] body:has(.minimal-home) .navi-footer-host > .navi-footer > a:first-child { + margin-left: 0 !important; +} +html[data-theme] body:has(.minimal-home) .navi-footer-host > .navi-footer > .navi-quote { + margin-left: auto !important; + padding-left: 10px !important; + text-align: right !important; + max-width: 46vw !important; +} +/* 一言与备案之间那条多余的分隔符在右栏布局下不再需要视觉分隔 */ +html[data-theme] body:has(.minimal-home) .navi-footer-host > .navi-footer > .navi-footer-sep:last-of-type { + display: none !important; +}