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
 
(28 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* The launch animation: Acceleration, slight wobble, and high-speed exit */
/* ==============================
@keyframes launch-sequence {
  BIBISI LAUNCHER CSS
  0% { transform: translateY(0) rotate(0deg) scale(1); opacity: 1; }
  Click-to-launch via :focus
  10% { transform: translateY(20px) rotate(-5deg) scale(1.1); } /* Ignition/Wobble */
  ============================== */
  20% { transform: translateY(-50px) rotate(5deg) scale(1.2); } /* Lift off */
 
  30% { transform: translateY(-150px) rotate(0deg) scale(1); } /* Stabilization */
.rocket-wrapper {
  100% { transform: translateY(-1500px) scale(0.5); opacity: 0; } /* Thrust out of screen */
    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 */
}
}


.missile-object {
/* The shake effect */
  position: fixed;
@keyframes rocket-shake {
  bottom: -100px; /* Starts below the screen */
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
  left: 50%;
    20%      { transform: translate(-3px, 2px) rotate(-5deg); }
  visibility: hidden;
    40%      { transform: translate(3px, -2px) rotate(5deg); }
  z-index: 9999;
    60%      { transform: translate(-3px, 2px) rotate(-5deg); }
  font-size: 50px;
    80%      { transform: translate(3px, -2px) rotate(5deg); }
  /* Acceleration curve: starts slow (ignition), ends very fast */
  transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
}


.launcher-btn:active + .missile-object {
/* The flight: Solid all the way up, then instantly vanishes at the very end */
  visibility: visible;
@keyframes rocket-fly {
   /* Animation duration: 1.5s is fast, perfect for a launch */
    0%    { transform: translateY(0); opacity: 1; }
  animation: launch-sequence 1.5s cubic-bezier(0.5, 0, 1, 0) forwards;
    99%   { transform: translateY(-110vh); opacity: 1; } /* Stays solid until the end */
    100%  { transform: translateY(-110vh); opacity: 0; } /* Vanishes as explosion starts */
}
}


.launcher-btn {
@keyframes explode {
   cursor: pointer;
    0%   { transform: translateY(-110vh) scale(1); opacity: 1; }
  display: inline-block;
    100% { transform: translateY(-110vh) scale(6); opacity: 0; }
  padding: 10px;
  background: #333;
  color: #fff;
  border-radius: 5px;
}
}

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