From f7dc9cb47c35670bbaad493667ae17a170fe2e29 Mon Sep 17 00:00:00 2001 From: Daniel Rudolf Date: Wed, 24 Aug 2016 21:37:29 +0200 Subject: [PATCH] Default theme: Add flexbox CSS rules I was sure that I've added that some time ago... Strange... Thanks to IRC user tony1 --- themes/default/style.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/themes/default/style.css b/themes/default/style.css index a8f3e1d..b4c64cd 100644 --- a/themes/default/style.css +++ b/themes/default/style.css @@ -96,11 +96,16 @@ select:focus { /* Main Styles /*---------------------------------------------*/ +html { height: 100%; } + body { font: 14px/1.8em 'Open Sans', Helvetica, Arial, Helvetica, sans-serif; color: #444; background: #fff; -webkit-font-smoothing: antialiased; + display: flex; + flex-direction: column; + height: 100%; } a, a:visited { @@ -255,6 +260,7 @@ dd { display: inline-block; float: left; } +#content { flex: 1 1 auto; } #footer { background: #707070; padding: 60px 0;