Commit 4fb992f2 authored by Christophe Benz's avatar Christophe Benz

Improve footer

parent b6e32873
/* http://getbootstrap.com/docs/4.1/examples/sticky-footer-navbar/ */
html {
position: relative;
min-height: 100%;
}
body {
/* Margin bottom by footer height */
/* footer height + 20 */
margin-bottom: 80px;
}
.footer { .footer {
position: absolute;
bottom: 0;
width: 100%;
/* Set the fixed height of the footer here */
height: 60px;
line-height: 60px; /* Vertically center the text there */
background-color: #f5f5f5; background-color: #f5f5f5;
} padding: 3em;
margin-top: 5em;
}
\ No newline at end of file
...@@ -61,15 +61,15 @@ ...@@ -61,15 +61,15 @@
<script src="{{url_for('static', filename='js/bootstrap.min.js')}}"></script> <script src="{{url_for('static', filename='js/bootstrap.min.js')}}"></script>
{% block footer %}{% endblock %} {% block footer %}{% endblock %}
<footer class="footer"> <footer class="footer">
<div class="container"> <div>
<span class="muted">Un service de validation mis à disposition par Un service de validation mis à disposition par
<a href="http://www.opendatafrance.net/">OpenDataFrance</a> avec <a href="http://www.opendatafrance.net/">OpenDataFrance</a> avec
l'aide de <a href="https://jailbreak.paris">Jailbreak</a></span> l'aide de <a href="https://jailbreak.paris">Jailbreak</a>
-
<span class="muted"><a href="/docs" target="_blank">Documentation</a></span>
-
<span class="muted"><a href="/api/v1/apidocs" target="_blank">API</a></span>
</div> </div>
<ul class="list-unstyled mt-4">
<li><a href="/docs" target="_blank">Documentation</a></li>
<li><a href="/api/v1/apidocs" target="_blank">API</a></li>
</ul>
</footer> </footer>
{% if not config['DEBUG'] %} {% if not config['DEBUG'] %}
......
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 to comment