mirror of
https://github.com/YunoHost-Apps/movim_ynh.git
synced 2024-09-03 19:46:19 +02:00
39 lines
568 B
CSS
39 lines
568 B
CSS
.flex {
|
|
display: flex;
|
|
flex-flow: row wrap;
|
|
}
|
|
|
|
.flex .block {
|
|
flex: 1 50%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.flex .block.large,
|
|
.flex.card .block.large {
|
|
flex: 1 100%;
|
|
}
|
|
|
|
.flex.card {
|
|
padding: 0;
|
|
}
|
|
|
|
.flex.card .block {
|
|
margin: 1rem;
|
|
flex: 1 calc(50% - 2rem);
|
|
min-height: 5rem;
|
|
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%;
|
|
max-width: 100%;
|
|
}
|
|
}
|