mirror of
https://github.com/YunoHost-Apps/ihatemoney_ynh.git
synced 2024-09-03 19:26:15 +02:00
Fix #26. Footer is now relative
This commit is contained in:
parent
7bf3492961
commit
5721be1d15
2 changed files with 8 additions and 3 deletions
|
@ -1,6 +1,10 @@
|
||||||
@import "bootstrap-1.0.0.min.css";
|
@import "bootstrap-1.0.0.min.css";
|
||||||
@import url(http://fonts.googleapis.com/css?family=Lobster|Comfortaa);
|
@import url(http://fonts.googleapis.com/css?family=Lobster|Comfortaa);
|
||||||
|
|
||||||
|
html body{
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
.topbar h3{ margin-left: 75px; }
|
.topbar h3{ margin-left: 75px; }
|
||||||
.topbar ul{ padding-left: 75px; }
|
.topbar ul{ padding-left: 75px; }
|
||||||
div.topbar ul.secondary-nav { padding-right: 75px; }
|
div.topbar ul.secondary-nav { padding-right: 75px; }
|
||||||
|
@ -80,8 +84,9 @@ div.topbar ul.secondary-nav { padding-right: 75px; }
|
||||||
height: 100px;
|
height: 100px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer{
|
#footer{
|
||||||
position: absolute;
|
margin-top: 30px;
|
||||||
|
position: relative;
|
||||||
bottom: 0px;
|
bottom: 0px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
|
@ -81,7 +81,7 @@
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block footer %}
|
{% block footer %}
|
||||||
<div class="footer">
|
<div id="footer">
|
||||||
<p><a href="https://github.com/ametaireau/budget-manager">This is a free software</a>, you can contribute and improve it!</p>
|
<p><a href="https://github.com/ametaireau/budget-manager">This is a free software</a>, you can contribute and improve it!</p>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
Loading…
Reference in a new issue