From 2d9e58f491f8e0fd2e1949873d22559ffe55c747 Mon Sep 17 00:00:00 2001 From: Emil Miler Date: Sat, 13 Feb 2021 10:40:18 +0100 Subject: [PATCH] Base layout --- sass/_minireset.css | 1 + sass/main.scss | 19 +++++++++++++++++++ templates/base.html | 4 ++++ 3 files changed, 24 insertions(+) create mode 100644 sass/_minireset.css diff --git a/sass/_minireset.css b/sass/_minireset.css new file mode 100644 index 0000000..896003e --- /dev/null +++ b/sass/_minireset.css @@ -0,0 +1 @@ +/*! minireset.css v0.0.6 | MIT License | github.com/jgthms/minireset.css */html,body,p,ol,ul,li,dl,dt,dd,blockquote,figure,fieldset,legend,textarea,pre,iframe,hr,h1,h2,h3,h4,h5,h6{margin:0;padding:0}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}ul{list-style:none}button,input,select{margin:0}html{box-sizing:border-box}*,*::before,*::after{box-sizing:inherit}img,video{height:auto;max-width:100%}iframe{border:0}table{border-collapse:collapse;border-spacing:0}td,th{padding:0} diff --git a/sass/main.scss b/sass/main.scss index e69de29..32ecf3e 100644 --- a/sass/main.scss +++ b/sass/main.scss @@ -0,0 +1,19 @@ +@import "minireset"; + +body { + min-height: 100vh; + display: flex; + flex-direction: column; +} + +header { + +} + +main { + +} + +footer { + margin-top:auto; +} diff --git a/templates/base.html b/templates/base.html index 9222ab2..ab8c6fd 100644 --- a/templates/base.html +++ b/templates/base.html @@ -11,8 +11,12 @@ +
+
{% block content %}{% endblock content %}
+