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

From Space Station 14 Wiki
Aliser (talk | contribs)
No edit summary
Aliser (talk | contribs)
removed hardcoded size in favor of a var
 
Line 5: Line 5:


.storage-grid > * {
.storage-grid > * {
width: 2rem;
width: var(--s);
height: 2rem;
height: var(--s);
}
}



Latest revision as of 05:20, 30 March 2025

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

.storage-grid > * {
	width: var(--s);
	height: var(--s);
}

.storage-grid > *.f { }

.storage-grid > *.f img {
	width: 100%;
	filter: grayscale(75%) saturate(75%) opacity(23%);
}