diff --git a/static/css/footer.css b/static/css/footer.css index 2ebad99..3432e11 100644 --- a/static/css/footer.css +++ b/static/css/footer.css @@ -2,20 +2,19 @@ height:10vh; } -.footer { - text-align: center; +footer { + position: absolute; + bottom: 0; + width: 100%; + height: 60px; /* Set the fixed height of the footer here */ + line-height: 60px; /* Vertically center the text there */ margin-top: 2rem; margin-bottom: 1rem; } -#fi-button { - background: url("/static/img/fi.png") no-repeat; - background-size: cover; -} - -#en-button { - background: url("/static/img/en.png") no-repeat; - background-size: cover; +footer .container .col .nav .nav-item { + display: inline-block; + margin-right: 3vh; } .lang-button { @@ -30,8 +29,6 @@ display: inline-block; } -.lang-form { - margin-left: auto; - margin-right: auto; +footer .lang-form { max-width: 10rem; -} \ No newline at end of file +} diff --git a/templates/footer.html b/templates/footer.html index 31d263a..d4eb5b2 100644 --- a/templates/footer.html +++ b/templates/footer.html @@ -2,23 +2,41 @@ {% load static %} {% load staticfiles %} -