fix mobile banner

This commit is contained in:
czmj
2017-09-22 13:44:13 +01:00
parent 3d6de6fd33
commit 396e7b4574
3 changed files with 185 additions and 176 deletions

View File

@ -1761,7 +1761,7 @@ body.is-mobile {
#banner,
.wrapper.style4 {
@include vendor('background-image', ('linear-gradient(top, rgba(0,0,0,0.5), rgba(0,0,0,0.5))', 'url("../../assets/images/banner.jpg")'));
@include vendor('background-image', 'url("../../assets/images/banner.jpg")');
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
@ -1829,6 +1829,7 @@ body {
}
.particle {
position: relative;
user-select: none;
#particles-js {
vertical-align: bottom;
@ -1840,7 +1841,7 @@ body {
.particles-js-canvas-el {
width: 100%;
height: 100%;
height: 100%;
}
}
@ -1851,5 +1852,6 @@ body {
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
z-index: 1;
user-select: auto;
}
}