spee.ch/client/scss/horizontal-split/_horizontal-split.scss

40 lines
726 B
SCSS
Raw Normal View History

.horizontal-split {
2018-11-09 01:44:59 +01:00
max-width: $width-content-constrained;
width: 100%;
margin-left: auto;
margin-right: auto;
display : flex;
flex-direction : row;
justify-content: space-between;
};
2018-06-11 01:07:15 +02:00
2018-11-09 01:44:59 +01:00
.horizontal-split__column {
width: 50%;
flex: 1 0 auto;
box-sizing: border-box;
}
.horizontal-split__column--left {
padding-right: $primary-padding;
}
2018-06-11 01:07:15 +02:00
2018-11-09 01:44:59 +01:00
.horizontal-split__column--right {
padding-left: $primary-padding;
}
2018-06-11 01:07:15 +02:00
2018-10-22 22:26:19 +02:00
@media (max-width: $break-point-tablet) {
2018-06-11 01:07:15 +02:00
2018-11-09 01:44:59 +01:00
.horizontal-split__column {
2018-06-11 01:07:15 +02:00
display : flex;
flex-direction : column;
justify-content: space-between;
};
2018-11-09 01:44:59 +01:00
.column {
width: 100%;
padding-left: 0;
padding-right: 0;
padding-bottom: $secondary-padding;
}
2018-06-11 01:07:15 +02:00
}