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
 
(23 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* Button styling (makes the link look like a real button) */
/* ==============================
.launcher-btn {
  BIBISI LAUNCHER CSS
     display: inline-block;
  Click-to-launch via :focus
     padding: 8px 16px;
  ============================== */
    background: #d33;
 
     color: white;
.rocket-wrapper {
     font-weight: bold;
     display: block;
    border-radius: 5px;
     position: relative;
    text-decoration: none;
     cursor: pointer;
     outline: none;
}
}
.launcher-btn:hover {
 
     background: #f44;
.rocket {
     display: block;
}
}


/* TRIGGER: When the URL ends in #launch-easter-egg, start animation */
.rocket-explosion {
#launch-easter-egg:target .missile-object {
    display: flex;
     visibility: visible;
    align-items: center;
     animation: rocket-move 2s cubic-bezier(0.5, 0, 1, 0) forwards;
    justify-content: center;
     position: absolute;
     top: 0; left: 0; right: 0; bottom: 0;
    opacity: 0;
}
}


#launch-easter-egg:target .particle {
/* Trigger animations when clicked */
     visibility: visible;
.rocket-wrapper:focus .rocket,
     /* Changed to infinite so the fire loops while the rocket is in the air */
.rocket-wrapper:active .rocket {
     animation: particle-fire 0.8s ease-out infinite;  
     /* 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;
}
}


/* Missile moves straight up */
.rocket-wrapper:focus .rocket-explosion,
@keyframes rocket-move {
.rocket-wrapper:active .rocket-explosion {
     0%  { transform: translateY(0); }
     animation: explode 1.2s ease-out forwards;
     100% { transform: translateY(-1500px); }
     animation-delay: 3s; /* Triggers exactly when the 3-second flight ends */
}
}


/* Fire/Smoke spawns, grows, rotates, and fades */
/* The shake effect */
@keyframes particle-fire {
@keyframes rocket-shake {
     0%   { transform: scale(0.2) rotate(0deg); opacity: 1; }
     0%, 100% { transform: translate(0, 0) rotate(0deg); }
     100% { transform: scale(2.5) rotate(45deg); opacity: 0; }
    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); }
}
}


.missile-object {
/* The flight: Solid all the way up, then instantly vanishes at the very end */
     position: fixed;
@keyframes rocket-fly {
    bottom: -50px;
     0%    { transform: translateY(0); opacity: 1; }
     left: 50%;
     99%  { transform: translateY(-110vh); opacity: 1; } /* Stays solid until the end */
    margin-left: -25px; /* Centers the rocket */
     100%  { transform: translateY(-110vh); opacity: 0; } /* Vanishes as explosion starts */
     font-size: 50px;
    visibility: hidden;
    z-index: 9999;
}
}


/* Particle style */
@keyframes explode {
.particle {
     0%  { transform: translateY(-110vh) scale(1); opacity: 1; }
     position: absolute;
     100% { transform: translateY(-110vh) scale(6); opacity: 0; }
    top: 50px; /* Offset under the rocket */
     left: 10px;
    font-size: 20px;
    visibility: hidden;
}
}
/* Replaces the inline styles MediaWiki strips out */
.particle-1 { animation-delay: 0.1s; }
.particle-2 { animation-delay: 0.2s; left: 20px; }
.particle-3 { animation-delay: 0.3s; left: -10px; }

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; }
}