Add a footer
This commit is contained in:
parent
dbd8a0a4a1
commit
6b4aeb2a5f
|
@ -6,3 +6,22 @@
|
||||||
@import 'initfest/flash_messages';
|
@import 'initfest/flash_messages';
|
||||||
|
|
||||||
nav { background-image: image-url('initfest/navbg.jpg'); }
|
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;
|
||||||
|
}
|
||||||
|
|
|
@ -24,5 +24,8 @@
|
||||||
<%= render 'public/shared/flash_messages' unless flash.empty? %>
|
<%= render 'public/shared/flash_messages' unless flash.empty? %>
|
||||||
<%= yield %>
|
<%= yield %>
|
||||||
</section>
|
</section>
|
||||||
|
<footer class="clear">
|
||||||
|
<div id="copyright">© 2015 OpenFest. Some Rights Reserved.</div>
|
||||||
|
</footer>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in New Issue