New mission: revamp the portals to make them look actually tolerable to the eye. They are currently placeholders as of now.
The Gold Network: Soyworld | SNCApedia | SoyPlace


I'm not dead, just inactive for the moment. Faggot (talk) 20:16, 9 April 2026 (UTC)

Template:BibisiLauncher/style.css: Difference between revisions

From SNCApedia, the shit nobody cares about encyclopedia
Jump to navigationJump to search
No edit summary
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* ==============================
/* ==============================
   BIBISI LAUNCHER
   BIBISI LAUNCHER CSS
  Click-to-launch via :focus
   ============================== */
   ============================== */


.rocket-wrapper {
.rocket-wrapper {
     display: block;
     display: block;
     text-align: center;
     position: relative;
     height: 0;
     cursor: pointer;
     overflow: visible;
     outline: none;
}
}


.smoke-wrapper {
.rocket {
     display: block;
     display: block;
    text-align: center;
    height: 0;
    overflow: visible;
}
}


.rocket {
.rocket-explosion {
     display: inline-block;
     display: flex;
     font-size: 2em;
    align-items: center;
     animation: rocket-fly 3s cubic-bezier(0.2, 0, 0.8, 1) forwards;
     justify-content: center;
     animation-delay: 1s;
     position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    opacity: 0;
}
 
/* Trigger animations when clicked */
.rocket-wrapper:focus .rocket,
.rocket-wrapper:active .rocket {
    /* 1. Shake for 0.6 seconds */
    /* 2. Then fly for 2.4 seconds (starts after a 0.6s delay) */
     animation:
        rocket-shake 0.6s linear,
        rocket-fly 2.4s ease-in 0.6s forwards;
}
}


.rocket-explosion {
.rocket-wrapper:focus .rocket-explosion,
    display: inline-block;
.rocket-wrapper:active .rocket-explosion {
    font-size: 1em;
    opacity: 0;
     animation: explode 1.2s ease-out forwards;
     animation: explode 1.2s ease-out forwards;
     animation-delay: 3.8s;
     animation-delay: 3s; /* Triggers exactly when the 3-second flight ends */
}
}


.rocket-smoke-1,
/* The shake effect */
.rocket-smoke-2,
@keyframes rocket-shake {
.rocket-smoke-3 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
     display: block;
    20%      { transform: translate(-3px, 2px) rotate(-5deg); }
     font-size: 1em;
     40%      { transform: translate(3px, -2px) rotate(5deg); }
     opacity: 0;
     60%      { transform: translate(-3px, 2px) rotate(-5deg); }
     80%      { transform: translate(3px, -2px) rotate(5deg); }
}
}


.rocket-smoke-1 { animation: smoke-grow 2.5s ease-out forwards; animation-delay: 1s;  transform-origin: center; }
/* The flight: Solid all the way up, then instantly vanishes at the very end */
.rocket-smoke-2 { animation: smoke-grow 2.5s ease-out forwards; animation-delay: 1.4s; transform-origin: center; }
.rocket-smoke-3 { animation: smoke-grow 2.5s ease-out forwards; animation-delay: 1.8s; transform-origin: center; }
 
@keyframes rocket-fly {
@keyframes rocket-fly {
     0%   { transform: translateY(0);     opacity: 1; font-size: 2em; }
     0%   { transform: translateY(0); opacity: 1; }
     40% { transform: translateY(-30vh); opacity: 1; font-size: 2.2em; }
     99%   { transform: translateY(-110vh); opacity: 1; } /* Stays solid until the end */
     75{ transform: translateY(-70vh);  opacity: 1; font-size: 2.6em; }
     100%  { transform: translateY(-110vh); opacity: 0; } /* Vanishes as explosion starts */
    100% { transform: translateY(-110vh); opacity: 0; font-size: 3em; }
}
}


@keyframes explode {
@keyframes explode {
     0%  { transform: translateY(-110vh) scale(1); opacity: 1;  font-size: 2em; }
     0%  { transform: translateY(-110vh) scale(1); opacity: 1; }
    50%  { transform: translateY(-110vh) scale(3); opacity: 0.8; font-size: 5em; }
     100% { transform: translateY(-110vh) scale(6); opacity: 0; }
     100% { transform: translateY(-110vh) scale(6); opacity: 0;  font-size: 8em; }
}
 
@keyframes smoke-grow {
    0%  { transform: rotate(90deg) scale(0.5); opacity: 0.7; font-size: 1em; }
    40%  { transform: rotate(90deg) scale(2);  opacity: 0.4; font-size: 2em; }
    100% { transform: rotate(90deg) scale(4);  opacity: 0;  font-size: 3em; }
}
}

Latest revision as of 12:06, 11 April 2026

/* ==============================
   BIBISI LAUNCHER CSS
   Click-to-launch via :focus
   ============================== */

.rocket-wrapper {
    display: block;
    position: relative;
    cursor: pointer;
    outline: none;
}

.rocket {
    display: block;
}

.rocket-explosion {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    opacity: 0;
}

/* Trigger animations when clicked */
.rocket-wrapper:focus .rocket,
.rocket-wrapper:active .rocket {
    /* 1. Shake for 0.6 seconds */
    /* 2. Then fly for 2.4 seconds (starts after a 0.6s delay) */
    animation: 
        rocket-shake 0.6s linear,
        rocket-fly 2.4s ease-in 0.6s forwards;
}

.rocket-wrapper:focus .rocket-explosion,
.rocket-wrapper:active .rocket-explosion {
    animation: explode 1.2s ease-out forwards;
    animation-delay: 3s; /* Triggers exactly when the 3-second flight ends */
}

/* The shake effect */
@keyframes rocket-shake {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    20%      { transform: translate(-3px, 2px) rotate(-5deg); }
    40%      { transform: translate(3px, -2px) rotate(5deg); }
    60%      { transform: translate(-3px, 2px) rotate(-5deg); }
    80%      { transform: translate(3px, -2px) rotate(5deg); }
}

/* The flight: Solid all the way up, then instantly vanishes at the very end */
@keyframes rocket-fly {
    0%    { transform: translateY(0); opacity: 1; }
    99%   { transform: translateY(-110vh); opacity: 1; } /* Stays solid until the end */
    100%  { transform: translateY(-110vh); opacity: 0; } /* Vanishes as explosion starts */
}

@keyframes explode {
    0%   { transform: translateY(-110vh) scale(1); opacity: 1; }
    100% { transform: translateY(-110vh) scale(6); opacity: 0; }
}