Cleaned more code, still untested.

This commit is contained in:
2018-10-24 09:06:18 +11:00
parent 7030a513de
commit f1b10e223e
28 changed files with 183 additions and 313 deletions

View File

@ -0,0 +1,38 @@
/*
* Split section
* Simple Section that is split into multiple columns
*
* Dependencies:
* styles/tools/_flex.scss
*
* Version:
* 1.0.0 - 2018/05/28
*/
@import '~@styles/global.scss';
$c-split-section__split--padding: 1em;
.c-split-section {
display: flex;
flex-wrap: wrap;
&.is-stretched {
align-items: stretch;
}
&.is-center {
align-items: center;
}
&__split {
width: 100%;
&.is-padded {
padding: $c-split-section__split--padding;
}
}
@include t-media-query($s-small-up) {
flex-wrap: nowrap;
}
}