diff options
author | Valentin Popov <info@valentineus.link> | 2018-04-24 16:43:58 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2018-04-24 16:43:58 +0300 |
commit | 54518efc2af65b57d89dd3a6fa9b5b4701c98614 (patch) | |
tree | e683cbcdbed4bc1b12133bbce4afbd32dba50edf /_scss | |
parent | 62ed2560dcc6803500a0907216e6b19b48a4d499 (diff) | |
download | popov.link-54518efc2af65b57d89dd3a6fa9b5b4701c98614.tar.xz popov.link-54518efc2af65b57d89dd3a6fa9b5b4701c98614.zip |
Add grid
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to '_scss')
-rw-r--r-- | _scss/components/core/_grid.scss | 31 |
1 files changed, 31 insertions, 0 deletions
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); +} |