Skip to content

Commit

Permalink
WIP: Responsive layout fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgeLimaDev committed Dec 6, 2023
1 parent ca24af9 commit 35058ed
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions styles/style_guides.css
Original file line number Diff line number Diff line change
Expand Up @@ -95,3 +95,32 @@ h6 {
margin-top: -3rem;
}
}

@media only screen and (min-width: 768px) and (max-width: 1279px) {
body .wrapper .sidebar {
left: -33ch;
}

body .wrapper .section {
margin-left: 0;
width: 100%;
}

body .wrapper .main-doc {
margin-left: 0;
transition: all 0.5s ease;
}

body.active .wrapper .sidebar {
left: 0;
}

body.active .wrapper .section {
margin-left: 33ch;
width: calc(100% - 33ch);
}

body.active .wrapper .main-doc {
margin-left: 33ch;
}
}

0 comments on commit 35058ed

Please sign in to comment.