From 54518efc2af65b57d89dd3a6fa9b5b4701c98614 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Tue, 24 Apr 2018 17:43:58 +0400 Subject: Add grid Signed-off-by: Valentin Popov --- _scss/components/core/_grid.scss | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 _scss/components/core/_grid.scss (limited to '_scss') diff --git a/_scss/components/core/_grid.scss b/_scss/components/core/_grid.scss new file mode 100644 index 0000000..5d0b65c --- /dev/null +++ b/_scss/components/core/_grid.scss @@ -0,0 +1,31 @@ +@import 'utilities/flexbox'; + +body { + @include flexbox(); + @include flex-basis(auto); + @include flex-direction(column); +} + +main { + @include flexbox(); + @include flex-basis(auto); + @include flex-grow(1); +} + +.navigation { + @include flexbox(); + @include flex-shrink(0); + @include justify-content(flex-end); +} + +.content { + @include flexbox(); + @include flex-basis(auto); + @include flex-direction(column); +} + +.footer { + @include flexbox(); + @include flex-shrink(0); + @include justify-content(center); +} -- cgit v1.2.3