Permalink
Browse files

Default theme: Add flexbox CSS rules

I was sure that I've added that some time ago... Strange... Thanks to IRC user tony1
  • Loading branch information...
1 parent 39d4a7c commit f7dc9cb47c35670bbaad493667ae17a170fe2e29 @PhrozenByte PhrozenByte committed Aug 24, 2016
Showing with 6 additions and 0 deletions.
  1. +6 −0 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;

0 comments on commit f7dc9cb

Please sign in to comment.