Commit ec135334 by Kálmán Viktor

dashboard: sticky footer

parent 48b67f5c
...@@ -2,6 +2,12 @@ ...@@ -2,6 +2,12 @@
body { body {
padding-top: 50px; padding-top: 50px;
padding-bottom: 20px; padding-bottom: 20px;
margin-bottom: 30px; /* sticky footer */
}
html {
position: relative;
min-height: 100%;
} }
/* Set widths on the navbar form inputs since otherwise they're 100% wide */ /* Set widths on the navbar form inputs since otherwise they're 100% wide */
...@@ -383,3 +389,24 @@ a.hover-black { ...@@ -383,3 +389,24 @@ a.hover-black {
.vm-details-help ul { .vm-details-help ul {
padding-left: 0px; padding-left: 0px;
} }
/* footer */
footer {
position: absolute;
bottom: 0;
width: 100%;
/* Set the fixed height of the footer here */
height: 30px;
background-color: #101010;
color: white;
font-size: 13px;
padding: 5px 5px 0 5px;
box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
text-align: center;
}
footer a, footer a:hover, footer a:visited {
color: white;
text-decoration: underline;
}
...@@ -65,11 +65,12 @@ ...@@ -65,11 +65,12 @@
{% block content %} {% block content %}
<h1 class="alert alert-error">Please override "content" block.</h1> <h1 class="alert alert-error">Please override "content" block.</h1>
{% endblock %} {% endblock %}
<hr /> </div> <!-- /container -->
<footer> <footer>
<p>&copy; Company 2013</p> <a href="#">{% trans "Legal notice" %}</a> | <a href="#">{% trans "Policy" %}</a> | <a href="#">{% trans "Help" %}</a> |
<a href="#">{% trans "Support" %}</a>
<span class="pull-right">&copy; BME IK 2014</span>
</footer> </footer>
</div> <!-- /container -->
</body> </body>
{% block extra_js %} {% block extra_js %}
{% endblock %} {% endblock %}
......
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 sign in to comment