New mission: revamp the portals to make them look actually tolerable to the eye. They are currently placeholders as of now.
The Gold Network: Soyworld | SNCApedia | SoyPlace


Please do not be surprised when the site randomly loads extremely slow. It is probably being DDoSed.


I'm not dead, just inactive for the moment. Faggot (talk) 20:16, 9 April 2026 (UTC)

Template:Tiktok/styles.css: Difference between revisions

From SNCApedia, the shit nobody cares about encyclopedia
Jump to navigationJump to search
Created page with "Container and Layout: .tiktok-wrapper { background: #000; color: #fff; max-width: 350px; margin: 1em auto; border-radius: 12px; overflow: hidden; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; box-shadow: 0 4px 15px rgba(0,0,0,0.5); border: 1px solid #222; } .tiktok-main { position: relative; height: 550px; background: linear-gradient(135deg, #1a1a1a, #0a0a0a); display: flex; flex-direction: column; }..."
 
No edit summary
Line 1: Line 1:
/* Container and Layout */
/* Container for the hidden TikTok Easter Egg */
.tiktok-wrapper {
.tiktok-wrapper {
background: #000;
background: #000;
color: #fff;
color: #fff;
max-width: 350px;
max-width: 350px;
margin: 1em auto;
margin: 0 auto;
border-radius: 12px;
overflow: hidden;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
box-shadow: 0 4px 15px rgba(0,0,0,0.5);
border-top: 1px solid #222;
border: 1px solid #222;
}
}


.tiktok-main {
.tiktok-main {
position: relative;
position: relative;
height: 550px;
height: 450px;
background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
display: flex;
display: flex;
Line 46: Line 43:
flex-direction: column;
flex-direction: column;
justify-content: flex-end;
justify-content: flex-end;
background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 40%);
background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 40%);
}
}


Line 57: Line 54:
flex-direction: column;
flex-direction: column;
align-items: center;
align-items: center;
gap: 18px;
gap: 15px;
}
}


Line 68: Line 65:


.tk-profile {
.tk-profile {
width: 42px;
width: 36px;
height: 42px;
height: 36px;
border-radius: 50%;
border-radius: 50%;
background: #ddd;
background: #ddd;
Line 90: Line 87:
background: #ea4359;
background: #ea4359;
color: #fff;
color: #fff;
width: 20px;
width: 18px;
height: 20px;
height: 18px;
border-radius: 50%;
border-radius: 50%;
display: flex;
display: flex;
justify-content: center;
justify-content: center;
align-items: center;
align-items: center;
font-size: 16px;
font-size: 14px;
font-weight: bold;
font-weight: bold;
line-height: 20px;
line-height: 18px;
margin-top: -10px;
margin-top: -9px;
z-index: 2;
z-index: 2;
border: 2px solid #000;
border: 2px solid #000;
Line 106: Line 103:
.tk-action {
.tk-action {
text-align: center;
text-align: center;
font-size: 1.8em;
font-size: 1.5em;
text-shadow: 1px 1px 2px #000;
text-shadow: 1px 1px 2px #000;
cursor: pointer;
}
}


.tk-action span {
.tk-action span {
display: block;
display: block;
font-size: 0.35em;
font-size: 0.4em;
font-weight: 600;
font-weight: 600;
margin-top: 4px;
margin-top: 4px;
Line 120: Line 116:
/* Spinning Vinyl Animation */
/* Spinning Vinyl Animation */
.tk-disc-container {
.tk-disc-container {
margin-top: 10px;
margin-top: 5px;
}
}


.tk-disc {
.tk-disc {
width: 38px;
width: 34px;
height: 38px;
height: 34px;
border-radius: 50%;
border-radius: 50%;
background: radial-gradient(circle, #444 20%, #111 25%, #222 40%, #111 100%);
background: radial-gradient(circle, #444 20%, #111 25%, #222 40%, #111 100%);
Line 132: Line 128:
align-items: center;
align-items: center;
animation: tk-spin 4s linear infinite;
animation: tk-spin 4s linear infinite;
border: 6px solid #222;
border: 5px solid #222;
font-size: 0.5em;
font-size: 0.5em;
}
}
Line 144: Line 140:
.tiktok-bottom-info {
.tiktok-bottom-info {
padding: 15px;
padding: 15px;
padding-right: 80px; /* Don't overlap sidebar */
padding-right: 70px;
text-align: left;
}
}


Line 155: Line 152:


.tk-desc {
.tk-desc {
font-size: 0.95em;
font-size: 0.9em;
margin-bottom: 10px;
margin-bottom: 8px;
line-height: 1.3;
line-height: 1.3;
text-shadow: 1px 1px 2px #000;
text-shadow: 1px 1px 2px #000;
Line 187: Line 184:
}
}


/* Optional Audio Player block */
/* Horizontal Swipe Feed (The Easter Egg) */
.tk-audio {
margin-top: 10px;
}
 
.tk-audio audio {
height: 30px;
width: 100%;
}
 
/* Easter Egg: Expandable Swipe Feed */
.tiktok-easter-egg {
background: #000;
border-top: 1px solid #222;
}
 
.tiktok-swipe-prompt {
list-style: none;
text-align: center;
padding: 12px;
font-size: 0.85em;
color: #aaa;
cursor: pointer;
user-select: none;
transition: background 0.2s, color 0.2s;
}
 
.tiktok-swipe-prompt:hover {
background: #111;
color: #fff;
}
 
.tiktok-easter-egg[open] .tiktok-swipe-prompt {
border-bottom: 1px solid #222;
color: #fff;
}
 
/* Horizontal Scrolling Logic */
.tiktok-swipe-feed {
.tiktok-swipe-feed {
display: flex;
display: flex;
Line 231: Line 191:
padding: 15px 10px;
padding: 15px 10px;
background: #050505;
background: #050505;
border-top: 1px solid #222;
}
}


.tiktok-swipe-feed a.image,
.tiktok-swipe-feed a.image,
.tiktok-swipe-feed > div {
.tiktok-swipe-feed > div {
flex: 0 0 110px;
flex: 0 0 100px;
height: 160px;
height: 140px;
background: #1a1a1a;
background: #1a1a1a;
border-radius: 6px;
border-radius: 6px;
Line 251: Line 212:
height: 100%;
height: 100%;
object-fit: cover;
object-fit: cover;
}
.tk-audio {
padding: 10px;
background: #000;
}
}

Revision as of 08:26, 20 April 2026

/* Container for the hidden TikTok Easter Egg */
.tiktok-wrapper {
	background: #000;
	color: #fff;
	max-width: 350px;
	margin: 0 auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	border-top: 1px solid #222;
}

.tiktok-main {
	position: relative;
	height: 450px;
	background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
	display: flex;
	flex-direction: column;
}

/* Video/Main Image Area */
.tiktok-video {
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	z-index: 1;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
}

.tiktok-video a.image img,
.tiktok-video img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Overlay for Text and Buttons */
.tiktok-overlay {
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 40%);
}

/* Sidebar Action Buttons */
.tiktok-sidebar {
	position: absolute;
	right: 12px;
	bottom: 25px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 15px;
}

.tk-profile-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-bottom: 5px;
}

.tk-profile {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #ddd;
	border: 2px solid #fff;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #000;
	overflow: hidden;
}

.tk-profile a.image img,
.tk-profile img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tk-plus {
	background: #ea4359;
	color: #fff;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 14px;
	font-weight: bold;
	line-height: 18px;
	margin-top: -9px;
	z-index: 2;
	border: 2px solid #000;
}

.tk-action {
	text-align: center;
	font-size: 1.5em;
	text-shadow: 1px 1px 2px #000;
}

.tk-action span {
	display: block;
	font-size: 0.4em;
	font-weight: 600;
	margin-top: 4px;
}

/* Spinning Vinyl Animation */
.tk-disc-container {
	margin-top: 5px;
}

.tk-disc {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: radial-gradient(circle, #444 20%, #111 25%, #222 40%, #111 100%);
	display: flex;
	justify-content: center;
	align-items: center;
	animation: tk-spin 4s linear infinite;
	border: 5px solid #222;
	font-size: 0.5em;
}

@keyframes tk-spin {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}

/* Bottom Information Area */
.tiktok-bottom-info {
	padding: 15px;
	padding-right: 70px;
	text-align: left;
}

.tk-user {
	font-weight: bold;
	font-size: 1.1em;
	margin-bottom: 5px;
	text-shadow: 1px 1px 2px #000;
}

.tk-desc {
	font-size: 0.9em;
	margin-bottom: 8px;
	line-height: 1.3;
	text-shadow: 1px 1px 2px #000;
}

/* Music Marquee */
.tk-music {
	font-size: 0.85em;
	display: flex;
	align-items: center;
	gap: 8px;
}

.tk-music-marquee {
	display: inline-block;
	white-space: nowrap;
	overflow: hidden;
	width: 150px;
}

.tk-music-text {
	display: inline-block;
	padding-left: 100%;
	animation: tk-marquee 8s linear infinite;
}

@keyframes tk-marquee {
	0% { transform: translateX(0); }
	100% { transform: translateX(-100%); }
}

/* Horizontal Swipe Feed (The Easter Egg) */
.tiktok-swipe-feed {
	display: flex;
	overflow-x: auto;
	gap: 10px;
	padding: 15px 10px;
	background: #050505;
	border-top: 1px solid #222;
}

.tiktok-swipe-feed a.image,
.tiktok-swipe-feed > div {
	flex: 0 0 100px;
	height: 140px;
	background: #1a1a1a;
	border-radius: 6px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #222;
	position: relative;
}

.tiktok-swipe-feed img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tk-audio {
	padding: 10px;
	background: #000;
}