Skip to content

Commit

Permalink
Use ems for media queries instead of pixels.
Browse files Browse the repository at this point in the history
ems behavior better when the page is zoomed in or out by the user. See http://blog.cloudfour.com/the-ems-have-it-proportional-media-queries-ftw/ for more details.
  • Loading branch information
sixhours authored and iandunn committed Jan 18, 2015
1 parent c109c03 commit 369f276
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sass/navigation/_menus.scss
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
display: none;
}

@media screen and (min-width: 600px) {
@media screen and (min-width: 37.5em) {

.menu-toggle {
display: none;
Expand Down
2 changes: 1 addition & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@ a:active {
display: none;
}

@media screen and (min-width: 600px) {
@media screen and (min-width: 37.5em) {

.menu-toggle {
display: none;
Expand Down

0 comments on commit 369f276

Please sign in to comment.