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:Party/style.css: Difference between revisions

From SNCApedia, the shit nobody cares about encyclopedia
Jump to navigationJump to search
test
 
No edit summary
Line 1: Line 1:
/*
==================================================
Template:Party/style.css
Controls the layout and the "thumping" speaker
animation for the Party template.
==================================================
*/
.party-wrapper {
.party-wrapper {
     display: flex;
     display: flex;
     align-items: center;
     align-items: center;
     justify-content: center;
     justify-content: center;
     gap: 15px; /* Space between the speakers and the template box */
     gap: 15px;  
     margin: 1em auto;
     margin: 1em auto;
     padding: 20px; /* Prevents the scaled-up speakers from clipping */
     padding: 20px;  
}
}


Line 14: Line 22:
     animation: speaker-pump 0.8s infinite;
     animation: speaker-pump 0.8s infinite;
     transform-origin: center center;
     transform-origin: center center;
}
/* Offset the right speaker slightly to make the effect feel chaotic/stereo */
.party-speaker-right {
    animation-delay: 0.15s;
}
}


/*  
/*  
  * Complex keyframes simulate a "random" heavy bass beat  
  * Complex keyframes simulate a "random" heavy bass beat.
  * by scaling the image up and down at uneven intervals.
  * By removing the delay, both speakers will now stay
* the exact same size at the exact same time!
  */
  */
@keyframes speaker-pump {
@keyframes speaker-pump {

Revision as of 21:38, 12 April 2026

/* 
==================================================
Template:Party/style.css
Controls the layout and the "thumping" speaker 
animation for the Party template.
==================================================
*/

.party-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px; 
    margin: 1em auto;
    padding: 20px; 
}

/* Base class for the speakers */
.party-speaker {
    flex-shrink: 0;
    /* 0.8s loop makes it fast, simulating a high-BPM beat */
    animation: speaker-pump 0.8s infinite;
    transform-origin: center center;
}

/* 
 * Complex keyframes simulate a "random" heavy bass beat.
 * By removing the delay, both speakers will now stay
 * the exact same size at the exact same time!
 */
@keyframes speaker-pump {
    0%   { transform: scale(1); }
    12%  { transform: scale(1.35); }
    25%  { transform: scale(0.95); }
    38%  { transform: scale(1.2); }
    50%  { transform: scale(1); }
    65%  { transform: scale(1.45); }
    75%  { transform: scale(0.9); }
    88%  { transform: scale(1.25); }
    100% { transform: scale(1); }
}