Skip to content

Commit

Permalink
🎨 refactor: combine and reorder media queries
Browse files Browse the repository at this point in the history
  • Loading branch information
welpo committed Jul 10, 2023
1 parent 4610073 commit af81f88
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions sass/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,12 @@ article {
margin-top: -5vmin;
}

h1, h2, h3, h4, h5, h6 {
h1,
h2,
h3,
h4,
h5,
h6 {
position: relative;
}

Expand Down Expand Up @@ -239,6 +244,14 @@ strong {
body {
margin: 0 32px;
}

article .full-width {
width: auto;
max-width: none;
margin-left: 0;
margin-right: 0;
display: block;
}
}

@media only screen and (max-width: 600px) {
Expand Down Expand Up @@ -273,13 +286,3 @@ strong {
font-size: 20px;
}
}

@media only screen and (max-width: 1000px) {
article .full-width {
width: auto;
max-width: none;
margin-left: 0;
margin-right: 0;
display: block;
}
}

0 comments on commit af81f88

Please sign in to comment.