From 461908e0319f8fa43b93fbc500babea3ef44722f Mon Sep 17 00:00:00 2001 From: r Date: Fri, 8 Sep 2023 17:15:44 +0000 Subject: Load CSS on the root page This applies the background color to the root page and avoids flicker during the initial page load. --- static/style.css | 2 +- templates/root.tmpl | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/static/style.css b/static/style.css index ef27f1f..21d8bc0 100644 --- a/static/style.css +++ b/static/style.css @@ -1,4 +1,4 @@ -body { +frame, body { background-color: #d2d2d2; } diff --git a/templates/root.tmpl b/templates/root.tmpl index b1305f5..0fde835 100644 --- a/templates/root.tmpl +++ b/templates/root.tmpl @@ -4,14 +4,15 @@ + {{.Title}} - - + + - + {{end}} -- cgit v1.2.3