aboutsummaryrefslogtreecommitdiff
path: root/_scss/components/core
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2018-04-24 16:43:58 +0300
committerValentin Popov <info@valentineus.link>2018-04-24 16:43:58 +0300
commit54518efc2af65b57d89dd3a6fa9b5b4701c98614 (patch)
treee683cbcdbed4bc1b12133bbce4afbd32dba50edf /_scss/components/core
parent62ed2560dcc6803500a0907216e6b19b48a4d499 (diff)
downloadpopov.link-54518efc2af65b57d89dd3a6fa9b5b4701c98614.tar.xz
popov.link-54518efc2af65b57d89dd3a6fa9b5b4701c98614.zip
Add grid
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to '_scss/components/core')
-rw-r--r--_scss/components/core/_grid.scss31
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);
+}