Template:OMGSISA/styles.css
From SNCApedia, the shit nobody cares about encyclopedia
Jump to navigationJump to search
/* Container Setup */
.omgsisa-wrapper {
position: relative;
overflow: hidden;
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);
/* Display table is a sanitizer-safe trick to wrap width perfectly to contents */
display: table;
margin: 10px auto;
padding: 10px 20px;
z-index: 1;
}
/* Beating 💓 Background using text emojis */
.omgsisa-bg {
position: absolute;
top: -10%; left: -10%; right: -10%; bottom: -10%;
font-size: 35px;
line-height: 1.6;
text-align: center;
opacity: 0.25;
z-index: 0;
animation: omgsisa-heartbeat 1.5s infinite ease-in-out;
}
@keyframes omgsisa-heartbeat {
0%, 100% { transform: scale(1); }
15% { transform: scale(1.1); }
30% { transform: scale(1); }
45% { transform: scale(1.1); }
}
/* Flexbox Content Layout */
.omgsisa-content {
position: relative;
z-index: 2; /* Keeps text clickable above floaters and background */
display: flex;
flex-flow: row wrap;
align-items: center;
justify-content: center;
gap: 15px;
}
/* Title & Subtitle Styling */
.omgsisa-text {
text-align: center;
}
.omgsisa-title {
font-size: 150%;
font-weight: bold;
color: white;
/* Emulates -webkit-text-stroke safely across all browsers */
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: 5px;
}
.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);
}
/* Floating "Thrown Up" Valentine & Emotion Elements */
.omgsisa-floater {
position: absolute;
top: 100%;
font-size: 24px;
opacity: 0;
z-index: 1;
animation: omgsisa-float-up linear infinite;
}
@keyframes omgsisa-float-up {
0% { transform: translateY(0) rotate(0deg); opacity: 0; }
10% { opacity: 0.8; }
80% { opacity: 0.8; }
100% { transform: translateY(-200px) rotate(45deg); opacity: 0; }
}
/* Staggering the floaters to look chaotic and organic */
.f1 { left: 5%; animation-duration: 4s; animation-delay: 0s; }
.f2 { left: 15%; animation-duration: 5.5s; animation-delay: 1s; }
.f3 { left: 25%; animation-duration: 4.2s; animation-delay: 2s; }
.f4 { left: 35%; animation-duration: 6s; animation-delay: 0.5s; }
.f5 { left: 45%; animation-duration: 5s; animation-delay: 3s; }
.f6 { left: 55%; animation-duration: 4.8s; animation-delay: 1.5s; }
.f7 { left: 65%; animation-duration: 5.2s; animation-delay: 0.2s; }
.f8 { left: 75%; animation-duration: 6.5s; animation-delay: 2.5s; }
.f9 { left: 85%; animation-duration: 4.5s; animation-delay: 1.2s; }
.f10 { left: 92%; animation-duration: 5.8s; animation-delay: 0.8s; }