mirror of
https://git.moonleay.net/Websites/liljudd-website.git
synced 2025-07-27 03:32:03 +02:00
Chore: grid on features page
This commit is contained in:
parent
729ff7168a
commit
5ac4ec0419
8 changed files with 130 additions and 147 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue