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
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* Button styling */
/* The Button */
.launcher-btn {
.launcher-btn {
     display: inline-block;
     display: inline-block;
Line 7: Line 7:
     font-weight: bold;
     font-weight: bold;
     border-radius: 5px;
     border-radius: 5px;
     text-decoration: none;
     cursor: pointer;
    user-select: none;
}
}
.launcher-btn:hover { background: #f44; }
.launcher-btn:hover { background: #f44; }


/* -------------------------------------- */
/* -------------------------------------- */
/* TRIGGER ANIMATIONS ON CLICK            */
/* THE INVISIBLE FRAME (Never moves)      */
/* -------------------------------------- */
/* -------------------------------------- */
#launch-easter-egg:target .missile-object {
.spawn-frame {
    position: fixed;
    bottom: -50px;
    left: 50%;
    margin-left: -25px; /* Centers it perfectly */
    width: 50px;
    text-align: center;
    font-size: 50px;
    z-index: 9999;
}
 
/* Hide animation elements until triggered */
.rocket-assembly, .smoke, .fire {
    position: absolute;
    left: 0;
    visibility: hidden;
}
 
/* -------------------------------------- */
/* THE TRIGGERS                          */
/* -------------------------------------- */
/* When the button is clicked, start the animations */
#mw-customcollapsible-rocket:not(.mw-collapsed) ~ .spawn-frame .rocket-assembly {
     visibility: visible;
     visibility: visible;
     animation: rocket-move 2s cubic-bezier(0.5, 0, 1, 0) forwards;
     animation: rocket-fly 2s linear forwards;
}
}
 
#mw-customcollapsible-rocket:not(.mw-collapsed) ~ .spawn-frame .smoke {
#launch-easter-egg:target .smoke {
     visibility: visible;
     visibility: visible;
     animation: smoke-anim 1.5s ease-out forwards;
     animation: smoke-poof 0.8s ease-out forwards;
}
}
 
#mw-customcollapsible-rocket:not(.mw-collapsed) ~ .spawn-frame .fire {
#launch-easter-egg:target .fire {
     visibility: visible;
     visibility: visible;
    /* Infinite loop so it constantly shoots fire while flying */
     animation: fire-burn 0.4s linear infinite;
     animation: fire-anim 0.4s linear infinite;  
}
}


/* -------------------------------------- */
/* -------------------------------------- */
/* ROCKET (Moves up)                     */
/* 1. ROCKET (Moves altogether via vh)   */
/* -------------------------------------- */
/* -------------------------------------- */
.missile-object {
@keyframes rocket-fly {
    position: fixed;
    bottom: -50px;
    left: 50%;
    margin-left: -25px; /* Centers the rocket */
    font-size: 50px;
    visibility: hidden;
    z-index: 9999;
}
 
@keyframes rocket-move {
     0%  { transform: translateY(0); }
     0%  { transform: translateY(0); }
     100% { transform: translateY(-1500px); }
     100% { transform: translateY(-120vh); } /* Beautiful vh trick from your acorn! */
}
}


/* -------------------------------------- */
/* -------------------------------------- */
/* FIRE (Welded to rocket, shoots down)   */
/* 2. FIRE (Shoots downward & loops)     */
/* -------------------------------------- */
/* -------------------------------------- */
.fire {
.fire {
     position: absolute;
     top: 40px; /* Positioned slightly below the rocket */
    left: 10px; /* Centers under the rocket emoji */
     width: 100%;
     top: 40px; /* Offsets down from the rocket */
     font-size: 30px;
     font-size: 30px;
    visibility: hidden;
}
}
.f1 { animation-delay: 0s; }
.f2 { animation-delay: 0.1s; }
.f3 { animation-delay: 0.2s; }


/* Fire particles offset their start times so it looks like a continuous stream */
@keyframes fire-burn {
.fire-1 { animation-delay: 0s; }
.fire-2 { animation-delay: 0.2s; }
 
@keyframes fire-anim {
    /* Starts at normal size, then moves down the Y axis, shrinks, and fades out */
     0%  { transform: translateY(0) scale(1); opacity: 1; }
     0%  { transform: translateY(0) scale(1); opacity: 1; }
     100% { transform: translateY(50px) scale(0); opacity: 0; }
     100% { transform: translateY(40px) scale(0); opacity: 0; }
}
}


/* -------------------------------------- */
/* -------------------------------------- */
/* SMOKE (Anchored at spawn, gets huge)   */
/* 3. SMOKE (Anchored, grows & fades)     */
/* -------------------------------------- */
/* -------------------------------------- */
.smoke-pad {
    position: fixed;
    bottom: -50px;
    left: 50%;
    margin-left: -25px; /* Exact same position as the rocket start */
    font-size: 50px;
    z-index: 9998; /* Spawns behind the rocket */
}
.smoke {
.smoke {
     position: absolute;
     top: 10px;
    left: 0;
     width: 100%;
     top: 0;
     z-index: -1; /* Keep smoke behind the rocket */
     visibility: hidden;
}
}
.s1 { margin-left: -15px; animation-delay: 0s; }
.s2 { margin-left: 15px;  animation-delay: 0.1s; }
.s3 { margin-top: 10px;  animation-delay: 0.2s; }


/* Spread the smoke out slightly */
@keyframes smoke-poof {
.smoke-1 { transform: translateX(-20px); }
.smoke-2 { transform: translateX(20px); animation-delay: 0.1s; }
.smoke-3 { transform: translateY(10px); animation-delay: 0.2s; }
 
@keyframes smoke-anim {
    /* Starts normal size, blows up to 5x size, and fades away completely */
     0%  { transform: scale(0.5); opacity: 1; }
     0%  { transform: scale(0.5); opacity: 1; }
     100% { transform: scale(5); opacity: 0; }
     100% { transform: scale(3); opacity: 0; }
}
}

Latest revision as of 18:21, 10 April 2026

/* The Button */
.launcher-btn {
    display: inline-block;
    padding: 8px 16px;
    background: #d33;
    color: white;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
}
.launcher-btn:hover { background: #f44; }

/* -------------------------------------- */
/* THE INVISIBLE FRAME (Never moves)      */
/* -------------------------------------- */
.spawn-frame {
    position: fixed;
    bottom: -50px;
    left: 50%;
    margin-left: -25px; /* Centers it perfectly */
    width: 50px;
    text-align: center;
    font-size: 50px;
    z-index: 9999;
}

/* Hide animation elements until triggered */
.rocket-assembly, .smoke, .fire {
    position: absolute;
    left: 0;
    visibility: hidden;
}

/* -------------------------------------- */
/* THE TRIGGERS                           */
/* -------------------------------------- */
/* When the button is clicked, start the animations */
#mw-customcollapsible-rocket:not(.mw-collapsed) ~ .spawn-frame .rocket-assembly {
    visibility: visible;
    animation: rocket-fly 2s linear forwards;
}
#mw-customcollapsible-rocket:not(.mw-collapsed) ~ .spawn-frame .smoke {
    visibility: visible;
    animation: smoke-poof 0.8s ease-out forwards;
}
#mw-customcollapsible-rocket:not(.mw-collapsed) ~ .spawn-frame .fire {
    visibility: visible;
    animation: fire-burn 0.4s linear infinite;
}

/* -------------------------------------- */
/* 1. ROCKET (Moves altogether via vh)    */
/* -------------------------------------- */
@keyframes rocket-fly {
    0%   { transform: translateY(0); }
    100% { transform: translateY(-120vh); } /* Beautiful vh trick from your acorn! */
}

/* -------------------------------------- */
/* 2. FIRE (Shoots downward & loops)      */
/* -------------------------------------- */
.fire {
    top: 40px; /* Positioned slightly below the rocket */
    width: 100%;
    font-size: 30px;
}
.f1 { animation-delay: 0s; }
.f2 { animation-delay: 0.1s; }
.f3 { animation-delay: 0.2s; }

@keyframes fire-burn {
    0%   { transform: translateY(0) scale(1); opacity: 1; }
    100% { transform: translateY(40px) scale(0); opacity: 0; }
}

/* -------------------------------------- */
/* 3. SMOKE (Anchored, grows & fades)     */
/* -------------------------------------- */
.smoke {
    top: 10px;
    width: 100%;
    z-index: -1; /* Keep smoke behind the rocket */
}
.s1 { margin-left: -15px; animation-delay: 0s; }
.s2 { margin-left: 15px;  animation-delay: 0.1s; }
.s3 { margin-top: 10px;   animation-delay: 0.2s; }

@keyframes smoke-poof {
    0%   { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(3); opacity: 0; }
}