chore: group media queries with rules

This commit is contained in:
Cory Dransfeldt 2024-09-11 15:21:40 -07:00
parent 6d82c73e2d
commit b178203a09
No known key found for this signature in database
13 changed files with 219 additions and 197 deletions

View file

@ -4,6 +4,10 @@
grid-template-columns: repeat(3, 1fr);
margin-top: var(--spacing-2xl);
@media screen and (min-width: 768px) {
grid-template-columns: repeat(4, 1fr);
}
& > * {
display: flex;
justify-content: center;
@ -21,10 +25,4 @@
& img {
image-rendering: pixelated;
}
}
@media screen and (min-width: 768px) {
.badge-grid {
grid-template-columns: repeat(4, 1fr);
}
}