Commit b9527b08 authored by Thomas's avatar Thomas
Browse files

Fix footer

parent 1467ca63
html, body {
height: 100%;
}
#wrap {
min-height: 100%;
}
#main_contain {
overflow:auto;
padding-bottom:150px;
}
.footer { .footer {
position: relative;
margin-top: -150px;
padding: 10px; padding: 10px;
width: 100%; clear:top;
height: 150px; height: 150px;
background-color: #f5f5f5; background-color: #f5f5f5;
} }
#main_contain {
display: table;
width: 100%;
height: 100%;
}
\ No newline at end of file
...@@ -27,11 +27,11 @@ ...@@ -27,11 +27,11 @@
</head> </head>
<body> <body>
<div id="wrap">
<div class="container" style="margin-top: 80px;" id="main_contain"> <div class="container" style="margin-top: 80px;" id="main_contain">
{% block content %}{% endblock %} {% block content %}{% endblock %}
</div> </div>
</div>
<footer class="footer"> <footer class="footer">
<div class="container"> <div class="container">
......
Supports Markdown
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