2015-08-03 11:35:01 +02:00
|
|
|
.flex {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row wrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flex .block {
|
|
|
|
flex: 1 50%;
|
2015-12-23 22:14:25 +01:00
|
|
|
overflow: hidden;
|
2015-08-03 11:35:01 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.flex .block.large,
|
|
|
|
.flex.card .block.large {
|
|
|
|
flex: 1 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flex.card {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flex.card .block {
|
|
|
|
margin: 1rem;
|
|
|
|
flex: 1 calc(50% - 2rem);
|
2015-12-21 22:59:03 +01:00
|
|
|
min-height: 5rem;
|
2015-08-03 11:35:01 +02:00
|
|
|
padding-top: 1.5rem;
|
|
|
|
padding-bottom: 1.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flex.stacked .block {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: 1024px) {
|
|
|
|
.flex.card .block,
|
|
|
|
.flex .block {
|
|
|
|
margin-bottom: 0;
|
|
|
|
flex: 1 100%;
|
2015-12-21 22:59:03 +01:00
|
|
|
max-width: 100%;
|
2015-08-03 11:35:01 +02:00
|
|
|
}
|
|
|
|
}
|