scratch-www/src/components/flex-row/flex-row.scss

40 lines
665 B
SCSS
Raw Normal View History

@import "../../frameless";
.flex-row {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-around;
align-items: center;
&.column {
flex-direction: column;
justify-content: center;
}
2016-06-23 07:27:43 -04:00
&.uneven {
align-items: flex-start;
.short {
width: $cols3;
}
.long {
width: $cols8;
text-align: left;
}
}
@media #{$medium-and-smaller} {
flex-direction: column;
2016-06-23 07:27:43 -04:00
&.uneven {
.short,
.long {
margin: auto;
width: 90%;
}
}
}
}