Template:BibisiLauncher/style.css
From SNCApedia, the shit nobody cares about encyclopedia
/* ==============================
BIBISI LAUNCHER CSS
Click-to-launch via :focus
============================== */
.rocket-wrapper {
display: block;
position: relative;
cursor: pointer;
outline: none; /* Removes the blue highlight ring when clicked */
}
.rocket {
display: block; /* Removes the invisible gap browsers put under images */
}
.rocket-explosion {
/* Perfectly center the explosion over the image */
display: flex;
align-items: center;
justify-content: center;
position: absolute;
top: 0; left: 0; right: 0; bottom: 0;
opacity: 0;
}
/* Triggered when clicked (receives focus) */
.rocket-wrapper:focus .rocket,
.rocket-wrapper:active .rocket {
animation: rocket-fly 3s cubic-bezier(0.2, 0, 0.8, 1) forwards;
}
.rocket-wrapper:focus .rocket-explosion,
.rocket-wrapper:active .rocket-explosion {
animation: explode 1.2s ease-out forwards;
animation-delay: 3s;
}
@keyframes rocket-fly {
0% { transform: translateY(0); opacity: 1; }
100% { transform: translateY(-110vh); opacity: 0; }
}
@keyframes explode {
0% { transform: translateY(-110vh) scale(1); opacity: 1; }
50% { transform: translateY(-110vh) scale(3); opacity: 0.8; }
100% { transform: translateY(-110vh) scale(6); opacity: 0; }
}