added a thing that makes the footer be at the bottom of the page
This commit is contained in:
parent
29fc270abf
commit
410d12b374
2 changed files with 10 additions and 2 deletions
|
@ -87,8 +87,10 @@
|
|||
</head>
|
||||
|
||||
<body>
|
||||
{% unless page.no_header %}{% include header.html %}{% endunless %}
|
||||
{{ content }}
|
||||
<div id='thing-that-makes-the-footer-be-at-the-bottom-of-the-page'>
|
||||
{% unless page.no_header %}{% include header.html %}{% endunless %}
|
||||
{{ content }}
|
||||
</div>
|
||||
{% unless page.no_footer %}{% include footer.html %}{% endunless %}
|
||||
</body>
|
||||
|
||||
|
|
|
@ -1,6 +1,12 @@
|
|||
body {
|
||||
font-family: "Liberation Sans", "Nimbus Sans", "Arial", "Helvetica", sans-serif;
|
||||
margin: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
}
|
||||
#thing-that-makes-the-footer-be-at-the-bottom-of-the-page {
|
||||
flex: 1 1;
|
||||
}
|
||||
|
||||
h1 {
|
||||
|
|
Loading…
Reference in a new issue