From bf4a93f49698713e6bb609462dcd4e6c95938c04 Mon Sep 17 00:00:00 2001 From: Sander Roosendaal Date: Sat, 22 Sep 2018 16:33:17 +0200 Subject: [PATCH] added footer --- rowers/templates/menu_workouts.html | 30 +++++++---- static/css/styles2.css | 33 +++++++++++- templates/newbase.html | 82 +++++++++++++++++++++++++++-- 3 files changed, 130 insertions(+), 15 deletions(-) diff --git a/rowers/templates/menu_workouts.html b/rowers/templates/menu_workouts.html index c414ff5a..dff2a0a3 100644 --- a/rowers/templates/menu_workouts.html +++ b/rowers/templates/menu_workouts.html @@ -1,19 +1,27 @@ diff --git a/static/css/styles2.css b/static/css/styles2.css index b60a3658..aab4ae5c 100644 --- a/static/css/styles2.css +++ b/static/css/styles2.css @@ -23,7 +23,32 @@ margin: 0; display: flex; justify-content: space-between; - padding: 0.2em 0.2em 0.2em 0.2em; + } + + footer ul { + list-style: none; + display: flex; + justify-content: flex-start; + flex-direction: row; + } + + footer ul ul { + flex-direction: column; + padding-top: 0; + padding-bottom: 0; + padding-left: 0; + padding-right: 2em; + } + + footer li { + margin: 0; + padding-bottom: 0.4em; + } + + footer h1 { + font-weight: bold; + text-align: left; + font-size: 1.0em; } header ul { @@ -219,6 +244,7 @@ .content { grid-area: content; + padding: 1.2em 1.2em 1.2em 1.2em; } .main-nav { grid-area: nav; @@ -232,9 +258,14 @@ .ad { grid-area: ad; + background: #35383d; + color: #dddddd; + padding: 1em 1em 1em 1em; } .main-footer { grid-area: footer; + background: #ededed; + padding: 1.2em 1.2em 1.2em 1.2em; } .wrapper { diff --git a/templates/newbase.html b/templates/newbase.html index 0b0e2e94..bdf55e77 100644 --- a/templates/newbase.html +++ b/templates/newbase.html @@ -203,7 +203,7 @@ - +
{% block main %} @@ -219,8 +219,84 @@
{% block ad %} Advertising - {% endblock %}
-
Footer
+ {% endblock %} + + + {% analytical_body_bottom %} {% block body_bottom %}{% endblock %}