From 2979a109c2789bb9b70f5c74500e099461c5a0d1 Mon Sep 17 00:00:00 2001 From: Skylar Ittner Date: Sat, 5 May 2018 00:31:24 -0600 Subject: [PATCH] Add real footer to Bootstrap theme --- public/themes/bootstrap/assets/main.css | 22 +++++++++++ public/themes/bootstrap/inc/footer.inc.php | 44 ++++++++++++++++++++-- public/themes/bootstrap/inc/header.inc.php | 1 + 3 files changed, 64 insertions(+), 3 deletions(-) create mode 100644 public/themes/bootstrap/assets/main.css diff --git a/public/themes/bootstrap/assets/main.css b/public/themes/bootstrap/assets/main.css new file mode 100644 index 0000000..9cc49c0 --- /dev/null +++ b/public/themes/bootstrap/assets/main.css @@ -0,0 +1,22 @@ +/* +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. +*/ + +html, body { + height: 100%; +} + +body { + display: flex; + flex-direction: column; +} + +main { + flex: 1 0 auto; +} + +footer { + flex-shrink: 0; +} \ No newline at end of file diff --git a/public/themes/bootstrap/inc/footer.inc.php b/public/themes/bootstrap/inc/footer.inc.php index f9994bc..9775d1c 100644 --- a/public/themes/bootstrap/inc/footer.inc.php +++ b/public/themes/bootstrap/inc/footer.inc.php @@ -1,12 +1,50 @@ + + + - \ No newline at end of file + + \ No newline at end of file diff --git a/public/themes/bootstrap/inc/header.inc.php b/public/themes/bootstrap/inc/header.inc.php index f25d8d5..434fbd0 100644 --- a/public/themes/bootstrap/inc/header.inc.php +++ b/public/themes/bootstrap/inc/header.inc.php @@ -10,6 +10,7 @@ <?php get_site_name(); ?> +