跳转到内容

模板:ContentGrid/styles.css

来自天灾之下:危险连接资料站
wiki>Izno2024年8月26日 (一) 08:12的版本 (and these two)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
.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]] */
}