From 22467d65f5454dd6b1719aafee50850a5ae96bf3 Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Thu, 4 Feb 2021 20:56:02 +1100 Subject: Force central div to take up all vertical space --- project/assets/css/default.css | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'project/assets/css') diff --git a/project/assets/css/default.css b/project/assets/css/default.css index d09c520..dae4af1 100644 --- a/project/assets/css/default.css +++ b/project/assets/css/default.css @@ -2,10 +2,19 @@ /* Some hopefully sensible defaults. */ + +html { + min-height: 100vh; + padding: 0; + margin: 0; +} + + body { background-image: url('/img/blue_abstract_triangles_1920x1200.jpg'); margin: 0em auto 0em auto; max-width: 75em; + min-height: 100vh; /*font: 1.2em/1.62em sans-serif;*/ font: 1em/1.4em sans-serif; } @@ -13,6 +22,7 @@ body { div.white { background-image: url('/img/white_90.png'); + min-height: 100vh; } -- cgit