Skip to content

Commit

Permalink
add media query to improve mobile display
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardklap authored Mar 15, 2023
1 parent b7ca3d7 commit fa43fd4
Showing 1 changed file with 15 additions and 11 deletions.
26 changes: 15 additions & 11 deletions assets/css/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,20 @@

@import "{{ site.theme }}";

.wrapper {
width:1200px;
// left side is 270
// 1200-270 = 930
// 30px free room
margin:0 auto;
}

section {
width:800px;
float:right;
padding-bottom:50px;

@media screen and (min-width: 1200px) {
.wrapper {
width:1200px;
// left side is 270
// 1200-270 = 930
// 30px free room
margin:0 auto;
}

section {
width:800px;
float:right;
padding-bottom:50px;
}
}

0 comments on commit fa43fd4

Please sign in to comment.