Chore: grid on features page

This commit is contained in:
aronmal 2023-11-16 12:49:01 +01:00
parent 729ff7168a
commit 5ac4ec0419
Signed by: aronmal
GPG key ID: 816B7707426FC612
8 changed files with 130 additions and 147 deletions

View file

@ -9,33 +9,16 @@
margin-bottom: 1.2rem;
}
.centered {
display: flex;
flex-direction: column;
align-items: center;
}
.gridlayout {
display: grid;
grid-template-columns: 550px;
align-content: center;
padding: 1rem;
}
.gridlayout div {
margin-bottom: 1rem;
display: flex;
flex-direction: column;
align-items: center;
}
}
@media (min-width: 1100px) {
.gridlayout {
display: grid;
grid-template-columns: repeat(2, 1fr);
align-items: center;
div {
grid-column: span 1;
margin: 1rem;
@media (min-width: 1100px) {
.gridlayout {
grid-template-columns: repeat(2, 550px);
}
}
}