aboutsummaryrefslogtreecommitdiff
path: root/_scss/components/core/_grid.scss
diff options
context:
space:
mode:
Diffstat (limited to '_scss/components/core/_grid.scss')
-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);
+}