From 4b64859ee743abf2de92eeda2cb3f99c1722be28 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Fri, 28 Jun 2019 06:17:07 -0400 Subject: push footer to the bottom of the viewport --- static/grapheneos.css | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'static/grapheneos.css') diff --git a/static/grapheneos.css b/static/grapheneos.css index ca6ec451..f051855f 100644 --- a/static/grapheneos.css +++ b/static/grapheneos.css @@ -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; -- cgit v1.3.1