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
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* Container for the hidden TikTok Easter Egg */
/* Container Layout */
.tiktok-wrapper {
.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;
background: #000;
color: #fff;
color: #fff;
max-width: 350px;
border-radius: 50px;
margin: 0 auto;
box-shadow: -3px -3px 0 #00f7ef, 3px 3px 0 #ff004f;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
padding: 5px 15px;
border-top: 1px solid #222;
gap: 15px;
}
}


.tiktok-main {
/* Left Side: Clickable Text */
position: relative;
.tk-main-toggle {
height: 450px;
cursor: pointer;
background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
user-select: none;
display: flex;
display: flex;
flex-direction: column;
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;
}
}


/* Video/Main Image Area */
/* Right Side: Audio Player (Standard Size) */
.tiktok-video {
.tk-audio-player {
position: absolute;
background: #111;
top: 0; left: 0; right: 0; bottom: 0;
border-radius: 30px;
z-index: 1;
padding: 2px 10px;
border: 1px solid #333;
display: flex;
display: flex;
justify-content: center;
align-items: center;
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;
overflow: hidden;
}
}


.tiktok-video a.image img,
/* Top Header */
.tiktok-video img {
.tk-app-header {
position: absolute;
top: 15px;
width: 100%;
width: 100%;
height: 100%;
text-align: center;
object-fit: cover;
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;
}
}


/* Overlay for Text and Buttons */
/* Vertical Video Feed (Top-to-Bottom) */
.tiktok-overlay {
.tk-app-feed {
position: absolute;
top: 0; left: 0; right: 0; bottom: 0;
z-index: 2;
display: flex;
display: flex;
flex-direction: column;
flex-direction: column;
justify-content: flex-end;
width: 100%;
background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 40%);
height: 100%;
overflow-y: auto;
overflow-x: hidden;
background: #111;
}
}


/* Sidebar Action Buttons */
/* Fix Wiki Parser spacing from newlines */
.tiktok-sidebar {
.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;
position: absolute;
right: 12px;
right: 10px;
bottom: 25px;
bottom: 25px;
display: flex;
display: flex;
flex-direction: column;
flex-direction: column;
align-items: center;
align-items: center;
gap: 15px;
gap: 16px;
z-index: 10;
}
 
.tk-app-icon {
text-align: center;
color: #fff;
font-size: 1.6em;
text-shadow: 1px 1px 3px #000;
}
}


.tk-profile-container {
.tk-app-icon span {
display: flex;
display: block;
flex-direction: column;
font-size: 0.35em;
align-items: center;
font-weight: bold;
margin-bottom: 5px;
margin-top: 4px;
}
}


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


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


.tk-plus {
.tk-app-plus {
position: absolute;
bottom: -6px;
left: 50%;
margin-left: -9px;
width: 18px;
height: 18px;
background: #ea4359;
background: #ea4359;
color: #fff;
color: #fff;
width: 18px;
height: 18px;
border-radius: 50%;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
font-size: 14px;
font-size: 14px;
font-weight: bold;
line-height: 18px;
line-height: 18px;
margin-top: -9px;
z-index: 2;
border: 2px solid #000;
}
.tk-action {
text-align: center;
text-align: center;
font-size: 1.5em;
font-weight: bold;
text-shadow: 1px 1px 2px #000;
}
}


.tk-action span {
.tk-app-vinyl {
display: block;
    width: 36px;
font-size: 0.4em;
    height: 36px;
font-weight: 600;
    border-radius: 50%;
margin-top: 4px;
    background: #000;
    border: 2px solid #555;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
}


/* Spinning Vinyl Animation */
.tk-app-vinyl a.image img,
.tk-disc-container {
.tk-app-vinyl img {
margin-top: 5px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
}


.tk-disc {
/* Bottom Text Info */
width: 34px;
.tk-app-bottom {
height: 34px;
position: absolute;
border-radius: 50%;
left: 12px;
background: radial-gradient(circle, #444 20%, #111 25%, #222 40%, #111 100%);
bottom: 15px;
display: flex;
right: 60px;
justify-content: center;
z-index: 10;
align-items: center;
color: #fff;
animation: tk-spin 4s linear infinite;
text-shadow: 1px 1px 2px #000;
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 {
.tk-app-user {
font-weight: bold;
font-weight: bold;
font-size: 1.1em;
font-size: 1.1em;
margin-bottom: 5px;
margin-bottom: 5px;
text-shadow: 1px 1px 2px #000;
}
}


.tk-desc {
.tk-app-desc {
font-size: 0.9em;
font-size: 0.9em;
line-height: 1.2;
margin-bottom: 8px;
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;
}
}

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;
}