sack off particles for now

This commit is contained in:
czmj
2017-09-23 21:51:04 +01:00
parent 89f8c7e505
commit 959fab1581
4 changed files with 2 additions and 157 deletions

View File

@ -55,16 +55,6 @@
}
}
.particles-js-canvas-el {
@include vendor('transition', 'opacity #{_duration(fadein)} ease-in-out');
@include vendor('transition-delay', '1s');
opacity: 1;
@include breakpoint(medium) {
display: none;
}
}
@include breakpoint(small) {
@include padding(7em, 3em);
height: auto;
@ -94,37 +84,5 @@ body.is-loading {
width: 0;
}
}
.particles-js-canvas-el {
opacity: 0;
}
}
}
.particle {
position: relative;
user-select: none;
background: _palette(accent3, bg);
@include breakpoint(medium) {
background: none;
}
.particles-js-canvas-el {
width: 100%;
height: 100%;
}
.content {
position: absolute;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
z-index: 1;
user-select: auto;
}
}

View File

@ -174,7 +174,7 @@ body.is-mobile {
body.landing {
#page-wrapper {
@include vendor('background-image', ('linear-gradient(top, rgba(0,0,0,0.2), rgba(0,0,0,0.4))', 'url("../../assets/images/banner.jpg")'));
@include vendor('background-image', ('linear-gradient(top, rgba(0,0,0,0.5), rgba(0,0,0,0.5))', 'url("../../assets/images/banner.jpg")'));
background-attachment: fixed;
background-position: center center;
background-repeat: no-repeat;
@ -199,7 +199,7 @@ body.is-mobile {
#banner,
.wrapper.style4 {
@include vendor('background-image', 'url("../../assets/images/banner.jpg")');
@include vendor('background-image', ('linear-gradient(top, rgba(0,0,0,0.5), rgba(0,0,0,0.5))', 'url("../../assets/images/banner.jpg")'));
background-position: center center;
background-repeat: no-repeat;
background-size: cover;