From 86614a3ab40b4ececa3dadba22de16184a44750b Mon Sep 17 00:00:00 2001 From: Daniel Rudolf Date: Wed, 2 Mar 2016 21:40:58 +0100 Subject: [PATCH] Default theme: Use flexbox to grow content div --- themes/default/style.css | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/themes/default/style.css b/themes/default/style.css index a8c0030..9073349 100644 --- a/themes/default/style.css +++ b/themes/default/style.css @@ -211,6 +211,17 @@ blockquote { /* Structure Styles /*---------------------------------------------*/ +body { + display: flex; + flex-direction: column; + min-height: 100vh; + height: 100%; +} +body > * { + flex: none; + width: 100%; +} + .inner { width: 850px; margin: 0 auto; @@ -262,6 +273,9 @@ blockquote { display: inline-block; float: left; } +#content { + flex: 1 0 auto; +} #footer { background: #707070; padding: 60px 0;