Template:Content/styles.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
.tile-row { | .tile-row { | ||
display: flex; | display: flex; | ||
flex-wrap: wrap; | flex-wrap: wrap; | ||
justify-content: center; | justify-content: center; | ||
gap: 1.5em; | gap: 1.5em; | ||
Revision as of 04:20, 26 July 2025
.tile-row {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 1.5em;
margin: 1em auto 2em auto;
max-width: 1200px;
}
.tile-row > div {
flex: 1 1 180px;
max-width: 220px;
display: flex;
flex-direction: column;
align-items: center;
}
.tile-top {
text-align: center;
width: 100%;
}
.tile-bottom h2 {
margin: 0.4em 0 0;
text-align: center;
font-size: 1.1em;
}
@media (max-width: 800px) {
.tile-row {
gap: 1em;
}
.tile-row > div {
flex: 1 1 45%;
}
}