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
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* Container and Layout */
/* Container Layout */
.tiktok-wrapper {
.tiktok-wrapper {
background: #000;
color: #fff;
max-width: 350px;
margin: 1em auto;
margin: 1em 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: 1px solid #222;
}
.tiktok-main {
position: relative;
height: 550px;
background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
display: flex;
display: flex;
flex-direction: column;
flex-direction: column;
align-items: center;
}
}


/* Video/Main Image Area */
/* --- THE PILL BANNER --- */
.tiktok-video {
.tiktok-pill-container {
position: absolute;
display: inline-flex;
top: 0; left: 0; right: 0; bottom: 0;
z-index: 1;
display: flex;
justify-content: center;
align-items: center;
align-items: center;
overflow: hidden;
background: #000;
color: #fff;
border-radius: 50px;
box-shadow: -3px -3px 0 #00f7ef, 3px 3px 0 #ff004f;
padding: 5px 15px;
gap: 15px;
}
}


.tiktok-video a.image img,
/* Left Side: Clickable Text */
.tiktok-video img {
.tk-main-toggle {
width: 100%;
cursor: pointer;
height: 100%;
user-select: none;
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;
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-end;
gap: 12px;
background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 40%);
border-radius: 50px;
transition: opacity 0.2s;
font-weight: bold;
font-size: 1.1em;
white-space: nowrap;
}
}


/* Sidebar Action Buttons */
.tk-main-toggle:active {
.tiktok-sidebar {
opacity: 0.7;
position: absolute;
right: 12px;
bottom: 25px;
display: flex;
flex-direction: column;
align-items: center;
gap: 18px;
}
}


.tk-profile-container {
/* Right Side: Audio Player (Standard Size) */
.tk-audio-player {
background: #111;
border-radius: 30px;
padding: 2px 10px;
border: 1px solid #333;
display: flex;
display: flex;
flex-direction: column;
align-items: center;
align-items: center;
margin-bottom: 5px;
}
}


.tk-profile {
/* --- THE APP EASTER EGG --- */
width: 42px;
.tk-app-container {
height: 42px;
margin-top: 20px;
border-radius: 50%;
width: 350px;
background: #ddd;
height: 600px;
border: 2px solid #fff;
background: #000;
display: flex;
border-radius: 16px;
justify-content: center;
border: 2px solid #222;
align-items: center;
box-shadow: 0 10px 30px rgba(0,0,0,0.8);
color: #000;
position: relative;
overflow: hidden;
overflow: hidden;
}
}


.tk-profile a.image img,
/* Top Header */
.tk-profile img {
.tk-app-header {
position: absolute;
top: 15px;
width: 100%;
width: 100%;
height: 100%;
object-fit: cover;
}
.tk-plus {
background: #ea4359;
color: #fff;
width: 20px;
height: 20px;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
font-size: 16px;
font-weight: bold;
line-height: 20px;
margin-top: -10px;
z-index: 2;
border: 2px solid #000;
}
.tk-action {
text-align: center;
text-align: center;
font-size: 1.8em;
z-index: 10;
font-size: 0.95em;
color: #ccc;
text-shadow: 1px 1px 2px #000;
text-shadow: 1px 1px 2px #000;
cursor: pointer;
}
}


.tk-action span {
.tk-app-header span {
display: block;
margin: 0 8px;
font-size: 0.35em;
font-weight: 600;
margin-top: 4px;
}
}


/* Spinning Vinyl Animation */
.tk-hdr-active {
.tk-disc-container {
color: #fff;
margin-top: 10px;
font-weight: bold;
border-bottom: 2px solid #fff;
padding-bottom: 3px;
}
}


.tk-disc {
/* Vertical Video Feed (Top-to-Bottom) */
width: 38px;
.tk-app-feed {
height: 38px;
border-radius: 50%;
background: radial-gradient(circle, #444 20%, #111 25%, #222 40%, #111 100%);
display: flex;
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
width: 100%;
animation: tk-spin 4s linear infinite;
height: 100%;
border: 6px solid #222;
overflow-y: auto;
font-size: 0.5em;
overflow-x: hidden;
background: #111;
}
}


@keyframes tk-spin {
/* Fix Wiki Parser spacing from newlines */
from { transform: rotate(0deg); }
.tk-app-feed p { display: contents; }
to { transform: rotate(360deg); }
.tk-app-feed br { display: none; }
}


/* Bottom Information Area */
/* Force MP4s and Images to be exactly 600px tall (full screen) */
.tiktok-bottom-info {
.tk-app-feed .mediaContainer,
padding: 15px;
.tk-app-feed video,
padding-right: 80px; /* Don't overlap sidebar */
.tk-app-feed img,
.tk-app-feed a.image {
display: block;
width: 350px !important;
height: 600px !important;
max-height: none !important;
object-fit: cover;
margin: 0;
padding: 0;
flex-shrink: 0;
}
}


.tk-user {
/* Right Sidebar Icons */
font-weight: bold;
.tk-app-sidebar {
font-size: 1.1em;
position: absolute;
margin-bottom: 5px;
right: 10px;
text-shadow: 1px 1px 2px #000;
bottom: 25px;
}
 
.tk-desc {
font-size: 0.95em;
margin-bottom: 10px;
line-height: 1.3;
text-shadow: 1px 1px 2px #000;
}
 
/* Music Marquee */
.tk-music {
font-size: 0.85em;
display: flex;
display: flex;
flex-direction: column;
align-items: center;
align-items: center;
gap: 8px;
gap: 16px;
z-index: 10;
}
}


.tk-music-marquee {
.tk-app-icon {
display: inline-block;
text-align: center;
white-space: nowrap;
color: #fff;
overflow: hidden;
font-size: 1.6em;
width: 150px;
text-shadow: 1px 1px 3px #000;
}
}


.tk-music-text {
.tk-app-icon span {
display: inline-block;
display: block;
padding-left: 100%;
font-size: 0.35em;
animation: tk-marquee 8s linear infinite;
font-weight: bold;
margin-top: 4px;
}
}


@keyframes tk-marquee {
.tk-app-pfp {
0% { transform: translateX(0); }
width: 40px;
100% { transform: translateX(-100%); }
height: 40px;
}
border-radius: 50%;
 
background: #fff;
/* Optional Audio Player block */
border: 2px solid #fff;
.tk-audio {
position: relative;
margin-top: 10px;
}
}


.tk-audio audio {
/* Ensure the PFP inside fits nicely */
height: 30px;
.tk-app-pfp a.image,
.tk-app-pfp img {
width: 100%;
width: 100%;
height: 100%;
border-radius: 50%;
object-fit: cover;
display: block;
}
}


/* Easter Egg: Expandable Swipe Feed */
.tk-app-plus {
.tiktok-easter-egg {
position: absolute;
background: #000;
bottom: -6px;
border-top: 1px solid #222;
left: 50%;
margin-left: -9px;
width: 18px;
height: 18px;
background: #ea4359;
color: #fff;
border-radius: 50%;
font-size: 14px;
line-height: 18px;
text-align: center;
font-weight: bold;
}
}


.tiktok-swipe-prompt {
.tk-app-vinyl {
list-style: none;
    width: 36px;
text-align: center;
    height: 36px;
padding: 12px;
    border-radius: 50%;
font-size: 0.85em;
    background: #000;
color: #aaa;
    border: 2px solid #555;
cursor: pointer;
    display: flex;
user-select: none;
    align-items: center;
transition: background 0.2s, color 0.2s;
    justify-content: center;
    overflow: hidden;
}
}


.tiktok-swipe-prompt:hover {
.tk-app-vinyl a.image img,
background: #111;
.tk-app-vinyl img {
color: #fff;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
}


.tiktok-easter-egg[open] .tiktok-swipe-prompt {
/* Bottom Text Info */
border-bottom: 1px solid #222;
.tk-app-bottom {
position: absolute;
left: 12px;
bottom: 15px;
right: 60px;
z-index: 10;
color: #fff;
color: #fff;
text-shadow: 1px 1px 2px #000;
}
}


/* Horizontal Scrolling Logic */
.tk-app-user {
.tiktok-swipe-feed {
font-weight: bold;
display: flex;
font-size: 1.1em;
overflow-x: auto;
margin-bottom: 5px;
gap: 10px;
padding: 15px 10px;
background: #050505;
}
}


.tiktok-swipe-feed a.image,
.tk-app-desc {
.tiktok-swipe-feed > div {
font-size: 0.9em;
flex: 0 0 110px;
line-height: 1.2;
height: 160px;
margin-bottom: 8px;
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;
}
}

Latest revision as of 09:25, 20 April 2026

/* Container Layout */
.tiktok-wrapper {
	margin: 1em auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* --- THE PILL BANNER --- */
.tiktok-pill-container {
	display: inline-flex;
	align-items: center;
	background: #000;
	color: #fff;
	border-radius: 50px;
	box-shadow: -3px -3px 0 #00f7ef, 3px 3px 0 #ff004f;
	padding: 5px 15px;
	gap: 15px;
}

/* Left Side: Clickable Text */
.tk-main-toggle {
	cursor: pointer;
	user-select: none;
	display: flex;
	align-items: center;
	gap: 12px;
	border-radius: 50px;
	transition: opacity 0.2s;
	font-weight: bold;
	font-size: 1.1em;
	white-space: nowrap;
}

.tk-main-toggle:active {
	opacity: 0.7;
}

/* Right Side: Audio Player (Standard Size) */
.tk-audio-player {
	background: #111;
	border-radius: 30px;
	padding: 2px 10px;
	border: 1px solid #333;
	display: flex;
	align-items: center;
}

/* --- THE APP EASTER EGG --- */
.tk-app-container {
	margin-top: 20px;
	width: 350px;
	height: 600px;
	background: #000;
	border-radius: 16px;
	border: 2px solid #222;
	box-shadow: 0 10px 30px rgba(0,0,0,0.8);
	position: relative;
	overflow: hidden;
}

/* Top Header */
.tk-app-header {
	position: absolute;
	top: 15px;
	width: 100%;
	text-align: center;
	z-index: 10;
	font-size: 0.95em;
	color: #ccc;
	text-shadow: 1px 1px 2px #000;
}

.tk-app-header span {
	margin: 0 8px;
}

.tk-hdr-active {
	color: #fff;
	font-weight: bold;
	border-bottom: 2px solid #fff;
	padding-bottom: 3px;
}

/* Vertical Video Feed (Top-to-Bottom) */
.tk-app-feed {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	overflow-y: auto;
	overflow-x: hidden;
	background: #111;
}

/* Fix Wiki Parser spacing from newlines */
.tk-app-feed p { display: contents; }
.tk-app-feed br { display: none; }

/* Force MP4s and Images to be exactly 600px tall (full screen) */
.tk-app-feed .mediaContainer,
.tk-app-feed video,
.tk-app-feed img,
.tk-app-feed a.image {
	display: block;
	width: 350px !important;
	height: 600px !important;
	max-height: none !important;
	object-fit: cover;
	margin: 0;
	padding: 0;
	flex-shrink: 0;
}

/* Right Sidebar Icons */
.tk-app-sidebar {
	position: absolute;
	right: 10px;
	bottom: 25px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	z-index: 10;
}

.tk-app-icon {
	text-align: center;
	color: #fff;
	font-size: 1.6em;
	text-shadow: 1px 1px 3px #000;
}

.tk-app-icon span {
	display: block;
	font-size: 0.35em;
	font-weight: bold;
	margin-top: 4px;
}

.tk-app-pfp {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #fff;
	border: 2px solid #fff;
	position: relative;
}

/* Ensure the PFP inside fits nicely */
.tk-app-pfp a.image,
.tk-app-pfp img {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
	display: block;
}

.tk-app-plus {
	position: absolute;
	bottom: -6px;
	left: 50%;
	margin-left: -9px;
	width: 18px;
	height: 18px;
	background: #ea4359;
	color: #fff;
	border-radius: 50%;
	font-size: 14px;
	line-height: 18px;
	text-align: center;
	font-weight: bold;
}

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

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

/* Bottom Text Info */
.tk-app-bottom {
	position: absolute;
	left: 12px;
	bottom: 15px;
	right: 60px;
	z-index: 10;
	color: #fff;
	text-shadow: 1px 1px 2px #000;
}

.tk-app-user {
	font-weight: bold;
	font-size: 1.1em;
	margin-bottom: 5px;
}

.tk-app-desc {
	font-size: 0.9em;
	line-height: 1.2;
	margin-bottom: 8px;
}