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:Gegbull/styles.css: Difference between revisions

From SNCApedia, the shit nobody cares about encyclopedia
Jump to navigationJump to search
mNo edit summary
mNo edit summary
 
Line 3: Line 3:
display: table;
display: table;
margin: 15px auto;
margin: 15px auto;
width: 80%; /* Takes up a good portion of the page */
width: 80%;  
max-width: 900px;
max-width: 900px;
}
}
Line 11: Line 11:
position: relative;
position: relative;
overflow: hidden;
overflow: hidden;
background-color: #ffffff;
background-color: #ffffff; /* Fallback */
border: 3px solid #887777;
border: 3px solid #887777;
border-radius: 8px;
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
box-shadow: 0 4px 10px rgba(0,0,0,0.3);
z-index: 1;
z-index: 1;
}
}


/* =========================================
/* =========================================
   COW SPOTS (Converted to responsive percentages)
   BACKGROUND (Cow Skin Image)
========================================= */
========================================= */
.gegbull-spot {
.gegbull-bg {
position: absolute;
position: absolute;
background: #111111;
top: 0; left: 0; right: 0; bottom: 0;
border-radius: 40%; /* Organic oval shapes */
z-index: 0;
z-index: 0;
}
}


.s1  { width: 60px; height: 40px; top: -5%; left: 5%; transform: rotate(10deg); }
/* Forces the 1000px image to perfectly cover the box without squishing */
.s2  { width: 50px; height: 35px; top: 60%; left: 15%; transform: rotate(-20deg); }
.gegbull-bg img {
.s3  { width: 70px; height: 45px; top: 5%; left: 25%; transform: rotate(15deg); }
width: 100%;
.s4  { width: 55px; height: 35px; top: 70%; left: 35%; transform: rotate(-10deg); }
height: 100%;
.s5  { width: 65px; height: 40px; top: -10%; left: 48%; transform: rotate(5deg); }
object-fit: cover;
.s6  { width: 60px; height: 38px; top: 65%; left: 58%; transform: rotate(-15deg); }
}
.s7  { width: 50px; height: 30px; top: 10%; left: 68%; transform: rotate(12deg); }
.s8  { width: 45px; height: 28px; top: 55%; left: 78%; transform: rotate(25deg); }
.s9  { width: 55px; height: 32px; top: 5%; left: 88%; transform: rotate(-30deg); }
.s10 { width: 40px; height: 30px; top: 75%; left: 90%; transform: rotate(20deg); }
.s11 { width: 35px; height: 25px; top: 40%; left: -2%; transform: rotate(-10deg); }


/* =========================================
/* =========================================
   MILK LIQUID SIMULATION
   MILK LIQUID SIMULATION
========================================= */
========================================= */
.gegbull-milk {
.gegbull-milk-shadow {
position: absolute;
position: absolute;
top: 0; left: 0;
top: 0; left: 0;
width: 100%; height: 100%;
width: 100%; height: 100%;
/* Slightly transparent so cow spots look "underwater" */
background-color: rgba(255, 255, 255, 0.92);
z-index: 1;
z-index: 1;
/* Sloshing animation */
/* Applies a dynamic shadow strictly to the waving edge of the milk! */
filter: drop-shadow(0px -4px 6px rgba(0, 0, 0, 0.4));
}
 
.gegbull-milk {
width: 100%; height: 100%;
background-color: rgba(255, 255, 255, 0.95); /* Mostly solid milk */
animation: milk-wave 4s ease-in-out infinite alternate;
animation: milk-wave 4s ease-in-out infinite alternate;
}
}


/* Adapted from your polygon code! Shifted Y-values to fill the bottom 45% */
/* Raised the milk level to sit higher up in the box (~35% empty, 65% full) */
@keyframes milk-wave {
@keyframes milk-wave {
0% { clip-path: polygon(0% 55%, 16% 60%, 33% 55%, 54% 59%, 70% 57%, 84% 56.2%, 100% 57%, 100% 100%, 0% 100%); }
0% { clip-path: polygon(0% 30%, 16% 35%, 33% 30%, 54% 34%, 70% 32%, 84% 31.2%, 100% 32%, 100% 100%, 0% 100%); }
100% { clip-path: polygon(0% 58%, 16% 57%, 34% 61.6%, 51% 61.2%, 67% 62.0%, 84% 62.5%, 100% 60.6%, 100% 100%, 0% 100%); }
100% { clip-path: polygon(0% 33%, 16% 32%, 34% 36.6%, 51% 36.2%, 67% 37.0%, 84% 37.5%, 100% 35.6%, 100% 100%, 0% 100%); }
}
}


Line 65: Line 63:
.gegbull-inner {
.gegbull-inner {
position: relative;
position: relative;
z-index: 2; /* Keeps text and image above the milk */
z-index: 2; /* Keeps text and image above the milk and background */
display: flex;
display: flex;
flex-flow: row nowrap;
flex-flow: row nowrap;
Line 91: Line 89:
/* Typography & Thick Outline */
/* Typography & Thick Outline */
.outline {
.outline {
/* 8-axis solid white outline to protect against black spots */
/* 8-axis solid white outline + a deep dark shadow to pop off the white milk! */
text-shadow:  
text-shadow:  
-2px -2px 0 #ffffff,  
-2px -2px 0 #ffffff,  
Line 101: Line 99:
-2px  2px 0 #ffffff,  
-2px  2px 0 #ffffff,  
-2px  0  0 #ffffff,
-2px  0  0 #ffffff,
0    4px 5px rgba(255,255,255,0.8);
0    4px 6px rgba(0,0,0,0.7); /* Added deep shadow here */
}
}



Latest revision as of 13:41, 23 April 2026

/* Wrapper for shrink-to-fit centering */
.gegbull-aligner {
	display: table;
	margin: 15px auto;
	width: 80%; 
	max-width: 900px;
}

/* Main Box Structure */
.gegbull-container {
	position: relative;
	overflow: hidden;
	background-color: #ffffff; /* Fallback */
	border: 3px solid #887777;
	border-radius: 8px;
	box-shadow: 0 4px 10px rgba(0,0,0,0.3);
	z-index: 1;
}

/* =========================================
   BACKGROUND (Cow Skin Image)
========================================= */
.gegbull-bg {
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	z-index: 0;
}

/* Forces the 1000px image to perfectly cover the box without squishing */
.gegbull-bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* =========================================
   MILK LIQUID SIMULATION
========================================= */
.gegbull-milk-shadow {
	position: absolute;
	top: 0; left: 0;
	width: 100%; height: 100%;
	z-index: 1;
	/* Applies a dynamic shadow strictly to the waving edge of the milk! */
	filter: drop-shadow(0px -4px 6px rgba(0, 0, 0, 0.4));
}

.gegbull-milk {
	width: 100%; height: 100%;
	background-color: rgba(255, 255, 255, 0.95); /* Mostly solid milk */
	animation: milk-wave 4s ease-in-out infinite alternate;
}

/* Raised the milk level to sit higher up in the box (~35% empty, 65% full) */
@keyframes milk-wave {
	0% { clip-path: polygon(0% 30%, 16% 35%, 33% 30%, 54% 34%, 70% 32%, 84% 31.2%, 100% 32%, 100% 100%, 0% 100%); }
	100% { clip-path: polygon(0% 33%, 16% 32%, 34% 36.6%, 51% 36.2%, 67% 37.0%, 84% 37.5%, 100% 35.6%, 100% 100%, 0% 100%); }
}

/* =========================================
   LAYOUT & CONTENT
========================================= */
.gegbull-inner {
	position: relative;
	z-index: 2; /* Keeps text and image above the milk and background */
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	justify-content: center;
	padding: 15px 20px;
	gap: 20px;
}

.gegbull-image {
	flex: 0 0 auto;
	/* Bobs up and down as if treading in the milk */
	animation: gegbull-bob 3s ease-in-out infinite alternate;
}

@keyframes gegbull-bob {
	0% { transform: translateY(-3px) rotate(-3deg); }
	100% { transform: translateY(5px) rotate(3deg); }
}

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

/* Typography & Thick Outline */
.outline {
	/* 8-axis solid white outline + a deep dark shadow to pop off the white milk! */
	text-shadow: 
		-2px -2px 0 #ffffff, 
		 0   -2px 0 #ffffff, 
		 2px -2px 0 #ffffff, 
		 2px  0   0 #ffffff, 
		 2px  2px 0 #ffffff, 
		 0    2px 0 #ffffff, 
		-2px  2px 0 #ffffff, 
		-2px  0   0 #ffffff,
		 0    4px 6px rgba(0,0,0,0.7); /* Added deep shadow here */
}

.gegbull-title {
	font-weight: bold;
	color: #590000;
	font-size: 150%;
	margin-bottom: 5px;
}

.gegbull-subtitle {
	font-weight: bold;
	font-size: 105%;
	color: #000000;
}

.gegbull-link {
	color: #877070;
	text-decoration: underline;
}