From 383b331319bd1b8a2faf81bd208eef5b97ec8e5a Mon Sep 17 00:00:00 2001 From: IkiWiki Date: Tue, 17 Sep 2024 13:35:34 -0400 Subject: [PATCH] templates/page.tmpl: fix sticky footer --- base/css/bootstrap.local.css | 23 ----------------------- templates/page.tmpl | 12 ++++++++---- 2 files changed, 8 insertions(+), 27 deletions(-) diff --git a/base/css/bootstrap.local.css b/base/css/bootstrap.local.css index 9bd338b..36a3e78 100644 --- a/base/css/bootstrap.local.css +++ b/base/css/bootstrap.local.css @@ -9,24 +9,6 @@ a { } -/* Sticky footer styles --------------------------------------------------- */ -html { - position: relative; - min-height: 100%; -} -body { - /* Margin bottom by footer height */ - margin-bottom: 60px; -} -.footer { - position: absolute; - bottom: 0; - width: 100%; - background-color: #f5f5f5; -} - - /* Custom page CSS -------------------------------------------------- */ /* Not required for template or sticky footer method. */ @@ -39,11 +21,6 @@ body > .container { font-size: 14px; } -.footer > .container { - padding-right: 15px; - padding-left: 15px; -} - textarea { width: 100%; } diff --git a/templates/page.tmpl b/templates/page.tmpl index 79d74cd..704e35f 100644 --- a/templates/page.tmpl +++ b/templates/page.tmpl @@ -1,5 +1,5 @@ - + @@ -60,9 +60,10 @@ - + -