Template:OMGSISA/styles.css
From SNCApedia, the shit nobody cares about encyclopedia
Jump to navigationJump to search
/* Container Box */
.omgsisa-container {
position: relative;
overflow: hidden; /* Strict borders, nothing escapes */
background-color: #ffb6c1;
background: radial-gradient(circle, #ffc0cb 0%, #ff9ebb 100%);
border: 3px solid #d177ba;
border-radius: 10px;
box-shadow: inset 0 0 10px rgba(209, 119, 186, 0.8), 0 4px 6px rgba(0,0,0,0.1);
margin: 10px auto;
max-width: 900px;
padding: 10px 20px;
z-index: 1;
}
/* Background sliding and beating */
.omgsisa-bg {
position: absolute;
top: -50%; left: -20%;
width: 150%; height: 200%;
line-height: 1.5;
opacity: 0.25;
z-index: 0;
/* Two animations running together perfectly */
animation: bg-slide 15s linear infinite, bg-beat 1.2s ease-in-out infinite;
word-wrap: break-word;
}
@keyframes bg-slide {
0% { transform: translate(-20%, 0); }
100% { transform: translate(0%, -10%); }
}
@keyframes bg-beat {
0%, 100% { font-size: 35px; }
50% { font-size: 42px; } /* Beating done via font-size so it doesn't conflict with translate */
}
/* Content Layout */
.omgsisa-inner {
position: relative;
z-index: 2; /* Keeps all clickable elements above the floaters */
display: flex;
flex-flow: row wrap;
align-items: center;
justify-content: center;
gap: 15px;
}
.omgsisa-text {
text-align: center;
flex: 1;
}
/* Title & Audio Styling */
.omgsisa-title {
font-size: 140%;
font-weight: bold;
color: white;
text-shadow:
-2px -2px 0 #d177ba, 2px -2px 0 #d177ba,
-2px 2px 0 #d177ba, 2px 2px 0 #d177ba,
0px 4px 6px rgba(209, 119, 186, 0.8);
margin-bottom: 3px;
}
.omgsisa-title a { color: white; text-decoration: none; }
.omgsisa-title a:hover { text-decoration: underline; }
.omgsisa-subtitle {
font-size: 110%;
color: white;
font-weight: bold;
text-shadow: 1px 1px 3px rgba(209, 119, 186, 0.8);
}
.omgsisa-audio {
margin-top: 8px; /* Forces audio player below the text */
display: flex;
justify-content: center;
}
/* -------------------------------------
THROWN ITEMS (Parabola Arc)
-------------------------------------- */
.omgsisa-item {
position: absolute;
top: 100%;
font-size: 24px;
opacity: 0;
z-index: 1;
animation: item-throw linear infinite;
}
@keyframes item-throw {
0% { transform: translate(0, 0) rotate(0deg); opacity: 0; }
10% { opacity: 1; }
40% { transform: translate(30px, -180px) rotate(180deg); } /* Peak height */
80% { opacity: 1; }
100% { transform: translate(60px, 50px) rotate(360deg); opacity: 0; } /* Fall down */
}
.i1 { left: 10%; animation-duration: 3s; animation-delay: 0s; }
.i2 { left: 30%; animation-duration: 4s; animation-delay: 1.5s; }
.i3 { left: 50%; animation-duration: 3.5s; animation-delay: 0.5s; }
.i4 { left: 70%; animation-duration: 4.5s; animation-delay: 2s; }
.i5 { left: 85%; animation-duration: 3.2s; animation-delay: 1s; }
.i6 { left: 20%; animation-duration: 3.8s; animation-delay: 2.5s; }
/* -------------------------------------
FLOATING EMOTIONS (Straight Up)
-------------------------------------- */
.omgsisa-emotion {
position: absolute;
top: 100%;
font-size: 26px;
opacity: 0;
z-index: 1;
animation: emotion-float linear infinite;
}
@keyframes emotion-float {
0% { transform: translateY(0) scale(0.8); opacity: 0; }
20% { opacity: 0.8; }
80% { opacity: 0.8; }
100% { transform: translateY(-250px) scale(1.2); opacity: 0; }
}
.e1 { left: 15%; animation-duration: 5s; animation-delay: 0.2s; }
.e2 { left: 40%; animation-duration: 6s; animation-delay: 1.2s; }
.e3 { left: 65%; animation-duration: 4.5s; animation-delay: 0.8s; }
.e4 { left: 90%; animation-duration: 5.5s; animation-delay: 2.2s; }