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
Line 1: Line 1:
/* ==============================
/* ==============================
   BIBISI LAUNCHER
   BIBISI LAUNCHER
   Pure CSS — no JS required
   Pure CSS rocket animation
  Checkbox toggle trick
  No JS or input required
   ============================== */
   ============================== */


/* Hide the actual checkbox */
.rocket-wrapper {
#rocket-toggle {
    display: none;
}
 
/* The visible button label */
.launcher-btn {
    display: inline-block;
    padding: 8px 16px;
    background: #d33;
    color: white;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.launcher-btn:hover { background: #f44; }
 
/* Fixed frame anchored to bottom center */
.spawn-frame {
     position: fixed;
     position: fixed;
     bottom: -50px;
     bottom: 20px;
     left: 50%;
     left: 50%;
     margin-left: -25px;
     margin-left: -25px;
     width: 50px;
     width: 50px;
     text-align: center;
     text-align: center;
    font-size: 50px;
     z-index: 9999;
     z-index: 9999;
}
}


/* All animation elements hidden by default */
.rocket {
.rocket-assembly,
    font-size: 2em;
.smoke,
    display: block;
.fire {
    animation: rocket-fly 3s cubic-bezier(0.4, 0, 1, 1) forwards;
    animation-delay: 2s;
}
 
.rocket-explosion {
    font-size: 1em;
    display: block;
     position: absolute;
     position: absolute;
    bottom: 0;
     left: 0;
     left: 0;
    visibility: hidden;
}
.fire {
    top: 40px;
     width: 100%;
     width: 100%;
     font-size: 30px;
     opacity: 0;
    animation: explode 1s ease-out forwards;
    animation-delay: 4.8s;
}
}
.f1 { animation-delay: 0s; }
.f2 { animation-delay: 0.1s; }
.f3 { animation-delay: 0.2s; }


.smoke {
    top: 10px;
    width: 100%;
    z-index: -1;
}
.s1 { margin-left: -15px; animation-delay: 0s; }
.s2 { margin-left: 15px;  animation-delay: 0.1s; }
.s3 { margin-top: 10px;  animation-delay: 0.2s; }
/* ==============================
  TRIGGERS — checkbox checked
  ============================== */
#rocket-toggle:checked ~ .spawn-frame .rocket-assembly {
    visibility: visible;
    animation: rocket-fly 2s linear forwards;
}
#rocket-toggle:checked ~ .spawn-frame .smoke {
    visibility: visible;
    animation: smoke-poof 0.8s ease-out forwards;
}
#rocket-toggle:checked ~ .spawn-frame .fire {
    visibility: visible;
    animation: fire-burn 0.4s linear infinite;
}
/* ==============================
  ANIMATIONS
  ============================== */
@keyframes rocket-fly {
@keyframes rocket-fly {
     0%  { transform: translateY(0); }
     0%  { transform: translateY(0);      font-size: 2em;  opacity: 1; }
     100% { transform: translateY(-120vh); }
     60% { transform: translateY(-40vh);  font-size: 2.4em; opacity: 1; }
}
     85% { transform: translateY(-80vh);  font-size: 2.8em; opacity: 1; }
 
     100% { transform: translateY(-100vh); font-size: 3em;  opacity: 0; }
@keyframes fire-burn {
     0%   { transform: translateY(0) scale(1); opacity: 1; }
     100% { transform: translateY(40px) scale(0); opacity: 0; }
}
}


@keyframes smoke-poof {
@keyframes explode {
     0%  { transform: scale(0.5); opacity: 1; }
     0%  { opacity: 1; transform: scale(1);  font-size: 1em; }
     100% { transform: scale(3); opacity: 0; }
    50%  { opacity: 0.8; transform: scale(3); font-size: 4em; }
     100% { opacity: 0; transform: scale(6); font-size: 8em; }
}
}

Revision as of 10:35, 11 April 2026

/* ==============================
   BIBISI LAUNCHER
   Pure CSS rocket animation
   No JS or input required
   ============================== */

.rocket-wrapper {
    position: fixed;
    bottom: 20px;
    left: 50%;
    margin-left: -25px;
    width: 50px;
    text-align: center;
    z-index: 9999;
}

.rocket {
    font-size: 2em;
    display: block;
    animation: rocket-fly 3s cubic-bezier(0.4, 0, 1, 1) forwards;
    animation-delay: 2s;
}

.rocket-explosion {
    font-size: 1em;
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    animation: explode 1s ease-out forwards;
    animation-delay: 4.8s;
}

@keyframes rocket-fly {
    0%   { transform: translateY(0);      font-size: 2em;   opacity: 1; }
    60%  { transform: translateY(-40vh);  font-size: 2.4em; opacity: 1; }
    85%  { transform: translateY(-80vh);  font-size: 2.8em; opacity: 1; }
    100% { transform: translateY(-100vh); font-size: 3em;   opacity: 0; }
}

@keyframes explode {
    0%   { opacity: 1; transform: scale(1);  font-size: 1em; }
    50%  { opacity: 0.8; transform: scale(3); font-size: 4em; }
    100% { opacity: 0; transform: scale(6);  font-size: 8em; }
}