The Gold Network: Soyworld | SNCApedia | SoyPlace


New feature: SNCApedia:Advertisements.


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
Soyage (talk | contribs)
Created page with ".cow-pattern { position: relative; overflow: hidden; } Base style for all cow spots: .cow-pattern .spot { position: absolute; background: black; border-radius: 15px; Rounded rectangles: opacity: 0.95; z-index: 0; Behind content: } spots: .cow-pattern .spot1 { width: 60px; height: 40px; top: 10px; left: 20px; transform: rotate(10deg); } .cow-pattern .spot2 { width: 50px; height: 35px; top: 5px; left: 120px; transform: rotate(-20deg); }..."
 
mNo edit summary
Line 1: Line 1:
.cow-pattern {
/* Wrapper for shrink-to-fit centering */
  position: relative;
.gegbull-aligner {
  overflow: hidden;
display: table;
margin: 15px auto;
width: 80%; /* Takes up a good portion of the page */
max-width: 900px;
}
}


/* Base style for all cow spots */
/* Main Box Structure */
.cow-pattern .spot {
.gegbull-container {
  position: absolute;
position: relative;
  background: black;
overflow: hidden;
  border-radius: 15px; /* Rounded rectangles */
background-color: #ffffff;
  opacity: 0.95;
border: 3px solid #887777;
  z-index: 0; /* Behind content */
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
z-index: 1;
}
}


/* spots */
/* =========================================
.cow-pattern .spot1 { width: 60px; height: 40px; top: 10px; left: 20px; transform: rotate(10deg); }
  COW SPOTS (Converted to responsive percentages)
.cow-pattern .spot2 { width: 50px; height: 35px; top: 5px; left: 120px; transform: rotate(-20deg); }
========================================= */
.cow-pattern .spot3 { width: 70px; height: 45px; top: 8px; left: 220px; transform: rotate(15deg); }
.gegbull-spot {
.cow-pattern .spot4 { width: 55px; height: 35px; top: 15px; left: 330px; transform: rotate(-10deg); }
position: absolute;
.cow-pattern .spot5 { width: 65px; height: 40px; top: 7px; left: 430px; transform: rotate(5deg); }
background: #111111;
.cow-pattern .spot6 { width: 60px; height: 38px; top: 12px; left: 530px; transform: rotate(-15deg); }
border-radius: 40%; /* Organic oval shapes */
.cow-pattern .spot7 { width: 50px; height: 30px; top: 18px; left: 610px; transform: rotate(12deg); }
z-index: 0;
}
 
.s1  { width: 60px; height: 40px; top: -5%; left: 5%; transform: rotate(10deg); }
.s2  { width: 50px; height: 35px; top: 60%; left: 15%; transform: rotate(-20deg); }
.s3  { width: 70px; height: 45px; top: 5%; left: 25%; transform: rotate(15deg); }
.s4  { width: 55px; height: 35px; top: 70%; left: 35%; transform: rotate(-10deg); }
.s5  { width: 65px; height: 40px; top: -10%; left: 48%; transform: rotate(5deg); }
.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
========================================= */
.gegbull-milk {
position: absolute;
top: 0; left: 0;
width: 100%; height: 100%;
/* Slightly transparent so cow spots look "underwater" */
background-color: rgba(255, 255, 255, 0.92);
z-index: 1;
/* Sloshing animation */
animation: milk-wave 4s ease-in-out infinite alternate;
}
 
/* Adapted from your polygon code! Shifted Y-values to fill the bottom 45% */
@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%); }
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%); }
}
 
/* =========================================
  LAYOUT & CONTENT
========================================= */
.gegbull-inner {
position: relative;
z-index: 2; /* Keeps text and image above the milk */
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); }
}


.cow-pattern .spot8  { width: 30px; height: 20px; top: 35px; left: 70px; transform: rotate(25deg); }
.gegbull-text {
.cow-pattern .spot9  { width: 35px; height: 22px; top: 20px; left: 170px; transform: rotate(-30deg); }
text-align: center;
.cow-pattern .spot10 { width: 40px; height: 30px; top: 35px; left: 250px; transform: rotate(20deg); }
}
.cow-pattern .spot11 { width: 25px; height: 18px; top: 5px;  left: 370px; transform: rotate(-10deg); }
.cow-pattern .spot12 { width: 30px; height: 25px; top: 30px; left: 450px; transform: rotate(10deg); }
.cow-pattern .spot13 { width: 32px; height: 28px; top: 40px; left: 540px; transform: rotate(-5deg); }
.cow-pattern .spot14 { width: 28px; height: 18px; top: 8px;  left: 640px; transform: rotate(15deg); }


/* Typography & Thick Outline */
.outline {
.outline {
  position: relative;
/* 8-axis solid white outline to protect against black spots */
  z-index: 1; /* Above spots */
text-shadow:  
  text-shadow: -1px -1px white, 1px -1px white,-1px 1px white, 1px 1px white, 0 -1px white, 0 1px white,-1px 0 white, 1px 0 white,-2px -2px white, 2px -2px white,-2px 2px white, 2px 2px white,0 -2px white, 0 2px white,-2px 0 white, 2px 0 white;
-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 5px rgba(255,255,255,0.8);
}
 
.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;
}
}

Revision as of 13:32, 23 April 2026

/* Wrapper for shrink-to-fit centering */
.gegbull-aligner {
	display: table;
	margin: 15px auto;
	width: 80%; /* Takes up a good portion of the page */
	max-width: 900px;
}

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

/* =========================================
   COW SPOTS (Converted to responsive percentages)
========================================= */
.gegbull-spot {
	position: absolute;
	background: #111111;
	border-radius: 40%; /* Organic oval shapes */
	z-index: 0;
}

.s1  { width: 60px; height: 40px; top: -5%; left: 5%; transform: rotate(10deg); }
.s2  { width: 50px; height: 35px; top: 60%; left: 15%; transform: rotate(-20deg); }
.s3  { width: 70px; height: 45px; top: 5%; left: 25%; transform: rotate(15deg); }
.s4  { width: 55px; height: 35px; top: 70%; left: 35%; transform: rotate(-10deg); }
.s5  { width: 65px; height: 40px; top: -10%; left: 48%; transform: rotate(5deg); }
.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
========================================= */
.gegbull-milk {
	position: absolute;
	top: 0; left: 0;
	width: 100%; height: 100%;
	/* Slightly transparent so cow spots look "underwater" */
	background-color: rgba(255, 255, 255, 0.92);
	z-index: 1;
	/* Sloshing animation */
	animation: milk-wave 4s ease-in-out infinite alternate;
}

/* Adapted from your polygon code! Shifted Y-values to fill the bottom 45% */
@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%); }
	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%); }
}

/* =========================================
   LAYOUT & CONTENT
========================================= */
.gegbull-inner {
	position: relative;
	z-index: 2; /* Keeps text and image above the milk */
	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 to protect against black spots */
	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 5px rgba(255,255,255,0.8);
}

.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;
}