diff --git a/web/navi.css b/web/navi.css index e318460..b6a010a 100644 --- a/web/navi.css +++ b/web/navi.css @@ -2429,3 +2429,34 @@ html[data-theme] body:not(:has(.minimal-home)) footer > .navi-footer > a:nth-of- html[data-theme] body .navi-footer > .navi-quote:nth-last-of-type(2) { grid-column: 2 !important; grid-row: 1 !important; justify-self: end !important; } html[data-theme] body .navi-footer > .navi-quote:last-of-type { grid-column: 2 !important; grid-row: 2 !important; justify-self: end !important; } html[data-theme] .navi-footer { grid-template-rows: auto auto !important; grid-auto-rows: 0 !important; } + +/* ═══ v81:页脚回归文档流(用户:应在页面底部,不是悬浮于底部)═══ + 实测 v80:三视图的 .navi-footer-host / .navi-footer 均为 position:fixed + z-index:3, + 属于"永远贴在视口上、盖在内容之上"的悬浮层;/workspace 还因此底部出血 8px。 + 改为文档流底部内容: + - position: static(回到正常流)→ 内容自然排列,滚动到页面最底才可见; + - 不再需要为它预留固定高度(去掉 margin-bottom 预留); + - pointer-events 恢复 auto(不再是浮层,无需穿透)。 */ +html[data-theme] body:has(.minimal-home) .navi-footer-host, +html[data-theme] body:not(:has(.minimal-home)) .navi-footer-host, +html[data-theme] .navi-footer-host { + position: static !important; + left: auto !important; right: auto !important; bottom: auto !important; + z-index: auto !important; + margin: 0 !important; padding: 0 !important; + pointer-events: auto !important; + width: 100% !important; + height: auto !important; max-height: none !important; + background: transparent !important; border: 0 !important; box-shadow: none !important; + backdrop-filter: none !important; -webkit-backdrop-filter: none !important; + overflow: visible !important; +} +html[data-theme] body:not(:has(.minimal-home)) footer > .navi-footer, +html[data-theme] .navi-footer { + position: static !important; + left: auto !important; right: auto !important; bottom: auto !important; + z-index: auto !important; +} +/* 页脚不再是浮层 → 取消为其预留的底部空间 */ +html[data-theme] .minimal-home > .item-group-container { margin-bottom: 0 !important; } +html[data-theme] body:has(.minimal-home) .minimal-section-inner { padding-bottom: 8px !important; }