Skip to content

Commit

Permalink
adding pattern bg to all main’s not just home
Browse files Browse the repository at this point in the history
  • Loading branch information
clhorn committed Sep 13, 2016
1 parent 3a485f6 commit 399188a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 14 deletions.
13 changes: 8 additions & 5 deletions client/assets/scss/site/_global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,15 @@ $horizontal-breakpoint: xlarge;
body {
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
}

main {
background: $primary-color url('../img/pattern3.png') left top no-repeat;
background-size: 100% auto;

/*
background-image: url('../img/pattern2.gif'), url('../img/gradient2.jpg');
background-size: 300px, cover;
background-position: center, center;
*/
@include breakpoint($horizontal-breakpoint) {
background-position-x: 2rem;
}
}

// Reset margin and padding on figure element
Expand Down
9 changes: 0 additions & 9 deletions client/assets/scss/site/pages/_home-page-grid.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,6 @@
}
}

main {
background: $primary-color url('../img/pattern3.png') left top no-repeat;
background-size: 100% auto;

@include breakpoint($horizontal-breakpoint) {
background-position-x: 2rem;
}
}

}


Expand Down

0 comments on commit 399188a

Please sign in to comment.