summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2021-02-04 20:56:02 +1100
committerJed Barber <jjbarber@y7mail.com>2021-02-04 20:56:02 +1100
commit22467d65f5454dd6b1719aafee50850a5ae96bf3 (patch)
treec23e6f84983ffe8a469f20d8d4ed99e42c7ef4a3
parentdbfb0de8e6930e41506a65be3cf37ebdeb115e81 (diff)
Force central div to take up all vertical space
-rw-r--r--project/assets/css/default.css10
1 files changed, 10 insertions, 0 deletions
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;
}