diff --git a/konova/static/css/konova.css b/konova/static/css/konova.css index 0c87f870..5f6c7bd8 100644 --- a/konova/static/css/konova.css +++ b/konova/static/css/konova.css @@ -3,18 +3,40 @@ Declare some basic colours */ :root{ --rlp-red: #871d33; - --rlp-grey-dark: #8e8e8e; - --rlp-grey-light: #c6c6c6; + --rlp-gray-dark: #8e8e8e; + --rlp-gray-light: #c6c6c6; +} + +html { + position: relative; + min-height: 100%; } body{ font-family: Arial; letter-spacing: 0.2px; + margin-bottom: 40px; /* Margin bottom by footer height */ } +.footer { + position: absolute; + bottom: 0; + width: 100%; + height: 40px; /* Set the fixed height of the footer here */ + line-height: 40px; /* Vertically center the text there */ + background-color: #f5f5f5; + border-top: 1px solid var(--rlp-gray-light); + color: var(--rlp-gray-dark); +} + +.footer-link a{ + color: var(--rlp-gray-dark); + text-decoration: none; +} .nav{ background-color: var(--rlp-red); + height: 50px; } .nav-icon{ color: white; @@ -30,9 +52,16 @@ body{ } .menu-elem:hover{ - background-color: var(--rlp-grey-light); + /* + background-color: var(--rlp-gray-light); + */ } .nav-btn{ color: white; + padding: 0.5rem; + margin: 0 0.5rem 0 0; +} +.nav-btn:hover{ + } \ No newline at end of file diff --git a/konova/sub_settings/context_settings.py b/konova/sub_settings/context_settings.py index 7bf9f916..093bf4c3 100644 --- a/konova/sub_settings/context_settings.py +++ b/konova/sub_settings/context_settings.py @@ -6,6 +6,6 @@ Created on: 16.11.20 """ -BASE_TITLE = "KSP" +BASE_TITLE = "KSP - Kompensationsverzeichnis Service Portal" BASE_FRONTEND_TITLE = "Kompensationsverzeichnis Service Portal" WIKI_URL = "https://dienste.naturschutz.rlp.de/doku/doku.php?id=ksp:start" diff --git a/templates/base.html b/templates/base.html index 471fba83..8eadff81 100644 --- a/templates/base.html +++ b/templates/base.html @@ -22,13 +22,9 @@ - - + {% block footer %} + {% include 'footer.html' %} + {% endblock %} diff --git a/templates/footer.html b/templates/footer.html new file mode 100644 index 00000000..1c48079a --- /dev/null +++ b/templates/footer.html @@ -0,0 +1,17 @@ +{% load i18n fontawesome_5 %} + \ No newline at end of file diff --git a/templates/navbar.html b/templates/navbar.html index 5a7ee56f..f26fc3fd 100644 --- a/templates/navbar.html +++ b/templates/navbar.html @@ -3,47 +3,46 @@ -
- - - - - - - - - - - - -