chore: group media queries with rules
This commit is contained in:
parent
6d82c73e2d
commit
b178203a09
13 changed files with 219 additions and 197 deletions
|
@ -75,6 +75,10 @@ a:active > .watching.hero::after {
|
|||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
margin-bottom: var(--spacing-base);
|
||||
|
||||
@media screen and (min-width: 768px) {
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
& a {
|
||||
display: flex;
|
||||
aspect-ratio: var(--aspect-ratio-banner);
|
||||
|
@ -188,10 +192,4 @@ a:active > .watching.hero::after {
|
|||
& .footnotes {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 768px) {
|
||||
.watching.grid {
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
}
|
||||
}
|
Reference in a new issue