Revert "sack off particles for now"

This reverts commit 959fab1581.
This commit is contained in:
Luke Murphy
2017-09-24 15:12:03 +02:00
parent 2b5f540acd
commit 10535a1f80
3 changed files with 154 additions and 3 deletions

View File

@ -60,6 +60,16 @@
height: auto;
min-height: 0;
.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;
}
}
h2 {
font-size: 1.25em;
}
@ -84,5 +94,34 @@ 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;
}
}