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

40 lines
683 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 only screen and (max-width: $tablet - 1) {
flex-direction: column;
2016-06-23 07:27:43 -04:00
&.uneven {
.short,
.long {
margin: auto;
width: 90%;
}
}
}
}