Template:Background locations/styles.css: Difference between revisions
From Tears of Themis Wiki
imported>Elaeagnifolia No edit summary |
imported>Elaeagnifolia No edit summary |
||
Line 3: | Line 3: | ||
grid-template-columns: repeat(3, 1fr); | grid-template-columns: repeat(3, 1fr); | ||
grid-gap: 5px; | grid-gap: 5px; | ||
align-items: end; | |||
} | } | ||
Revision as of 23:20, 30 December 2021
.background-locations-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-gap: 5px;
align-items: end;
}
@media only screen and (max-width: 768px) {
.background-locations-grid {
grid-template-columns: repeat(2, 1fr);
}
}
@media only screen and (max-width: 450px) {
.background-locations-grid {
grid-template-columns: repeat(1, 1fr);
}
}