Difference between revisions of "Template:ContentGrid"

From Publication Station
m
m
Line 1: Line 1:
<templatestyles src="ContentGrid/styles.css" />
<div class="wiki-template-contentgrid" style="padding: 10px; margin-bottom: 1em; display: grid; margin-{{dir|{{pagelang}}|left|right}}: 1em; grid-template-columns: repeat(auto-fit, minmax({{{grid-columns-min-max|300px}}}, 1fr)); grid-gap: {{{grid-gap|10px}}}; grid-auto-rows: minmax({{{grid-rows-min-max|100px}}}, auto); width: {{{width|auto}}};">{{{content}}}</div><noinclude>
<div class="wiki-template-contentgrid" style="margin-{{dir|{{pagelang}}|left|right}}: 1em; grid-template-columns: repeat(auto-fit, minmax({{{grid-columns-min-max|300px}}}, 1fr)); grid-gap: {{{grid-gap|10px}}}; grid-auto-rows: minmax({{{grid-rows-min-max|100px}}}, auto); width: {{{width|auto}}};">{{{content}}}</div><noinclude>
</noinclude>
</noinclude>

Revision as of 06:51, 21 March 2022

{{{content}}}