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) No edit summary |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
/* | /* Container Layout */ | ||
.tiktok-wrapper { | .tiktok-wrapper { | ||
margin: 1em auto; | margin: 1em auto; | ||
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: flex; | |||
flex-direction: column; | |||
align-items: center; | |||
} | } | ||
/* | /* --- THE PILL BANNER --- */ | ||
.tiktok- | .tiktok-pill-container { | ||
display: inline-flex; | |||
align-items: center; | |||
background: #000; | background: #000; | ||
color: #fff; | color: #fff; | ||
border-radius: 50px; /* | border-radius: 50px; | ||
box-shadow: -3px -3px 0 #00f7ef, 3px 3px 0 #ff004f; | |||
display: | padding: 5px 15px; | ||
gap: 15px; | |||
} | |||
/* Left Side: Clickable Text */ | |||
.tk-main-toggle { | |||
cursor: pointer; | |||
user-select: none; | |||
display: flex; | |||
align-items: center; | align-items: center; | ||
gap: 12px; | gap: 12px; | ||
border-radius: 50px; | |||
transition: opacity 0.2s; | |||
font-weight: bold; | |||
font-size: 1.1em; | 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; | |||
} | } | ||
.tk- | /* Top Header */ | ||
font- | .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 { | |||
.tk- | color: #fff; | ||
font-weight: bold; | font-weight: bold; | ||
border-bottom: 2px solid #fff; | |||
padding-bottom: 3px; | |||
padding | |||
} | } | ||
/* | /* Vertical Video Feed (Top-to-Bottom) */ | ||
. | .tk-app-feed { | ||
display: flex; | |||
flex-direction: column; | |||
width: 100%; | |||
overflow: | height: 100%; | ||
overflow-y: auto; | |||
overflow-x: hidden; | |||
background: #111; | |||
} | } | ||
/* | /* Fix Wiki Parser spacing from newlines */ | ||
. | .tk-app-feed p { display: contents; } | ||
display: | .tk-app-feed br { display: none; } | ||
/* Force MP4s and Images to be exactly 600px tall (full screen) */ | |||
padding: | .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; | display: flex; | ||
flex-direction: column; | |||
align-items: center; | align-items: center; | ||
gap: 16px; | |||
border: | 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%; | width: 100%; | ||
height: 100%; | height: 100%; | ||
border-radius: 50%; | |||
object-fit: cover; | 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- | .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; | |||
} | } | ||
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;
}