@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user