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
SomebodyRum (talk | contribs) No edit summary |
SomebodyRum (talk | contribs) mNo edit summary |
||
| Line 1: | Line 1: | ||
/* | /* Container Layout */ | ||
.tiktok-wrapper { | .tiktok-wrapper { | ||
margin: 1em auto; | margin: 1em auto; | ||
max-width: 650px; | max-width: 650px; | ||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; | font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; | ||
display: | display: flex; | ||
flex-direction: column; | |||
align-items: center; | |||
} | } | ||
/* | /* --- THE PILL BANNER --- */ | ||
.tiktok-pill-container { | .tiktok-pill-container { | ||
display: flex; | display: inline-flex; | ||
align-items: center; | align-items: center; | ||
background: #000; | background: #000; | ||
| Line 15: | Line 17: | ||
border-radius: 50px; | border-radius: 50px; | ||
box-shadow: -3px -3px 0 #00f7ef, 3px 3px 0 #ff004f; | box-shadow: -3px -3px 0 #00f7ef, 3px 3px 0 #ff004f; | ||
padding: 5px | padding: 5px 8px; | ||
gap: | gap: 5px; | ||
max-width: 100%; | |||
flex-wrap: wrap; | |||
justify-content: center; | |||
} | } | ||
/* | /* Left Side: Clickable Text */ | ||
.tk-main-toggle { | .tk-main-toggle { | ||
cursor: pointer; | |||
user-select: none; | |||
padding: 5px 15px; | |||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
gap: 12px; | gap: 12px; | ||
border-radius: 50px; | |||
transition: background 0.2s; | |||
font-weight: bold; | |||
font-size: 1.1em; | |||
} | } | ||
.tk-main-toggle: | .tk-main-toggle:hover { | ||
background: #1a1a1a; | |||
} | } | ||
.tk-main-toggle:active { | |||
.tk-main-toggle | opacity: 0.7; | ||
} | } | ||
/* Right Side: Audio Player (Isolated) */ | |||
/* | |||
.tk-audio-player { | .tk-audio-player { | ||
background: #111; | |||
padding | border-radius: 30px; | ||
border | padding: 2px 15px; | ||
border: 1px solid #333; | |||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
} | } | ||
.tk-audio-player .roundedplayer { | |||
.tk- | display: inline-block; | ||
} | } | ||
.tk- | /* --- THE APP EASTER EGG --- */ | ||
.tk-app-container { | |||
margin-top: 20px; | |||
width: 350px; | |||
height: 600px; /* Exact mobile phone dimensions */ | |||
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; | text-align: center; | ||
margin- | 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; | font-weight: bold; | ||
border-bottom: 2px solid #fff; | |||
padding-bottom: 3px; | |||
} | } | ||
/* Horizontal | /* Horizontal Video Feed */ | ||
. | .tk-app-feed { | ||
display: flex; | display: flex; | ||
width: 100%; | |||
height: 100%; | |||
overflow-x: auto; | overflow-x: auto; | ||
overflow-y: hidden; | |||
} | } | ||
. | /* Force MP4s and Images to be full-screen */ | ||
flex: 0 0 | .tk-app-feed > * { | ||
flex: 0 0 100%; | |||
width: 100%; | |||
height: 100%; | |||
background: #111; | background: #111; | ||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
justify-content: center; | justify-content: center; | ||
} | } | ||
.tk-app-feed .mediaContainer, | |||
. | .tk-app-feed video, | ||
. | .tk-app-feed img, | ||
. | .tk-app-feed a.image { | ||
width: 100% !important; | width: 100% !important; | ||
height: | height: 100% !important; | ||
max-height: | max-height: none !important; | ||
object-fit: cover; | object-fit: cover; | ||
margin: 0; | |||
padding: 0; | |||
} | |||
/* Right Sidebar Icons */ | |||
.tk-app-sidebar { | |||
position: absolute; | |||
right: 10px; | |||
bottom: 90px; | |||
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; | |||
} | |||
.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: #333; | |||
border: 6px solid #111; | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
font-size: 0.6em; | |||
animation: tk-spin 4s linear infinite; | |||
box-shadow: 0 0 5px #000; | |||
} | |||
@keyframes tk-spin { | |||
from { transform: rotate(0deg); } | |||
to { transform: rotate(360deg); } | |||
} | |||
/* Bottom Text Info */ | |||
.tk-app-bottom { | |||
position: absolute; | |||
left: 12px; | |||
bottom: 70px; | |||
right: 60px; /* Avoid sidebar overlap */ | |||
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; | |||
} | |||
/* Bottom App Navbar */ | |||
.tk-app-navbar { | |||
position: absolute; | |||
bottom: 0; | |||
width: 100%; | |||
height: 55px; | |||
background: rgba(0,0,0,0.8); | |||
border-top: 1px solid #333; | |||
display: flex; | |||
justify-content: space-around; | |||
align-items: center; | |||
z-index: 10; | |||
color: #888; | |||
font-size: 0.7em; | |||
padding-bottom: 5px; | |||
} | |||
.tk-nav-item { | |||
display: flex; | |||
flex-direction: column; | |||
align-items: center; | |||
gap: 4px; | |||
font-size: 1.8em; | |||
} | |||
.tk-nav-item span { | |||
font-size: 0.4em; | |||
} | |||
.tk-nav-add { | |||
width: 42px; | |||
height: 28px; | |||
background: #fff; | |||
color: #000; | |||
border-radius: 8px; | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
font-size: 20px; | |||
font-weight: bold; | |||
box-shadow: -2px 0 0 #00f7ef, 2px 0 0 #ff004f; | |||
margin-top: -5px; | |||
} | } | ||
Revision as of 08:44, 20 April 2026
/* Container Layout */
.tiktok-wrapper {
margin: 1em auto;
max-width: 650px;
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 8px;
gap: 5px;
max-width: 100%;
flex-wrap: wrap;
justify-content: center;
}
/* Left Side: Clickable Text */
.tk-main-toggle {
cursor: pointer;
user-select: none;
padding: 5px 15px;
display: flex;
align-items: center;
gap: 12px;
border-radius: 50px;
transition: background 0.2s;
font-weight: bold;
font-size: 1.1em;
}
.tk-main-toggle:hover {
background: #1a1a1a;
}
.tk-main-toggle:active {
opacity: 0.7;
}
/* Right Side: Audio Player (Isolated) */
.tk-audio-player {
background: #111;
border-radius: 30px;
padding: 2px 15px;
border: 1px solid #333;
display: flex;
align-items: center;
}
.tk-audio-player .roundedplayer {
display: inline-block;
}
/* --- THE APP EASTER EGG --- */
.tk-app-container {
margin-top: 20px;
width: 350px;
height: 600px; /* Exact mobile phone dimensions */
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;
}
/* Horizontal Video Feed */
.tk-app-feed {
display: flex;
width: 100%;
height: 100%;
overflow-x: auto;
overflow-y: hidden;
}
/* Force MP4s and Images to be full-screen */
.tk-app-feed > * {
flex: 0 0 100%;
width: 100%;
height: 100%;
background: #111;
display: flex;
align-items: center;
justify-content: center;
}
.tk-app-feed .mediaContainer,
.tk-app-feed video,
.tk-app-feed img,
.tk-app-feed a.image {
width: 100% !important;
height: 100% !important;
max-height: none !important;
object-fit: cover;
margin: 0;
padding: 0;
}
/* Right Sidebar Icons */
.tk-app-sidebar {
position: absolute;
right: 10px;
bottom: 90px;
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;
}
.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: #333;
border: 6px solid #111;
display: flex;
align-items: center;
justify-content: center;
font-size: 0.6em;
animation: tk-spin 4s linear infinite;
box-shadow: 0 0 5px #000;
}
@keyframes tk-spin {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
/* Bottom Text Info */
.tk-app-bottom {
position: absolute;
left: 12px;
bottom: 70px;
right: 60px; /* Avoid sidebar overlap */
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;
}
/* Bottom App Navbar */
.tk-app-navbar {
position: absolute;
bottom: 0;
width: 100%;
height: 55px;
background: rgba(0,0,0,0.8);
border-top: 1px solid #333;
display: flex;
justify-content: space-around;
align-items: center;
z-index: 10;
color: #888;
font-size: 0.7em;
padding-bottom: 5px;
}
.tk-nav-item {
display: flex;
flex-direction: column;
align-items: center;
gap: 4px;
font-size: 1.8em;
}
.tk-nav-item span {
font-size: 0.4em;
}
.tk-nav-add {
width: 42px;
height: 28px;
background: #fff;
color: #000;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
font-size: 20px;
font-weight: bold;
box-shadow: -2px 0 0 #00f7ef, 2px 0 0 #ff004f;
margin-top: -5px;
}