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:
/* Rocket animation */
/* Missile moves straight up */
@keyframes rocket-launch {
@keyframes rocket-move {
   0% { transform: translateY(0); }
   0% { transform: translateY(0); }
   100% { transform: translateY(-1200px); }
   100% { transform: translateY(-1200px); }
}
}


/* Smoke trail animation: Grows and fades */
/* Fire/Smoke spawns, grows, rotates, and fades */
@keyframes exhaust-trail {
@keyframes particle-fire {
   0% { opacity: 1; transform: scale(0.5); }
   0% { transform: scale(0.2) rotate(0deg); opacity: 1; }
   100% { opacity: 0.3; transform: scale(3) translateY(-50px); }
   100% { transform: scale(2.5) rotate(45deg); opacity: 0; }
}
}


.missile-object {
.missile-object {
   position: fixed;
   position: fixed;
   bottom: 50px;
   bottom: -50px;
   left: 50%;
   left: 50%;
  margin-left: -25px; /* Centers the rocket */
   font-size: 50px;
   font-size: 50px;
   visibility: hidden;
   visibility: hidden;
   z-index: 9999;
   z-index: 9999;
  text-align: center;
}
}


/* When clicking, trigger BOTH animations */
/* Particle style */
.launcher-btn:active + .missile-object {
.particle {
   visibility: visible;
   position: absolute;
   animation: rocket-launch 2s cubic-bezier(0.5, 0, 1, 0) forwards;
   top: 50px; /* Offset under the rocket */
  left: 10px;
  font-size: 20px;
  visibility: hidden;
}
}


/* The fire/smoke child element */
/* TRIGGER */
.launcher-btn:active + .missile-object .exhaust {
.launcher-btn:active + .missile-wrapper .missile-object {
   animation: exhaust-trail 1s ease-out infinite;
  visibility: visible;
   animation: rocket-move 2s cubic-bezier(0.5, 0, 1, 0) forwards;
}
}


.exhaust {
.launcher-btn:active + .missile-wrapper .particle {
   display: block;
   visibility: visible;
   font-size: 20px;
   animation: particle-fire 0.8s ease-out forwards;
}
}

Revision as of 17:52, 10 April 2026

/* Missile moves straight up */
@keyframes rocket-move {
  0% { transform: translateY(0); }
  100% { transform: translateY(-1200px); }
}

/* Fire/Smoke spawns, grows, rotates, and fades */
@keyframes particle-fire {
  0% { transform: scale(0.2) rotate(0deg); opacity: 1; }
  100% { transform: scale(2.5) rotate(45deg); opacity: 0; }
}

.missile-object {
  position: fixed;
  bottom: -50px;
  left: 50%;
  margin-left: -25px; /* Centers the rocket */
  font-size: 50px;
  visibility: hidden;
  z-index: 9999;
}

/* Particle style */
.particle {
  position: absolute;
  top: 50px; /* Offset under the rocket */
  left: 10px;
  font-size: 20px;
  visibility: hidden;
}

/* TRIGGER */
.launcher-btn:active + .missile-wrapper .missile-object {
  visibility: visible;
  animation: rocket-move 2s cubic-bezier(0.5, 0, 1, 0) forwards;
}

.launcher-btn:active + .missile-wrapper .particle {
  visibility: visible;
  animation: particle-fire 0.8s ease-out forwards;
}