Difference between revisions of "Modèle:ContentGrid"

From M@gistère
Jump to navigation Jump to search
(Page créée avec « <templatestyles src="ContentGrid/styles.css" /> <div class="wiki-template-contentgrid" style="margin-{{dir|{{pagelang}}|left|right}}: 1em; grid-template-columns: repeat(au... »)
 
 
Line 1: Line 1:
<templatestyles src="ContentGrid/styles.css" />
+
<div class="grid-container" style="display: grid;grid-template-columns: auto auto auto;padding: 10px;">{{{content}}}</div>
<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>
 

Latest revision as of 15:01, 4 February 2020

{{{content}}}