umami/components/layout/GridLayout.module.css

41 lines
545 B
CSS
Raw Normal View History

2020-10-10 05:37:24 +02:00
.grid {
display: flex;
flex-direction: column;
}
.col {
display: flex;
flex-direction: column;
}
.row {
border-top: 1px solid var(--base300);
2020-10-10 05:37:24 +02:00
min-height: 430px;
}
.row > .col {
border-left: 1px solid var(--base300);
2020-10-10 05:37:24 +02:00
padding: 20px;
}
.row > .col:first-child {
border-left: 0;
padding-left: 0;
}
.row > .col:last-child {
padding-right: 0;
}
@media only screen and (max-width: 992px) {
.row {
border: 0;
}
.row > .col {
border-top: 1px solid var(--base300);
2020-10-10 05:37:24 +02:00
border-left: 0;
padding: 20px 0;
2020-10-10 05:37:24 +02:00
}
}