push footer to the bottom of the viewport

This commit is contained in:
Daniel Micay
2019-06-28 06:17:07 -04:00
parent 720dbf8970
commit 4b64859ee7
10 changed files with 17 additions and 14 deletions

View File

@@ -2,9 +2,9 @@
/* https://android.googlesource.com/platform/frameworks/base/+/android-9.0.0_r35/core/res/res/values/colors_material.xml */
body {
/*display: flex;*/
/*flex-direction: column;*/
/*min-height: 100vh;*/
display: flex;
flex-direction: column;
min-height: 100vh;
font-family: Roboto, sans-serif;
background-color: #fafafa; /* grey50 */
color: rgba(0, 0, 0, 0.87); /* 87% black */
@@ -82,7 +82,10 @@ nav ul li.active a {
margin-left: auto;
margin-right: auto;
padding: 1em;
max-width: 800px;
max-width: 832px;
min-width: 0;
width: 100%;
box-sizing: border-box;
overflow-wrap: break-word;
}
@@ -106,7 +109,7 @@ footer img {
}
footer {
/*margin-top: auto;*/
margin-top: auto;
margin-left: auto;
margin-right: auto;
padding: 1em;