chore: group media queries with rules
This commit is contained in:
parent
6d82c73e2d
commit
b178203a09
13 changed files with 219 additions and 197 deletions
|
@ -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);
|
||||
}
|
||||
}
|
Reference in a new issue