feat: style layers, imports and nesting

This commit is contained in:
Cory Dransfeldt 2024-04-15 12:37:32 -07:00
parent 8e5d497389
commit d4c87b8abe
No known key found for this signature in database
58 changed files with 968 additions and 981 deletions

View file

@ -1,24 +1,20 @@
:root {
--grid: repeat(3,minmax(0,1fr));
}
.badge__grid {
display: grid;
gap: var(--sizing-md);
grid-template-columns: var(--grid);
}
grid-template-columns: repeat(3,minmax(0,1fr));
.badge__grid > * {
display: flex;
justify-content: center;
}
& > * {
display: flex;
justify-content: center;
}
.badge__grid img {
image-rendering: pixelated;
img {
image-rendering: pixelated;
}
}
@media screen and (min-width: 768px) {
:root {
--grid: repeat(4,minmax(0,1fr));
.badge__grid {
grid-template-columns: repeat(4,minmax(0,1fr));
}
}