Template:Storage grid/styles.css: Difference between revisions

From Space Station 14 Wiki
Aliser (talk | contribs)
No edit summary
Aliser (talk | contribs)
No edit summary
Line 14: Line 14:
}
}


.storage-grid > *.f > img {
.storage-grid > *.f img {
width: 100%;
width: 100%;
}
}

Revision as of 04:11, 30 March 2025

.storage-grid {
	display: grid;
	width: fit-content;
}

.storage-grid > * {
	width: 4rem;
	height: 4rem;
	background-color: gray;
}

.storage-grid > *.f {
	background-color: green;
}

.storage-grid > *.f img {
	width: 100%;
}