28 lines
444 B
CSS
28 lines
444 B
CSS
/* vim: set ts=2 sw=2 et tw=80 */
|
|
|
|
main {
|
|
display: grid;
|
|
grid-template-columns: repeat( auto-fill, minmax(200px, 1fr) );
|
|
grid-gap: .5rem;
|
|
align-items: center;
|
|
justify-items: stretch;
|
|
}
|
|
|
|
@media screen and (min-width: 768px) {
|
|
max-width: calc(100vw - 20rem);
|
|
}
|
|
|
|
main a {
|
|
text-align: center;
|
|
}
|
|
|
|
main h2, main h4 {
|
|
grid-column: 1 / -1;
|
|
}
|
|
|
|
main img {
|
|
max-width: 200px;
|
|
max-height: 200px;
|
|
min-width: 80px;
|
|
min-height: 80px;
|
|
}
|