Jump to content

Template:ContentGrid/styles.css: Difference between revisions

From wikiNonStop
and these two
 
m 1 revision imported: Initial
 
(No difference)

Latest revision as of 10:44, 29 December 2024

.tpl-contentgrid {
	margin: 1em 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2em;
	grid-auto-rows: minmax(100px, auto);
}

.tpl-contentgrid .mw-tpl-colorbox {
	margin: 0; /* in favour of grid-gap on [[Template:ContentGrid]] */
}