Skip to content

Commit

Permalink
Use smaller background image for IE, smaller elements within it.
Browse files Browse the repository at this point in the history
We're constraining older IE to 58ems altogether.
  • Loading branch information
crowbot committed Aug 28, 2014
1 parent f9cf947 commit 1aa738d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 6 additions & 2 deletions assets/stylesheets/responsive/_frontpage_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ $dark-blue: #475e90;

@include ie8{
padding-right: 0.9375em;
background: image-url("frontpage-lead-background.png") no-repeat scroll 0 0 transparent;
background: image-url("frontpage-lead-background-ie.png") no-repeat scroll 0 0 transparent;
}
@include lte-ie7 {
width: 36.813em;
Expand All @@ -32,8 +32,12 @@ $dark-blue: #475e90;
padding-bottom: 20px;
@include respond-min( $main_menu-mobile_menu_cutoff ){
width: 154px;
/* No older IE support for border-box */
/* We're constraining older IE to a smaller width */
@include ie8{
width: 145px;
}
/* No older IE support for border-box */
@include lte-ie7 {
width: 111px;
}
padding-left: 30px;
Expand Down

0 comments on commit 1aa738d

Please sign in to comment.