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 6: Line 6:
justify-content: space-between;
justify-content: space-between;
margin: 0.5em auto;
margin: 0.5em auto;
max-width: 850px;
max-width: 800px;
min-height: 150px;
border: 5px solid #417a05;
border: 5px solid #417a05;
/* Safe gradient applied here instead of inline HTML */
background: linear-gradient(#8DB255, #5B8930);
text-shadow: 0px 0px 40px #00fe20, 0px 0px 2px #00fe20;
text-shadow: 0px 0px 40px #00fe20, 0px 0px 2px #00fe20;
overflow: hidden; /* Clips the character images cleanly to the border */
overflow: hidden; /* Clips the corner characters and mosaic */
}
}


Line 16: Line 17:
.pepe-wrapper p { display: contents; margin: 0; }
.pepe-wrapper p { display: contents; margin: 0; }
.pepe-wrapper br { display: none; }
.pepe-wrapper br { display: none; }
/*
  ==========================================
  THE MOSAIC BACKGROUND LAYER
  ==========================================
*/
.pepe-bg-mosaic {
position: absolute;
top: 0; left: 0; right: 0; bottom: 0;
display: flex;
flex-wrap: wrap;
opacity: 0.15; /* Makes the tiled faces semi-transparent */
z-index: 1;
align-content: flex-start;
}
.pepe-bg-mosaic a.image {
margin: 0; padding: 0; border: none; background: transparent;
display: block; line-height: 0;
}


/*  
/*  
Line 25: Line 46:
.pepe-left {
.pepe-left {
position: relative;
position: relative;
width: 130px;
width: 110px; /* Exact match to right side for perfect centering */
flex-shrink: 0;
flex-shrink: 0;
z-index: 5;
z-index: 5;
}
}


/* Strip MediaWiki's default image borders and padding */
.pepe-left a.image,
.pepe-left a.image,
.pepe-right a.image {
.pepe-right a.image {
Line 39: Line 59:
}
}


/* Position the body exactly at the cut bottom-left corner */
/* Body positioned at the cut bottom-left corner */
.pepe-body {
.pepe-body {
position: absolute;
position: absolute;
Line 47: Line 67:
}
}


/* Position the hand on top of the body (ready for future animations!) */
/* Hand positioned with your custom offsets */
.pepe-hand {
.pepe-hand {
position: absolute;
position: absolute;
Line 54: Line 74:
z-index: 15;
z-index: 15;
transform-origin: bottom left;
transform-origin: bottom left;
/* I've added a transition so when you animate it later, it moves smoothly */
transition: transform 0.2s ease-in-out;
transition: transform 0.2s ease-in-out;
}
}
Line 71: Line 90:
align-items: center;
align-items: center;
text-align: center;
text-align: center;
padding: 15px 10px;
padding: 10px 5px; /* Tightened up the spacing so it's not overly big */
z-index: 5;
z-index: 5;
}
}
Line 79: Line 98:
font-size: 1.44em;
font-size: 1.44em;
font-weight: bold;
font-weight: bold;
margin-bottom: 5px;
margin-bottom: 2px;
}
}
.pepe-title a { color: #ffffff !important; }
.pepe-title a { color: #ffffff !important; }


Line 88: Line 106:
font-size: 1.2em;
font-size: 1.2em;
font-weight: bold;
font-weight: bold;
margin-bottom: 8px;
margin-bottom: 5px;
}
}


.pepe-audio { margin-bottom: 8px; }
.pepe-audio { margin-bottom: 5px; }
 
.pepe-redtext-container {
margin-top: 5px;
}


/*  
/*  
Line 107: Line 121:
align-items: center;
align-items: center;
justify-content: center;
justify-content: center;
width: 130px;
width: 110px; /* Exact match to left side for perfect centering */
padding: 10px;
padding: 10px;
flex-shrink: 0;
flex-shrink: 0;
Line 115: Line 129:
/* Mobile adjustments */
/* Mobile adjustments */
@media (max-width: 650px) {
@media (max-width: 650px) {
.pepe-wrapper { min-height: 120px; }
.pepe-left { width: 90px; }
.pepe-left { width: 100px; }
.pepe-right { width: 90px; }
.pepe-right { width: 100px; }
.pepe-left img { max-width: 90px; height: auto; }
.pepe-left img { max-width: 100px; height: auto; }
.pepe-right img { max-width: 80px; height: auto; }
.pepe-right img { max-width: 90px; height: auto; }
.pepe-title { font-size: 1.2em; }
.pepe-title { font-size: 1.2em; }
.pepe-subtitle { font-size: 1.1em; }
.pepe-subtitle { font-size: 1.1em; }
}
}

Revision as of 14:55, 23 April 2026

/* Main wrapper container */
.pepe-wrapper {
	position: relative;
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	margin: 0.5em auto;
	max-width: 800px;
	border: 5px solid #417a05;
	/* Safe gradient applied here instead of inline HTML */
	background: linear-gradient(#8DB255, #5B8930);
	text-shadow: 0px 0px 40px #00fe20, 0px 0px 2px #00fe20;
	overflow: hidden; /* Clips the corner characters and mosaic */
}

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

/* 
  ==========================================
  THE MOSAIC BACKGROUND LAYER
  ==========================================
*/
.pepe-bg-mosaic {
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	display: flex;
	flex-wrap: wrap;
	opacity: 0.15; /* Makes the tiled faces semi-transparent */
	z-index: 1;
	align-content: flex-start;
}

.pepe-bg-mosaic a.image {
	margin: 0; padding: 0; border: none; background: transparent;
	display: block; line-height: 0;
}

/* 
  ==========================================
  LEFT SIDE (Overlapping Characters)
  ==========================================
*/

.pepe-left {
	position: relative;
	width: 110px; /* Exact match to right side for perfect centering */
	flex-shrink: 0;
	z-index: 5;
}

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

/* Body positioned at the cut bottom-left corner */
.pepe-body {
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: 10;
}

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

/* 
  ==========================================
  CENTER CONTENT
  ==========================================
*/

.pepe-center {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: 10px 5px; /* Tightened up the spacing so it's not overly big */
	z-index: 5;
}

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

.pepe-subtitle {
	color: #ffa500;
	font-size: 1.2em;
	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; /* Exact match to left side for perfect centering */
	padding: 10px;
	flex-shrink: 0;
	z-index: 5;
}

/* Mobile adjustments */
@media (max-width: 650px) {
	.pepe-left { width: 90px; }
	.pepe-right { width: 90px; }
	.pepe-left img { max-width: 90px; height: auto; }
	.pepe-right img { max-width: 80px; height: auto; }
	.pepe-title { font-size: 1.2em; }
	.pepe-subtitle { font-size: 1.1em; }
}