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
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* Outer container forces the entire template to shrink-wrap */
.pepe-outer {
display: table;
margin: 1em auto; /* Slightly increased margin to make room for the shadow */
}
/* Main wrapper container */
/* Main wrapper container */
.pepe-wrapper {
.pepe-wrapper {
position: relative;
position: relative;
display: flex;
display: flex;
align-items: stretch;
align-items: stretch;  
justify-content: space-between;
justify-content: space-between;
margin: 0.5em auto;
max-width: 800px;
border: 5px solid #417a05;
border: 5px solid #417a05;
/* Safe gradient applied here instead of inline HTML */
border-radius: 2px; /* Tiny bit of polish */
background: linear-gradient(#8DB255, #5B8930);
background: linear-gradient(#8DB255, #5B8930);
text-shadow: 0px 0px 40px #00fe20, 0px 0px 2px #00fe20;
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4); /* Nice polished drop shadow */
overflow: hidden; /* Clips the corner characters and mosaic */
overflow: hidden;  
}
}


/* 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 LAYER
   KEK TEXT BACKGROUND (Crisp, No Glow)
   ==========================================
   ==========================================
*/
*/
.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: wrap;
opacity: 0.15; /* Makes the tiled faces semi-transparent */
z-index: 1;
z-index: 1;
align-content: flex-start;
color: rgba(65, 122, 5, 0.3);
}
font-family: Arial, sans-serif;
 
font-size: 28px;
.pepe-bg-mosaic a.image {
font-weight: 900;
margin: 0; padding: 0; border: none; background: transparent;
line-height: 0.8;
display: block; line-height: 0;
text-transform: uppercase;
text-align: center;
word-wrap: break-word;
text-shadow: none; /* explicitly removes the ugly glow */
}
}


/*  
/*  
   ==========================================
   ==========================================
   LEFT SIDE (Overlapping Characters)
   LEFT SIDE (Pepe)
   ==========================================
   ==========================================
*/
*/
Line 46: Line 50:
.pepe-left {
.pepe-left {
position: relative;
position: relative;
width: 110px; /* Exact match to right side for perfect centering */
width: 110px;
height: 110px;
align-self: flex-end;
flex-shrink: 0;
flex-shrink: 0;
z-index: 5;
z-index: 5;
Line 59: Line 65:
}
}


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


/* Hand positioned with your custom offsets */
/*  
.pepe-hand {
  ==========================================
  THE ANIMATED HAND
  ==========================================
*/
 
.pepe-hand-container {
position: absolute;
position: absolute;
bottom: -20px;
bottom: -20px;
left: -20px;
left: -20px;
z-index: 15;
z-index: 15;
cursor: pointer;
outline: none;
}
/* Controls the infinite swaying */
.pepe-hand-swing {
transform-origin: bottom left;
transform-origin: bottom left;
transition: transform 0.2s ease-in-out;
animation: pepe-swing 2.5s ease-in-out infinite alternate;
}
 
@keyframes pepe-swing {
0% { transform: rotate(-2deg); }
100% { transform: rotate(7deg); }
}
 
/* Controls the bouncy click scale */
.pepe-hand-scale {
transform-origin: bottom left;
transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
 
/* When clicked, scales up and rotates forward instantly */
.pepe-hand-container:active .pepe-hand-scale {
transform: scale(1.3) rotate(15deg) translate(5px, -5px);
transition: transform 0.05s linear;
}
}


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


.pepe-center {
.pepe-center {
flex-grow: 1;
display: flex;
display: flex;
flex-direction: column;
flex-direction: column;
Line 90: Line 123:
align-items: center;
align-items: center;
text-align: center;
text-align: center;
padding: 10px 5px; /* Tightened up the spacing so it's not overly big */
padding: 10px 15px;  
z-index: 5;
z-index: 5;
line-height: 1.2;
/* The glow is now ONLY applied to the foreground text */
text-shadow: 0px 0px 40px #00fe20, 0px 0px 2px #00fe20;
}
}


.pepe-title {
.pepe-title {
color: #6666cc;
color: #6666cc;
font-size: 1.44em;
font-size: 1.3em;
font-weight: bold;
font-weight: bold;
margin-bottom: 2px;
margin-bottom: 5px;
}
}
.pepe-title a { color: #ffffff !important; }
.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; }
.pepe-audio { margin-bottom: 5px; }
Line 121: Line 150:
align-items: center;
align-items: center;
justify-content: center;
justify-content: center;
width: 110px; /* Exact match to left side for perfect centering */
width: 110px;  
padding: 10px;
padding: 5px;
flex-shrink: 0;
flex-shrink: 0;
z-index: 5;
z-index: 5;
Line 128: Line 157:


/* Mobile adjustments */
/* Mobile adjustments */
@media (max-width: 650px) {
@media (max-width: 550px) {
.pepe-left { width: 90px; }
.pepe-wrapper { flex-direction: column; align-items: center; }
.pepe-right { width: 90px; }
.pepe-left { align-self: flex-start; }  
.pepe-left img { max-width: 90px; height: auto; }
.pepe-title { font-size: 1.1em; }
.pepe-right img { max-width: 80px; height: auto; }
.pepe-title { font-size: 1.2em; }
.pepe-subtitle { font-size: 1.1em; }
}
}

Latest revision as of 15:13, 23 April 2026

/* Outer container forces the entire template to shrink-wrap */
.pepe-outer {
	display: table;
	margin: 1em auto; /* Slightly increased margin to make room for the shadow */
}

/* Main wrapper container */
.pepe-wrapper {
	position: relative;
	display: flex;
	align-items: stretch; 
	justify-content: space-between;
	border: 5px solid #417a05;
	border-radius: 2px; /* Tiny bit of polish */
	background: linear-gradient(#8DB255, #5B8930);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4); /* Nice polished drop shadow */
	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 (Crisp, No Glow)
  ==========================================
*/
.pepe-bg-kek {
	position: absolute;
	top: -50px; left: -50px; right: -50px; bottom: -50px;
	z-index: 1;
	color: rgba(65, 122, 5, 0.3); 
	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;
	text-shadow: none; /* explicitly removes the ugly glow */
}

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

.pepe-left {
	position: relative;
	width: 110px;
	height: 110px; 
	align-self: flex-end; 
	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; 
	left: 0;   
	z-index: 10;
}

/* 
  ==========================================
  THE ANIMATED HAND
  ==========================================
*/

.pepe-hand-container {
	position: absolute;
	bottom: -20px;
	left: -20px;
	z-index: 15;
	cursor: pointer;
	outline: none;
}

/* Controls the infinite swaying */
.pepe-hand-swing {
	transform-origin: bottom left;
	animation: pepe-swing 2.5s ease-in-out infinite alternate;
}

@keyframes pepe-swing {
	0% { transform: rotate(-2deg); }
	100% { transform: rotate(7deg); }
}

/* Controls the bouncy click scale */
.pepe-hand-scale {
	transform-origin: bottom left;
	transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* When clicked, scales up and rotates forward instantly */
.pepe-hand-container:active .pepe-hand-scale {
	transform: scale(1.3) rotate(15deg) translate(5px, -5px);
	transition: transform 0.05s linear;
}


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

.pepe-center {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: 10px 15px; 
	z-index: 5;
	line-height: 1.2;
	/* The glow is now ONLY applied to the foreground text */
	text-shadow: 0px 0px 40px #00fe20, 0px 0px 2px #00fe20;
}

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

.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; } 
	.pepe-title { font-size: 1.1em; }
}