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

@ -2,13 +2,29 @@
display: flex;
flex-direction: column;
@media screen and (min-width: 768px) {
flex-direction: row;
}
& textarea {
height: calc(var(--sizing-3xl) * 5);
resize: none;
}
& .column.description p:first-of-type {
margin-top: 0;
& .column {
@media screen and (min-width: 768px) {
width: 50%;
}
&.description {
& p:first-of-type {
margin-top: 0;
}
@media screen and (min-width: 768px) {
padding-right: var(--spacing-xl);
}
}
}
}
@ -22,18 +38,4 @@
h2 {
margin: 0;
}
}
@media screen and (min-width: 768px) {
.contact-wrapper {
flex-direction: row;
& .column {
width: 50%;
}
& .column.description {
padding-right: var(--spacing-xl);
}
}
}