Skip to content

Commit

Permalink
Fix for dark background noise on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
kyleconrad committed Sep 19, 2024
1 parent fb29f17 commit 4444527
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 18 deletions.
Binary file added public/images/bkg/bkg--navigation--safari.webp
Binary file not shown.
24 changes: 6 additions & 18 deletions src/styles/_base/_main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -190,37 +190,25 @@ main {
normal;
}

.safari .bkg--media {
.bkg--navigation {
background:
url( '/images/noise--25.png' ) repeat left top / 200px 200px,
url( '/images/bkg/bkg--navigation.svg' ) no-repeat left top / 100% 100%,
var( --copy );
background-blend-mode:
lighten,
normal,
normal;



@include breakpoint( mobile ) {
background: var( --copy );
}
}


.bkg--navigation {
.safari .bkg--media,
.safari .bkg--navigation {
background:
url( '/images/noise--25.png' ) repeat left top / 200px 200px,
url( '/images/bkg/bkg--navigation.svg' ) no-repeat left top / 100% 100%,
url( '/images/bkg/bkg--navigation--safari.webp' ) repeat left top / 200px 200px,
var( --copy );
background-blend-mode:
lighten,
normal,
normal;



@include breakpoint( mobile ) {
background: var( --copy );
}
}


Expand Down

0 comments on commit 4444527

Please sign in to comment.