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:Pepe/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 1: Line 1:
/* Outer container forces the entire template to shrink-wrap (no extra width) */
.pepe-outer {
display: table;
margin: 0.5em auto;
}
/* Main wrapper container */
/* Main wrapper container */
.pepe-wrapper {
.pepe-wrapper {
position: relative;
position: relative;
display: flex;
display: flex;
align-items: center; /* Centers everything vertically, prevents vertical stretching */
align-items: stretch; /* Allows children to define their vertical alignment */
justify-content: space-between;
justify-content: space-between;
margin: 0.5em auto;
max-width: 800px;
border: 5px solid #417a05;
border: 5px solid #417a05;
background: linear-gradient(#8DB255, #5B8930);
background: linear-gradient(#8DB255, #5B8930);
Line 14: Line 18:


/* Neutralize MediaWiki's automatic paragraph and break tags */
/* Neutralize MediaWiki's automatic paragraph and break tags */
.pepe-wrapper p { display: contents; margin: 0; }
.pepe-wrapper p, .pepe-outer p { display: contents; margin: 0; }
.pepe-wrapper br { display: none; }
.pepe-wrapper br, .pepe-outer br { display: none; }


/*  
/*  
   ==========================================
   ==========================================
   THE MOSAIC BACKGROUND (Single Centered Row)
   KEK TEXT BACKGROUND
   ==========================================
   ==========================================
*/
*/
.pepe-bg-mosaic {
.pepe-bg-kek {
position: absolute;
position: absolute;
top: 0; left: 0; right: 0; bottom: 0;
top: -50px; left: -50px; right: -50px; bottom: -50px;
display: flex;
flex-wrap: nowrap; /* Forces a single line */
align-items: center; /* Vertically centers the GIFs */
justify-content: center; /* Horizontally centers the row */
opacity: 0.15;  
z-index: 1;
z-index: 1;
}
color: rgba(0, 255, 32, 0.15); /* Faint green watermark */
 
font-family: Arial, sans-serif;
.pepe-bg-mosaic a.image {
font-size: 28px;
margin: 0; padding: 0; border: none; background: transparent;
font-weight: 900;
display: block; line-height: 0;
line-height: 0.8;
text-transform: uppercase;
text-align: center;
word-wrap: break-word;
}
}


/*  
/*  
   ==========================================
   ==========================================
   LEFT SIDE (Overlapping Characters)
   LEFT SIDE (Pepe)
   ==========================================
   ==========================================
*/
*/
Line 46: Line 48:
.pepe-left {
.pepe-left {
position: relative;
position: relative;
width: 100px;
width: 110px;
height: 100px; /* Keeps the container tight */
height: 110px; /* Fixed height ensures the container doesn't collapse */
align-self: flex-end; /* Anchors the entire left container to the absolute bottom */
flex-shrink: 0;
flex-shrink: 0;
z-index: 5;
z-index: 5;
Line 62: Line 65:
.pepe-body {
.pepe-body {
position: absolute;
position: absolute;
bottom: 0;
bottom: 0; /* Touches the exact bottom of the box */
left: 0;
left: 0;   /* Touches the exact left of the box */
z-index: 10;
z-index: 10;
}
}


/* Hand positioned with your offsets */
/* Hand positioned with your exact coordinates */
.pepe-hand {
.pepe-hand {
position: absolute;
position: absolute;
bottom: -15px;
bottom: -20px;
left: -15px;
left: -20px;
z-index: 15;
z-index: 15;
transform-origin: bottom left;
transform-origin: bottom left;
Line 79: Line 82:
/*  
/*  
   ==========================================
   ==========================================
   CENTER CONTENT (Tightened up)
   CENTER CONTENT (Shrunk & Tightened)
   ==========================================
   ==========================================
*/
*/


.pepe-center {
.pepe-center {
flex-grow: 1;
display: flex;
display: flex;
flex-direction: column;
flex-direction: column;
Line 90: Line 92:
align-items: center;
align-items: center;
text-align: center;
text-align: center;
padding: 5px; /* Extremely tight padding to shrink template height */
padding: 5px 15px; /* Tight padding to keep the box small */
z-index: 5;
z-index: 5;
line-height: 1.1; /* Reduces dead space between lines of text */
line-height: 1.2;
}
}


Line 105: Line 107:
.pepe-subtitle {
.pepe-subtitle {
color: #ffa500;
color: #ffa500;
font-size: 1.15em;
font-size: 1.1em;
font-weight: bold;
font-weight: bold;
margin-bottom: 4px;
margin-bottom: 5px;
}
}


.pepe-audio { margin-bottom: 4px; }
.pepe-audio { margin-bottom: 5px; }


/*  
/*  
Line 122: Line 124:
align-items: center;
align-items: center;
justify-content: center;
justify-content: center;
width: 100px;  
width: 110px;  
padding: 5px;
padding: 5px;
flex-shrink: 0;
flex-shrink: 0;
Line 129: Line 131:


/* Mobile adjustments */
/* Mobile adjustments */
@media (max-width: 650px) {
@media (max-width: 550px) {
.pepe-left { width: 80px; height: 80px; }
.pepe-wrapper { flex-direction: column; align-items: center; }
.pepe-right { width: 80px; }
.pepe-left { align-self: flex-start; } /* Moves Pepe to top left on mobile */
.pepe-left img { max-width: 80px; height: auto; }
.pepe-right img { max-width: 80px; height: auto; }
.pepe-title { font-size: 1.1em; }
.pepe-title { font-size: 1.1em; }
.pepe-subtitle { font-size: 1em; }
.pepe-subtitle { font-size: 1em; }
.pepe-bg-mosaic a.image { width: 50px; }
}
}

Revision as of 15:03, 23 April 2026

/* Outer container forces the entire template to shrink-wrap (no extra width) */
.pepe-outer {
	display: table;
	margin: 0.5em auto;
}

/* Main wrapper container */
.pepe-wrapper {
	position: relative;
	display: flex;
	align-items: stretch; /* Allows children to define their vertical alignment */
	justify-content: space-between;
	border: 5px solid #417a05;
	background: linear-gradient(#8DB255, #5B8930);
	text-shadow: 0px 0px 40px #00fe20, 0px 0px 2px #00fe20;
	overflow: hidden; 
}

/* Neutralize MediaWiki's automatic paragraph and break tags */
.pepe-wrapper p, .pepe-outer p { display: contents; margin: 0; }
.pepe-wrapper br, .pepe-outer br { display: none; }

/* 
  ==========================================
  KEK TEXT BACKGROUND
  ==========================================
*/
.pepe-bg-kek {
	position: absolute;
	top: -50px; left: -50px; right: -50px; bottom: -50px;
	z-index: 1;
	color: rgba(0, 255, 32, 0.15); /* Faint green watermark */
	font-family: Arial, sans-serif;
	font-size: 28px;
	font-weight: 900;
	line-height: 0.8;
	text-transform: uppercase;
	text-align: center;
	word-wrap: break-word;
}

/* 
  ==========================================
  LEFT SIDE (Pepe)
  ==========================================
*/

.pepe-left {
	position: relative;
	width: 110px;
	height: 110px; /* Fixed height ensures the container doesn't collapse */
	align-self: flex-end; /* Anchors the entire left container to the absolute bottom */
	flex-shrink: 0;
	z-index: 5;
}

.pepe-left a.image,
.pepe-right a.image {
	border: none;
	background: transparent;
	display: block;
	line-height: 0;
}

.pepe-body {
	position: absolute;
	bottom: 0; /* Touches the exact bottom of the box */
	left: 0;   /* Touches the exact left of the box */
	z-index: 10;
}

/* Hand positioned with your exact coordinates */
.pepe-hand {
	position: absolute;
	bottom: -20px;
	left: -20px;
	z-index: 15;
	transform-origin: bottom left;
	transition: transform 0.2s ease-in-out;
}

/* 
  ==========================================
  CENTER CONTENT (Shrunk & Tightened)
  ==========================================
*/

.pepe-center {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: 5px 15px; /* Tight padding to keep the box small */
	z-index: 5;
	line-height: 1.2;
}

.pepe-title {
	color: #6666cc;
	font-size: 1.3em;
	font-weight: bold;
	margin-bottom: 2px;
}
.pepe-title a { color: #ffffff !important; }

.pepe-subtitle {
	color: #ffa500;
	font-size: 1.1em;
	font-weight: bold;
	margin-bottom: 5px;
}

.pepe-audio { margin-bottom: 5px; }

/* 
  ==========================================
  RIGHT SIDE (Spinning CD)
  ==========================================
*/

.pepe-right {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 110px; 
	padding: 5px;
	flex-shrink: 0;
	z-index: 5;
}

/* Mobile adjustments */
@media (max-width: 550px) {
	.pepe-wrapper { flex-direction: column; align-items: center; }
	.pepe-left { align-self: flex-start; } /* Moves Pepe to top left on mobile */
	.pepe-title { font-size: 1.1em; }
	.pepe-subtitle { font-size: 1em; }
}