Update gradient background sizing. (#1417)

This commit is contained in:
jake m 2021-09-23 18:02:44 -07:00 committed by GitHub
parent bc01a49e33
commit 63ca3df3ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,6 +37,7 @@ const featuredProject = projects[0];
.gradient, .gradient,
.gradient2 { .gradient2 {
background-image: url('/assets/mesh-gradient.jpg'); background-image: url('/assets/mesh-gradient.jpg');
background-size: cover;
pointer-events: none; pointer-events: none;
mix-blend-mode: screen; mix-blend-mode: screen;
width: 100%; width: 100%;
@ -49,6 +50,7 @@ const featuredProject = projects[0];
.gradient2 { .gradient2 {
mix-blend-mode: multiply; mix-blend-mode: multiply;
background-size: cover;
} }
.overlay { .overlay {