Template:Thumbnail Gallery/styles.css
From Archon Arcana - The KeyForge Wiki
.thumbnailImg { width: 100px; hyphens: auto; text-align: center; margin-left: auto; margin-right: auto; margin-bottom:1%; margin-top:0%; } @media screen and (max-width:350px) { .thumbnailWrap { display: flex; flex-wrap: wrap; justify-content: flex-start; font-size: .9em; width: 100%; display: grid; grid-template-columns: repeat(2, 1fr); } } @media screen and (min-width:351px) and (max-width: 500px) { .thumbnailWrap { display: flex; flex-wrap: wrap; justify-content: flex-start; font-size: .9em; width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); } } @media screen and (min-width:501px) and (max-width: 750px) { .thumbnailWrap { display: flex; flex-wrap: wrap; justify-content: flex-start; font-size: .9em; width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); } } @media screen and (min-width:751px) and (max-width: 850px) { .thumbnailWrap { display: flex; flex-wrap: wrap; justify-content: flex-start; font-size: .9em; width: 100%; display: grid; grid-template-columns: repeat(5, 1fr); } } @media screen and (min-width:851px) and (max-width: 900px) { .thumbnailWrap { display: flex; flex-wrap: wrap; justify-content: flex-start; font-size: .9em; width: 100%; display: grid; grid-template-columns: repeat(6, 1fr); } } @media screen and (min-width: 901px) { .thumbnailWrap { display: flex; flex-wrap: wrap; justify-content: flex-start; font-size: .9em; } .thumbnailImg { width: 100px; text-align: center; margin: 1%; } } .thumbnailImg img { width: 100px; height: auto; filter: drop-shadow(2px 2px 0px #303030); margin-bottom: 5px; }