Add a footer

This commit is contained in:
Petko Bordjukov 2015-08-15 07:08:47 +03:00
parent dbd8a0a4a1
commit 6b4aeb2a5f
2 changed files with 22 additions and 0 deletions

View File

@ -6,3 +6,22 @@
@import 'initfest/flash_messages';
nav { background-image: image-url('initfest/navbg.jpg'); }
html {
position: relative;
min-height: 100%;
}
body {
/* Margin bottom by footer height */
margin-bottom: 120px;
}
footer {
position: absolute;
bottom: 0;
width: 100%;
/* Set the fixed height of the footer here */
height: 120px;
background-color: white;
}

View File

@ -24,5 +24,8 @@
<%= render 'public/shared/flash_messages' unless flash.empty? %>
<%= yield %>
</section>
<footer class="clear">
<div id="copyright">© 2015 OpenFest. Some Rights Reserved.</div>
</footer>
</body>
</html>