The Gold Network: Soyworld | SNCApedia | SoyPlace


If your contributions get rejected for no reason, please contact Editor.


I'm not dead, just inactive for the moment. Faggot (talk) 20:16, 9 April 2026 (UTC)

Template:OMGSISA/styles.css: Difference between revisions

From SNCApedia, the shit nobody cares about encyclopedia
Jump to navigationJump to search
mNo edit summary
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* Container Box */
/* Table wrapper forces the box to "shrink-wrap" its contents perfectly. No dead space! */
.omgsisa-aligner {
display: table;
margin: 10px auto;
}
 
.omgsisa-container {
.omgsisa-container {
position: relative;
position: relative;
overflow: hidden;  
overflow: hidden;  
border: 3px solid #d177ba;
/* Soft valentine red */
background-color: #ff8585;
background: radial-gradient(circle, #ff9999 0%, #ff6b6b 100%);
border: 3px solid #cc3333;
border-radius: 10px;
border-radius: 10px;
box-shadow: inset 0 0 10px rgba(209, 119, 186, 0.8), 0 4px 6px rgba(0,0,0,0.1);
box-shadow: inset 0 0 10px rgba(204, 51, 51, 0.6), 0 4px 6px rgba(0,0,0,0.1);
margin: 10px auto;
max-width: 900px;
padding: 10px 20px;
padding: 10px 20px;
z-index: 1;
z-index: 1;
}
}


/* Background sliding and beating using your ORIGINAL code! */
/* Background Layers - Seamless "Breathing" Drift */
.omgsisa-bg {
.omgsisa-bg {
position: absolute;
position: absolute;
/* Extends beyond the borders so when it scales down, it doesn't show blank edges */
top: -50%; left: -50%;  
top: -20%; left: -20%; right: -20%; bottom: -20%;
width: 200%; height: 200%;
background-color: pink;
font-size: 55px;  
background-size: 100px 100px;
line-height: 1.15;
background-repeat: repeat;
letter-spacing: -2px;
background-image:  
word-wrap: break-word;
radial-gradient(circle at 37% 42%, red 17%, rgba(255, 255, 255, 0) 17%),
opacity: 0.15;  
radial-gradient(circle at 63% 42%, red 17%, rgba(255, 255, 255, 0) 17%),
linear-gradient(to top left, pink 37%, rgba(255, 255, 255, 0) 37%),
linear-gradient(to top right, pink 37%, rgba(255, 255, 255, 0) 37%),
radial-gradient(circle at 50% 58%, red 30%, rgba(255, 255, 255, 0) 30%);
z-index: 0;
z-index: 0;
/* Runs both your slide and a heartbeat scale */
/* Added 'alternate' and 'ease-in-out' for a seamless, floating ping-pong effect */
animation: bg-slide 10s infinite linear, bg-beat 1.5s infinite ease-in-out;
animation: bg-slide 20s ease-in-out infinite alternate;  
}
}


@keyframes bg-slide {
@keyframes bg-slide {
0% { background-position: 0 0; }
0% { transform: translate(0, 0); }
100% { background-position: 100px 100px; }
100% { transform: translate(10%, 10%); }
}
}


@keyframes bg-beat {
/* Layout - Hugs images and text tight! */
0%, 100% { transform: scale(1); }
15% { transform: scale(1.1); }
30% { transform: scale(1); }
45% { transform: scale(1.1); }
}
 
/* Layout - Space-between pushes images to the corners perfectly */
.omgsisa-inner {
.omgsisa-inner {
position: relative;
position: relative;
Line 50: Line 45:
flex-flow: row nowrap;
flex-flow: row nowrap;
align-items: center;
align-items: center;
justify-content: space-between; /* <--- This eliminates the dead space */
justify-content: center;  
gap: 15px;
gap: 20px;
width: 100%;
}
}


.omgsisa-text {
.omgsisa-text {
text-align: center;
text-align: center;
flex: 1;
}
}


Line 69: Line 62:
font-weight: bold;
font-weight: bold;
color: white;
color: white;
/* Deep soft red stroke */
text-shadow:  
text-shadow:  
-2px -2px 0 #d177ba,  2px -2px 0 #d177ba,
-2px -2px 0 #cc3333,  2px -2px 0 #cc3333,
-2px  2px 0 #d177ba,  2px  2px 0 #d177ba,
-2px  2px 0 #cc3333,  2px  2px 0 #cc3333,
0px  4px 6px rgba(209, 119, 186, 0.8);
0px  4px 6px rgba(204, 51, 51, 0.8);
margin-bottom: 3px;
margin-bottom: 3px;
}
}
Line 82: Line 76:
color: white;
color: white;
font-weight: bold;
font-weight: bold;
text-shadow: 1px 1px 3px rgba(209, 119, 186, 0.8);
text-shadow: 1px 1px 3px rgba(204, 51, 51, 0.8);
}
}


Line 92: Line 86:


/* -------------------------------------
/* -------------------------------------
   THROWN ITEMS (Contained Parabola)
   THROWN ITEMS (True Gravity Physics)
-------------------------------------- */
-------------------------------------- */
.omgsisa-item {
.omgsisa-item {
position: absolute;
position: absolute;
top: 85%; /* Starts closer to the bottom edge */
top: 85%;
font-size: 24px;
font-size: 24px;
opacity: 0;
opacity: 0;
Line 104: Line 98:


@keyframes item-throw {
@keyframes item-throw {
0% { transform: translate(0, 0) rotate(0deg); opacity: 0; }
/* ease-out makes it lose speed as it reaches the peak */
10% { opacity: 1; }
0% { transform: translate(0, 10px) rotate(0deg); opacity: 0; animation-timing-function: ease-out; }
50% { transform: translate(30px, -60px) rotate(180deg); opacity: 1; } /* Doesn't go up too high anymore */
15% { opacity: 1; }
90% { opacity: 1; }
/* Peak height, ease-in makes it gain speed as it falls down */
100% { transform: translate(60px, 20px) rotate(360deg); opacity: 0; } /* Falls back down slightly */
50% { transform: translate(40px, -70px) rotate(180deg); opacity: 1; animation-timing-function: ease-in; }
85% { opacity: 1; }
100% { transform: translate(80px, 30px) rotate(360deg); opacity: 0; }
}
}


Line 119: Line 115:


/* -------------------------------------
/* -------------------------------------
   FLOATING EMOTIONS (Contained Upward Float)
   FLOATING EMOTIONS (Smooth Upward Float)
-------------------------------------- */
-------------------------------------- */
.omgsisa-emotion {
.omgsisa-emotion {
Line 134: Line 130:
20% { opacity: 0.8; }
20% { opacity: 0.8; }
70% { opacity: 0.8; }
70% { opacity: 0.8; }
100% { transform: translateY(-90px) scale(1.2); opacity: 0; } /* Disappears before leaving the frame */
100% { transform: translateY(-90px) scale(1.2); opacity: 0; }
}
}



Latest revision as of 10:48, 22 April 2026

/* Table wrapper forces the box to "shrink-wrap" its contents perfectly. No dead space! */
.omgsisa-aligner {
	display: table;
	margin: 10px auto;
}

.omgsisa-container {
	position: relative;
	overflow: hidden; 
	/* Soft valentine red */
	background-color: #ff8585;
	background: radial-gradient(circle, #ff9999 0%, #ff6b6b 100%);
	border: 3px solid #cc3333;
	border-radius: 10px;
	box-shadow: inset 0 0 10px rgba(204, 51, 51, 0.6), 0 4px 6px rgba(0,0,0,0.1);
	padding: 10px 20px;
	z-index: 1;
}

/* Background Layers - Seamless "Breathing" Drift */
.omgsisa-bg {
	position: absolute;
	top: -50%; left: -50%; 
	width: 200%; height: 200%;
	font-size: 55px; 
	line-height: 1.15;
	letter-spacing: -2px;
	word-wrap: break-word;
	opacity: 0.15; 
	z-index: 0;
	/* Added 'alternate' and 'ease-in-out' for a seamless, floating ping-pong effect */
	animation: bg-slide 20s ease-in-out infinite alternate; 
}

@keyframes bg-slide {
	0% { transform: translate(0, 0); }
	100% { transform: translate(10%, 10%); }
}

/* Layout - Hugs images and text tight! */
.omgsisa-inner {
	position: relative;
	z-index: 2; 
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	justify-content: center; 
	gap: 20px;
}

.omgsisa-text {
	text-align: center;
}

.omgsisa-image {
	flex: 0 0 auto;
}

/* Title & Audio Styling */
.omgsisa-title {
	font-size: 140%;
	font-weight: bold;
	color: white;
	/* Deep soft red stroke */
	text-shadow: 
		-2px -2px 0 #cc3333,  2px -2px 0 #cc3333,
		-2px  2px 0 #cc3333,  2px  2px 0 #cc3333,
		 0px  4px 6px rgba(204, 51, 51, 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(204, 51, 51, 0.8);
}

.omgsisa-audio {
	margin-top: 8px;
	display: flex;
	justify-content: center;
}

/* -------------------------------------
   THROWN ITEMS (True Gravity Physics)
-------------------------------------- */
.omgsisa-item {
	position: absolute;
	top: 85%;
	font-size: 24px;
	opacity: 0;
	z-index: 1; 
	animation: item-throw linear infinite;
}

@keyframes item-throw {
	/* ease-out makes it lose speed as it reaches the peak */
	0% { transform: translate(0, 10px) rotate(0deg); opacity: 0; animation-timing-function: ease-out; }
	15% { opacity: 1; }
	/* Peak height, ease-in makes it gain speed as it falls down */
	50% { transform: translate(40px, -70px) rotate(180deg); opacity: 1; animation-timing-function: ease-in; }
	85% { opacity: 1; }
	100% { transform: translate(80px, 30px) rotate(360deg); opacity: 0; }
}

.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 (Smooth Upward Float)
-------------------------------------- */
.omgsisa-emotion {
	position: absolute;
	top: 85%;
	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; }
	70% { opacity: 0.8; }
	100% { transform: translateY(-90px) 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; }