< Template:Home | Welcome
No edit summary |
No edit summary |
||
Line 13: | Line 13: | ||
gap: 3em; | gap: 3em; | ||
justify-content: center; | justify-content: center; | ||
} | |||
@media (max-width: 600px) { | |||
#catlist { | |||
display: inline-grid; | |||
grid-template-columns: repeat(2, 1fr); | |||
grid-template-rows: repeat(3, 1fr); | |||
grid-column-gap: 40px; | |||
grid-row-gap: 10px; | |||
text-align: left; | |||
} | |||
} | } | ||
Revision as of 09:30, 18 April 2022
#welcome { width: 50%; text-align: center; } #welcome img{ margin-top: 1em; } #catlist { display: inline-flex; flex-wrap: wrap; gap: 3em; justify-content: center; } @media (max-width: 600px) { #catlist { display: inline-grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 1fr); grid-column-gap: 40px; grid-row-gap: 10px; text-align: left; } } @media (max-width: 850px) { #welcome { width:100%; } }