Skip to content

Commit

Permalink
refactor: edit media query
Browse files Browse the repository at this point in the history
  • Loading branch information
damla committed Feb 16, 2021
1 parent e4db60b commit 08b9c6c
Showing 1 changed file with 11 additions and 21 deletions.
32 changes: 11 additions & 21 deletions pages/about-us/about-us.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
display: flex;
justify-content: space-between;
width: 70vw;
@media only screen and (max-width: variables.$max-width-paragraph) {
display: flex;
flex-direction: column;
}
}
}

Expand All @@ -21,6 +25,10 @@
text-transform: uppercase;
color: variables.$secondary-color;
margin-bottom: 2.4rem;

@media only screen and (max-width: variables.$max-width-middle) {
font-size: 2.5rem;
}
}

.h3 {
Expand All @@ -30,28 +38,10 @@
max-width: 70vw;
text-align: justify;
margin-bottom: 1.5rem;
}

@media only screen and (max-width: variables.$max-width-paragraph) {
.section {
&_body {
display: flex;
flex-direction: column;
}
@media only screen and (max-width: variables.$max-width-middle) {
font-size: 1rem;
}

.h3 {
@media only screen and (max-width: variables.$max-width-paragraph) {
text-align: center;
}
}

@media only screen and (max-width: variables.$max-width-middle) {
.h1 {
font-size: 2.5rem;
}

.h3 {
font-size: 1rem;
}
}
// TODO: ORTALA

0 comments on commit 08b9c6c

Please sign in to comment.