ASDSO Dam Safety Toolbox

Template: ContentGrid: Difference between revisions

From ASDSO Dam Safety Toolbox
Jump to: navigation, search
MediaWiki>Stang
m (Reverted edits by 101.10.9.225 (talk) to last version by APaskulin (WMF): reverting vandalism)
 
(Created page with ".wiki-template-contentgrid { padding: 10px; margin-bottom: 1em; display: grid; }")
Line 1: Line 1:
<templatestyles src="ContentGrid/styles.css" />
.wiki-template-contentgrid {
<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>
padding: 10px;
{{Documentation}}
margin-bottom: 1em;
</noinclude>
display: grid;
}

Revision as of 16:18, 26 May 2022

.wiki-template-contentgrid { padding: 10px; margin-bottom: 1em; display: grid; }