1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/movim_ynh.git synced 2024-09-03 19:46:19 +02:00
movim_ynh/sources/themes/material/css/block.css

40 lines
568 B
CSS
Raw Normal View History

.flex {
display: flex;
flex-flow: row wrap;
}
.flex .block {
flex: 1 50%;
2015-12-23 22:14:25 +01:00
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);
2015-12-21 22:59:03 +01:00
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%;
2015-12-21 22:59:03 +01:00
max-width: 100%;
}
}