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
 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
     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;  
}
}


/* Base class for the speakers */
/* Speaker bouncing animation */
.party-speaker {
.party-speaker {
     flex-shrink: 0;
     flex-shrink: 0;
     /* 0.8s loop makes it fast, simulating a high-BPM beat */
     /* 5 beats playing at 0.5s each = 2.5s total loop.
     animation: speaker-pump 0.8s infinite;
      'ease-out' makes the shrinking feel like a natural fade. */
     animation: speaker-pump 2.5s ease-out infinite;
     transform-origin: center center;
     transform-origin: center center;
}
}


/* Offset the right speaker slightly to make the effect feel chaotic/stereo */
@keyframes speaker-pump {
.party-speaker-right {
    /* Beat 1: Heavy Drop */
     animation-delay: 0.15s;
    0%    { transform: scale(1.5); }
    19.9% { transform: scale(1); }
 
    /* Beat 2: Light Bump */
    20%  { transform: scale(1.2); }
    39.9% { transform: scale(1); }
 
    /* Beat 3: Medium Bump */
    40%  { transform: scale(1.4); }
    59.9% { transform: scale(1); }
 
    /* Beat 4: Tiny Bump */
    60%  { transform: scale(1.15); }
    79.9% { transform: scale(1); }
 
    /* Beat 5: Massive Drop */
     80%  { transform: scale(1.6); }
    99.9% { transform: scale(1); }
 
    /* Loop reset */
    100%  { transform: scale(1); }
}
}


/*  
/* Main Box Styling */
* Complex keyframes simulate a "random" heavy bass beat
.party-main-box {
* by scaling the image up and down at uneven intervals.
    padding: 0.5em;
*/
    margin: 0;
@keyframes speaker-pump {
    font-size: 95%;
     0%  { transform: scale(1); }
    text-align: center;
     12%  { transform: scale(1.35); }
    color: #fff;
     25%  { transform: scale(0.95); }
    border: 7px solid red;
     38%  { transform: scale(1.2); }
    /*
     50%  { transform: scale(1); }
    * flashy-glow changed from 0.5s to 2s to be
     65%  { transform: scale(1.45); }
    * safely under the epilepsy risk threshold
     75%  { transform: scale(0.9); }
    */
     88% { transform: scale(1.25); }
    animation: smooth-border 3s linear infinite, flashy-glow 2s step-end infinite;
     100% { transform: scale(1); }
}
 
/* Smoothly transitions through the rainbow */
@keyframes smooth-border {
     0%  { border-color: red; }
     17%  { border-color: orange; }
     33%  { border-color: yellow; }
     50%  { border-color: lime; }
     67%  { border-color: cyan; }
     83%  { border-color: magenta; }
     100% { border-color: red; }
}
 
/* Snaps instantly between neon colors */
@keyframes flashy-glow {
    0%  { box-shadow: 0px 0px 40px #00fe20, 0px 0px 2px #00fe20; }
    20% { box-shadow: 0px 0px 40px #ff00ff, 0px 0px 2px #ff00ff; }
    40% { box-shadow: 0px 0px 40px #00ffff, 0px 0px 2px #00ffff; }
    60% { box-shadow: 0px 0px 40px #ff0000, 0px 0px 2px #ff0000; }
     80% { box-shadow: 0px 0px 40px #ffff00, 0px 0px 2px #ffff00; }
     100%{ box-shadow: 0px 0px 40px #00fe20, 0px 0px 2px #00fe20; }
}
}

Latest revision as of 09:36, 13 April 2026

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

/* Speaker bouncing animation */
.party-speaker {
    flex-shrink: 0;
    /* 5 beats playing at 0.5s each = 2.5s total loop.
       'ease-out' makes the shrinking feel like a natural fade. */
    animation: speaker-pump 2.5s ease-out infinite;
    transform-origin: center center;
}

@keyframes speaker-pump {
    /* Beat 1: Heavy Drop */
    0%    { transform: scale(1.5); }
    19.9% { transform: scale(1); }

    /* Beat 2: Light Bump */
    20%   { transform: scale(1.2); }
    39.9% { transform: scale(1); }

    /* Beat 3: Medium Bump */
    40%   { transform: scale(1.4); }
    59.9% { transform: scale(1); }

    /* Beat 4: Tiny Bump */
    60%   { transform: scale(1.15); }
    79.9% { transform: scale(1); }

    /* Beat 5: Massive Drop */
    80%   { transform: scale(1.6); }
    99.9% { transform: scale(1); }

    /* Loop reset */
    100%  { transform: scale(1); }
}

/* Main Box Styling */
.party-main-box {
    padding: 0.5em;
    margin: 0;
    font-size: 95%;
    text-align: center;
    color: #fff;
    border: 7px solid red; 
    /* 
     * flashy-glow changed from 0.5s to 2s to be 
     * safely under the epilepsy risk threshold
     */
    animation: smooth-border 3s linear infinite, flashy-glow 2s step-end infinite;
}

/* Smoothly transitions through the rainbow */
@keyframes smooth-border {
    0%   { border-color: red; }
    17%  { border-color: orange; }
    33%  { border-color: yellow; }
    50%  { border-color: lime; }
    67%  { border-color: cyan; }
    83%  { border-color: magenta; }
    100% { border-color: red; }
}

/* Snaps instantly between neon colors */
@keyframes flashy-glow {
    0%  { box-shadow: 0px 0px 40px #00fe20, 0px 0px 2px #00fe20; }
    20% { box-shadow: 0px 0px 40px #ff00ff, 0px 0px 2px #ff00ff; }
    40% { box-shadow: 0px 0px 40px #00ffff, 0px 0px 2px #00ffff; }
    60% { box-shadow: 0px 0px 40px #ff0000, 0px 0px 2px #ff0000; }
    80% { box-shadow: 0px 0px 40px #ffff00, 0px 0px 2px #ffff00; }
    100%{ box-shadow: 0px 0px 40px #00fe20, 0px 0px 2px #00fe20; }
}