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; +}