# HG changeset patch # User Goffi # Date 1492360581 -7200 # Node ID e6de0e67c4c16720e1fc6db8c10702251434135f # Parent 4d8577e54f16bd7e183a7c5dbb4b5452d56f24da styles: footer is now placed at the bottom of the page using flexbox diff -r 4d8577e54f16 -r e6de0e67c4c1 default/static/styles.css --- a/default/static/styles.css Sun Apr 16 18:35:30 2017 +0200 +++ b/default/static/styles.css Sun Apr 16 18:36:21 2017 +0200 @@ -7,11 +7,21 @@ text-align: center; } +body { + display: flex; + height: 100vh; + flex-direction: column; + box-sizing: border-box; + margin: 0; + padding: 8px; +} + +#body { + flex: 1; +} + footer { - width: 100%; text-align: center; font-size: 0.7em; font-weight: bold; - position: fixed; - bottom: 5px; }