/* Mod descriptions layout */ #mod-descriptions { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(20em, 1fr)); grid-template-rows: masonry; } .mod-description { width: 100%; } @media screen and (max-width: 768px) { #mod-descriptions { grid-template-columns: repeat(2, 1fr); } } @media screen and (max-width: 480px) { #mod-descriptions { grid-template-columns: 1fr; } }