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
m css testing 3
No edit summary
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* The launch animation: Acceleration, slight wobble, and high-speed exit */
/* The Button */
@keyframes launch-sequence {
.launcher-btn {
  0% { transform: translateY(0) rotate(0deg) scale(1); opacity: 1; }
    display: inline-block;
  10% { transform: translateY(20px) rotate(-5deg) scale(1.1); } /* Ignition/Wobble */
    padding: 8px 16px;
  20% { transform: translateY(-50px) rotate(5deg) scale(1.2); } /* Lift off */
    background: #d33;
   30% { transform: translateY(-150px) rotate(0deg) scale(1); } /* Stabilization */
    color: white;
  100% { transform: translateY(-1500px) scale(0.5); opacity: 0; } /* Thrust out of screen */
    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! */
}
}


.missile-object {
/* -------------------------------------- */
  position: fixed;
/* 2. FIRE (Shoots downward & loops)      */
  bottom: -100px; /* Starts below the screen */
/* -------------------------------------- */
  left: 50%;
.fire {
  visibility: hidden;
    top: 40px; /* Positioned slightly below the rocket */
  z-index: 9999;
    width: 100%;
  font-size: 50px;
    font-size: 30px;
  /* Acceleration curve: starts slow (ignition), ends very fast */
  transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
}
.f1 { animation-delay: 0s; }
.f2 { animation-delay: 0.1s; }
.f3 { animation-delay: 0.2s; }


.launcher-btn:active + .missile-object {
@keyframes fire-burn {
   visibility: visible;
    0%   { transform: translateY(0) scale(1); opacity: 1; }
  /* Animation duration: 1.5s is fast, perfect for a launch */
    100% { transform: translateY(40px) scale(0); opacity: 0; }
  animation: launch-sequence 1.5s cubic-bezier(0.5, 0, 1, 0) forwards;
}
}


.launcher-btn {
/* -------------------------------------- */
  cursor: pointer;
/* 3. SMOKE (Anchored, grows & fades)    */
  display: inline-block;
/* -------------------------------------- */
  padding: 10px;
.smoke {
   background: #333;
    top: 10px;
   color: #fff;
    width: 100%;
  border-radius: 5px;
    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; }
}
}

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