Commit 983b8bf0 authored by Tom Tryfonidis's avatar Tom Tryfonidis Committed by Claude Paroz

Make footer stick to the bottom of a page

parent 5a537887
......@@ -838,3 +838,23 @@ ul.foot li {
#footer #footnotes a {
color: inherit;
}
/* Sticky Footer */
.gnome-body {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
min-height: 100vh;
}
.gnome-content {
-webkit-flex:1;
-ms-flex:1;
-webkit-box-flex:1;
flex:1;
}
......@@ -30,7 +30,7 @@
{% block extrahead %}{% endblock %}
</head>
<body>
<body class="gnome-body">
<header class="gnome-header">
<div class="navbar navbar-fixed-top navbar-default affix-top">
<div class="container">
......@@ -80,8 +80,7 @@
<div class="clearfix"></div>
<div id="content">
<div class="container">
<div id="content" class="container gnome-content">
{% if messages %}
{% for message in messages %}
<p class="errornote">{{ message|safe }}</p>
......@@ -90,7 +89,6 @@
{% block content-title %}{% endblock %}
{% block content %}{% endblock %}
</div>
</div>
<div id="footer">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment