From 402cdc3533980287468a78f367fcb4c66d9f406d Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Thu, 26 Oct 2017 13:51:00 +0300 Subject: [PATCH] Fix styles that accidentally got into production :D --- static/css/footer.css | 6 +-- templates/footer.html | 63 +++++++++++++---------------- webapp/static/css/kaehmy_nav.css | 2 +- webapp/static/css/sik_header.css | 4 ++ webapp/templates/kaehmy_header.html | 4 +- 5 files changed, 39 insertions(+), 40 deletions(-) diff --git a/static/css/footer.css b/static/css/footer.css index 3432e11..bf63819 100644 --- a/static/css/footer.css +++ b/static/css/footer.css @@ -3,11 +3,11 @@ } footer { - position: absolute; + /* position: absolute; */ bottom: 0; width: 100%; height: 60px; /* Set the fixed height of the footer here */ - line-height: 60px; /* Vertically center the text there */ + /* line-height: 60px; /* Vertically center the text there */ */ margin-top: 2rem; margin-bottom: 1rem; } @@ -30,5 +30,5 @@ footer .container .col .nav .nav-item { } footer .lang-form { - max-width: 10rem; + margin: 1rem auto 0; } diff --git a/templates/footer.html b/templates/footer.html index d4eb5b2..cb749a1 100644 --- a/templates/footer.html +++ b/templates/footer.html @@ -3,40 +3,35 @@ {% load staticfiles %} - diff --git a/webapp/static/css/kaehmy_nav.css b/webapp/static/css/kaehmy_nav.css index 3db3e87..8b629d1 100644 --- a/webapp/static/css/kaehmy_nav.css +++ b/webapp/static/css/kaehmy_nav.css @@ -8,4 +8,4 @@ .navbar-light .navbar-nav .nav-link { color: #102a40; -} \ No newline at end of file +} diff --git a/webapp/static/css/sik_header.css b/webapp/static/css/sik_header.css index 1424c20..7a98d73 100644 --- a/webapp/static/css/sik_header.css +++ b/webapp/static/css/sik_header.css @@ -31,3 +31,7 @@ margin-bottom: 331px; } } + +.kaehmy-banner-image { + width: 100%; +} \ No newline at end of file diff --git a/webapp/templates/kaehmy_header.html b/webapp/templates/kaehmy_header.html index 79e3f50..f536c5a 100644 --- a/webapp/templates/kaehmy_header.html +++ b/webapp/templates/kaehmy_header.html @@ -1,8 +1,8 @@ {% load i18n %} -
+