2017-06-20 11:13:24 +02:00
|
|
|
@import "colors";
|
2017-07-06 12:23:33 +02:00
|
|
|
@import "common";
|
2017-06-20 11:13:24 +02:00
|
|
|
@import "constants";
|
|
|
|
|
|
|
|
.two-columns {
|
2018-02-08 17:13:15 +01:00
|
|
|
background-color: #FFFFFF;
|
2017-06-20 11:13:24 +02:00
|
|
|
|
2018-02-08 17:13:15 +01:00
|
|
|
@media (min-width: $two-columns-breakpoint) {
|
|
|
|
background: linear-gradient(to right, #FFFFFF 0%, #FFFFFF 50%, $light-grey 50%, $light-grey 100%);
|
|
|
|
}
|
2017-06-20 11:13:24 +02:00
|
|
|
|
|
|
|
.columns-container {
|
2017-07-06 12:23:33 +02:00
|
|
|
@extend .container;
|
2017-06-20 11:13:24 +02:00
|
|
|
display: flex;
|
2018-02-08 17:13:15 +01:00
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
@media (min-width: $two-columns-breakpoint) {
|
|
|
|
flex-direction: row;
|
2018-03-21 11:01:06 +01:00
|
|
|
align-items: stretch;
|
2018-02-08 17:13:15 +01:00
|
|
|
justify-content: center;
|
|
|
|
}
|
2017-06-20 11:13:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.column {
|
2018-02-08 17:13:15 +01:00
|
|
|
padding: $two-columns-padding 0 0;
|
|
|
|
width: 100%;
|
|
|
|
max-width: 500px;
|
2017-06-20 11:13:24 +02:00
|
|
|
|
|
|
|
@media (min-width: $two-columns-breakpoint) {
|
2018-02-08 17:13:15 +01:00
|
|
|
padding: $two-columns-padding;
|
|
|
|
width: 50%;
|
|
|
|
|
2017-06-20 11:13:24 +02:00
|
|
|
&:first-child {
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|