Add grid
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
62ed2560dc
commit
54518efc2a
31
_scss/components/core/_grid.scss
Normal file
31
_scss/components/core/_grid.scss
Normal file
@ -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);
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user