From 748934e1162d632822e82cb5fb8653e8a298c519 Mon Sep 17 00:00:00 2001 From: TheAppleFreak Date: Thu, 30 Jul 2026 10:56:52 -0400 Subject: [PATCH] Implement sticky footer Add styles for sticky footer layout --- httpdocs/common.css | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/httpdocs/common.css b/httpdocs/common.css index 66a9835..3de59fd 100644 --- a/httpdocs/common.css +++ b/httpdocs/common.css @@ -319,3 +319,21 @@ a:hover { height: 0; } +/* Sticky footer for when the viewport is taller than the content */ +.page-inner { + display: flex; + flex-direction: column; + min-height: 100vh; +} + +#main-content { + flex-grow: 1; +} + +.site-bar { + flex-shrink: 0; +} + +.site-footer { + flex-shrink: 0; +}