From 278916d91ed192d74f9f2e4b8eb4f6975858a8ea Mon Sep 17 00:00:00 2001 From: "J. M. F. Tsang" Date: Sat, 7 Sep 2024 13:56:45 -0700 Subject: [PATCH] Try to fix bottom navbar positioning [#7] (#45) --- static/styles.css | 5 +++- templates/base.html | 17 +++++++++--- templates/footer.html | 60 +++++++++++++++++++++---------------------- 3 files changed, 46 insertions(+), 36 deletions(-) diff --git a/static/styles.css b/static/styles.css index bf70995..22ca9ee 100644 --- a/static/styles.css +++ b/static/styles.css @@ -20,10 +20,13 @@ h2 { } #footer { - height: 3em; background-color: hsla(38, 33%, 20%, 0.5); } +#bottomBar,div.nav-item { + text-align: center; +} + ul#flashes { } diff --git a/templates/base.html b/templates/base.html index cf22336..c1bddbc 100644 --- a/templates/base.html +++ b/templates/base.html @@ -34,12 +34,17 @@ +
+
- {% include 'navbar.html' %} +
+ {% include 'navbar.html' %} +
-
+
+
{% if get_flashed_messages() %}
    {% for category, msg in get_flashed_messages(with_categories=True) %} @@ -49,7 +54,7 @@ {% endif %}
-
+
{% block content %} @@ -62,11 +67,15 @@
+
- {% include 'footer.html' %} +
+ {% include 'footer.html' %} +
+