From 3c8c1443a18b2e86719c5c76b60705140c847f21 Mon Sep 17 00:00:00 2001 From: seabbs-bot Date: Thu, 13 Aug 2026 12:06:35 +0100 Subject: [PATCH] fix: restore navbar/footer styling broken by the shared-chrome partials MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR #26 replaced the config-driven navbar/footer with static HTML partials injected via include-before-body/include-after-body, but the hand-rolled markup diverged from what Quarto's own navbar renderer produced, and the injection point turned out to sit inside
rather than at the body root: - navbar forced navbar-dark bg-dark, giving a dark bar even in light mode; theme-light.scss/theme-dark.scss already drive the navbar colours via $navbar-bg/$navbar-fg, so drop the hardcoded background. - the epinowcast forum link used bi-discord instead of bi-discourse, in both the navbar and the footer. - the navbar had no dark-mode toggle, so Quarto's fallback JS floated an unstyled toggle button in the top-right corner of the page. - website.search had no location/type, so Quarto defaulted to a sidebar textbox — rendered as a permanently-open input jammed into the navbar instead of the icon-triggered overlay a navbar location gets. - the footer used a generic Bootstrap row/col grid instead of Quarto's .nav-footer classes, losing the muted link colour and hairline border, and causing the per-page repo-actions injection (Edit this page/Report an issue) to append as a second, differently styled row instead of merging into the existing one. - header#quarto-header.fixed-top (to restore headroom hide-on-scroll) was tried and reverted: include-before-body content lands inside
, and
has its own CSS transform, which becomes the containing block for position:fixed descendants — that pinned the bar partway down the page and overlapped the title. position:sticky needs no such containing block and was already the right choice. Verified by rendering before/after and comparing screenshots. --- _includes/footer.html | 54 +++++++++++++++++++++++++------------------ _includes/navbar.html | 44 +++++++++++++++++++++++++++-------- _quarto.yml | 25 ++++++++++++-------- 3 files changed, 83 insertions(+), 40 deletions(-) diff --git a/_includes/footer.html b/_includes/footer.html index cdfc50a..a3581c2 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -1,26 +1,36 @@ -