From 4b64859ee743abf2de92eeda2cb3f99c1722be28 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Fri, 28 Jun 2019 06:17:07 -0400 Subject: [PATCH] push footer to the bottom of the viewport --- static/build.html | 2 +- static/contact.html | 2 +- static/donate.html | 2 +- static/grapheneos.css | 13 ++++++++----- static/index.html | 2 +- static/install.html | 2 +- static/pdfviewer_privacy_policy.html | 2 +- static/releases.html | 2 +- static/source.html | 2 +- static/usage.html | 2 +- 10 files changed, 17 insertions(+), 14 deletions(-) diff --git a/static/build.html b/static/build.html index 5eafadf7..30b48b54 100644 --- a/static/build.html +++ b/static/build.html @@ -20,7 +20,7 @@ - + diff --git a/static/contact.html b/static/contact.html index 4d680fef..96dd8831 100644 --- a/static/contact.html +++ b/static/contact.html @@ -20,7 +20,7 @@ - + diff --git a/static/donate.html b/static/donate.html index eba669d9..964511dd 100644 --- a/static/donate.html +++ b/static/donate.html @@ -20,7 +20,7 @@ - + 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; diff --git a/static/index.html b/static/index.html index f2c6adc9..ab5ff4a0 100644 --- a/static/index.html +++ b/static/index.html @@ -20,7 +20,7 @@ - + diff --git a/static/install.html b/static/install.html index 41cca568..16cf3638 100644 --- a/static/install.html +++ b/static/install.html @@ -20,7 +20,7 @@ - + diff --git a/static/pdfviewer_privacy_policy.html b/static/pdfviewer_privacy_policy.html index 3bc949fb..1551f498 100644 --- a/static/pdfviewer_privacy_policy.html +++ b/static/pdfviewer_privacy_policy.html @@ -20,7 +20,7 @@ - + diff --git a/static/releases.html b/static/releases.html index 2a763b98..f329c83a 100644 --- a/static/releases.html +++ b/static/releases.html @@ -20,7 +20,7 @@ - + diff --git a/static/source.html b/static/source.html index e0815e31..61731b88 100644 --- a/static/source.html +++ b/static/source.html @@ -20,7 +20,7 @@ - + diff --git a/static/usage.html b/static/usage.html index 30be2500..84edf55b 100644 --- a/static/usage.html +++ b/static/usage.html @@ -20,7 +20,7 @@ - +