Link to article: breaddddd's second tape warehouse.
@import url(http://scp-int-sandbox.wikidot.com/breaddddd2/code/1);
div.gallery-box {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(min(calc(7.5rem), 100%), 1fr));
gap: 1em;
justify-content: center;
width: max-content;
margin: 1em auto;
overflow: unset;
}
div.gallery-item[class] {
border: none;
margin: auto;
padding: 0.25em;
width: max-content;
height: max-content;
}
div.gallery-item :where(table, tbody, tr, td) {
display: contents;
}
div.gallery-box a {
display: flex;
align-items: center;
justify-content: center;
width: 7.5rem;
height: 7.5rem;
background-color: rgb(255, 255, 255);
border: 0.1rem rgb(225, 225, 225) solid;
box-sizing: border-box;
margin: auto;
outline: 0 rgb(187, 0, 17) solid;
transition: all 125ms linear;
}
div.gallery-box a:where(:hover, :focus) {
outline-width: 0.2rem;
transform: scale(1.5);
}
ruby
rt