8,052
edits
PikaTepig999 (talk | contribs) (remaking MerchGallery as a grid div) |
PikaTepig999 (talk | contribs) (double border, to match the current style more) |
||
Line 1: | Line 1: | ||
<div class="roundy c" style="margin: 5px; display:grid; grid-template-columns: repeat(auto-fill, minmax({{{minwidth|180px}}}, 1fr)); gap: 10px; max-width: {{{maxwidth|none}}};"> | <div class="roundy c" style="margin: 5px; display:grid; grid-template-columns: repeat(auto-fill, minmax({{{minwidth|180px}}}, 1fr)); gap: 10px; max-width: {{{maxwidth|none}}};"> | ||
<div class="roundy" style="background:#FFF; border: | <div class="roundy" style="background:#FFF; border: 5px solid #{{{background|{{White color}}}}}; box-shadow:0 0 0 5px #{{{background|{{Black color}}}}}; padding: 3px; display:flex; flex-flow: column nowrap; justify-content:center; align-items:center; gap:3px;"> | ||
<div>[[File:{{{image1|Spring 2011 Sneak Peek tins.jpg}}}|{{{size1|170px}}}]]</div> | <div>[[File:{{{image1|Spring 2011 Sneak Peek tins.jpg}}}|{{{size1|170px}}}]]</div> | ||
<div>{{{caption1|The Sneak-Peek Tins}}}</div> | <div>{{{caption1|The Sneak-Peek Tins}}}</div> |
edits