diff options
author | Jonathan DeMasi <jrdemasi@gmail.com> | 2020-03-08 21:58:12 -0600 |
---|---|---|
committer | Jonathan DeMasi <jrdemasi@gmail.com> | 2020-03-08 21:58:12 -0600 |
commit | d2c9963796c397ca93b627f3924a269e5a74bfb7 (patch) | |
tree | 3443f0d99eb10df1bb19fd3505fc4035d71e2ff5 | |
parent | f1981469644259dd511839b6214af6ce0d37aaf8 (diff) | |
download | jthanio-d2c9963796c397ca93b627f3924a269e5a74bfb7.tar jthanio-d2c9963796c397ca93b627f3924a269e5a74bfb7.tar.gz jthanio-d2c9963796c397ca93b627f3924a269e5a74bfb7.tar.bz2 jthanio-d2c9963796c397ca93b627f3924a269e5a74bfb7.tar.lz jthanio-d2c9963796c397ca93b627f3924a269e5a74bfb7.tar.xz jthanio-d2c9963796c397ca93b627f3924a269e5a74bfb7.tar.zst jthanio-d2c9963796c397ca93b627f3924a269e5a74bfb7.zip |
fucking footer
-rw-r--r-- | jthanio/static/css/jthanio.css | 8 | ||||
-rw-r--r-- | jthanio/templates/base.html | 4 |
2 files changed, 9 insertions, 3 deletions
diff --git a/jthanio/static/css/jthanio.css b/jthanio/static/css/jthanio.css index a133c9d..ce3484b 100644 --- a/jthanio/static/css/jthanio.css +++ b/jthanio/static/css/jthanio.css @@ -12,8 +12,14 @@ html { position: relative; min-height: 100%; } + +#page-content { + min-height: 100vh; + margin-bottom: 60px; +} + .footer { - position: absolute; + position: static; width: 100%; bottom: 0; /* Set the fixed height of the footer here */ diff --git a/jthanio/templates/base.html b/jthanio/templates/base.html index 8e3a4ed..9870c59 100644 --- a/jthanio/templates/base.html +++ b/jthanio/templates/base.html @@ -30,13 +30,13 @@ <body class="{% block body_class %}{% endblock %}"> {% wagtailuserbar %} - + <div id="page-content"> {% block content %}{% endblock %} {% block extra_js %} {# Override this in templates to add extra javascript #} {% endblock %} - + </div> <footer class="footer"> <div class="text-center bg-dark"> <span class="text-muted">Copyright © jthan.io {% now "Y" %}</span> |