Template:Content grid/styles.css: Difference between revisions
Appearance
f |
Deleatur yhe (talk | contribs) m 1 revision imported |
(No difference)
| |
Latest revision as of 14:56, 9 September 2026
.content-grid {
margin: 1em 0;
gap: 2em;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
grid-auto-rows: minmax(100px, auto);
}
.content-grid .colored-box {
margin: 0; /* favour the grid-gap in [[Template:ContentGrid]] and un-style when paired with it. */
}