From 47d889f5ba4003217676bdfcd8888d9815685e7e Mon Sep 17 00:00:00 2001 From: DigiJ Date: Mon, 2 Mar 2026 22:12:06 -0800 Subject: [PATCH] Add inline critical CSS to prevent white flash on page load Inlines dark theme colors, sidebar layout, and flex container styles directly in so they apply immediately. Prevents FOUC when the external stylesheet is delayed by self-signed cert negotiation or slow network. Co-Authored-By: Claude Opus 4.6 --- web/templates/base.html | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/web/templates/base.html b/web/templates/base.html index 47fc59d..ba15fab 100644 --- a/web/templates/base.html +++ b/web/templates/base.html @@ -4,6 +4,17 @@ {% block title %}AUTARCH{% endblock %} + + {% block extra_head %}{% endblock %}