MediaWiki:Common.css: mudanças entre as edições
Aparência
CSS estilo Wikipédia para Wiki TokuDrive |
Design moderno com modo claro e escuro |
||
| Linha 1: | Linha 1: | ||
/* Wiki TokuDrive - | /* ========================================================== | ||
Wiki TokuDrive - Design moderno estilo Fandom | |||
Modo claro + escuro | |||
========================================================== */ | |||
:root { | |||
--td-bg: #f4f6fb; | |||
--td-bg-soft: #ffffff; | |||
--td-bg-card: rgba(255,255,255,.92); | |||
--td-text: #161922; | |||
--td-muted: #5d6475; | |||
--td-border: rgba(20,24,36,.12); | |||
--td-accent: #e50914; | |||
--td-accent-2: #7b2cff; | |||
--td-link: #165dcc; | |||
--td-shadow: 0 18px 45px rgba(10,15,30,.12); | |||
--td-hero: linear-gradient(135deg, #171b2a 0%, #22113a 50%, #79090f 100%); | |||
--td-card-gradient: linear-gradient(180deg, rgba(255,255,255,.96), rgba(246,247,252,.92)); | |||
} | |||
html[data-td-theme="dark"] { | |||
--td-bg: #080a10; | |||
--td-bg-soft: #111522; | |||
--td-bg-card: rgba(20,24,38,.94); | |||
--td-text: #f3f5fb; | |||
--td-muted: #aab2c5; | |||
--td-border: rgba(255,255,255,.13); | |||
--td-accent: #ff3344; | |||
--td-accent-2: #9b6cff; | |||
--td-link: #8eb5ff; | |||
--td-shadow: 0 22px 60px rgba(0,0,0,.38); | |||
--td-hero: radial-gradient(circle at top left, rgba(229,9,20,.55), transparent 30%), | |||
radial-gradient(circle at bottom right, rgba(123,44,255,.5), transparent 32%), | |||
linear-gradient(135deg, #090b12 0%, #151a2a 50%, #230910 100%); | |||
--td-card-gradient: linear-gradient(180deg, rgba(25,30,48,.98), rgba(16,20,33,.94)); | |||
} | |||
html, | |||
body { | |||
background: var(--td-bg) !important; | |||
color: var(--td-text) !important; | |||
} | |||
body { | body { | ||
font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; | |||
color: | } | ||
/* Área principal */ | |||
.mw-body, | |||
.citizen-body, | |||
#content, | |||
.mw-parser-output { | |||
color: var(--td-text); | |||
} | } | ||
.mw-body, | .mw-body, | ||
. | .citizen-body { | ||
background: transparent !important; | |||
background: | |||
} | } | ||
. | #content, | ||
.citizen-page-container, | |||
.citizen-body-container { | |||
background: transparent !important; | |||
} | } | ||
.mw- | /* Artigos */ | ||
font- | .mw-parser-output > p, | ||
.mw-parser-output li { | |||
font-size: 16px; | |||
line-height: 1.72; | |||
} | |||
.mw-parser-output h1, | |||
.mw-parser-output h2, | |||
.mw-parser-output h3 { | |||
color: var(--td-text); | |||
border-color: var(--td-border); | |||
} | } | ||
a { | a { | ||
color: | color: var(--td-link); | ||
} | } | ||
a:visited { | a:visited { | ||
color: # | color: var(--td-link); | ||
} | |||
.catlinks, | |||
.toc, | |||
#toc, | |||
.wikitable, | |||
.thumbinner, | |||
.infobox { | |||
background: var(--td-bg-card) !important; | |||
border: 1px solid var(--td-border) !important; | |||
color: var(--td-text) !important; | |||
box-shadow: 0 8px 24px rgba(0,0,0,.05); | |||
border-radius: 12px; | |||
} | |||
.wikitable th, | |||
.infobox th { | |||
background: rgba(127,127,127,.12) !important; | |||
color: var(--td-text) !important; | |||
} | |||
.wikitable td, | |||
.wikitable th { | |||
border: 1px solid var(--td-border) !important; | |||
} | |||
.infobox { | |||
overflow: hidden; | |||
} | |||
.td-sourcebox { | |||
border: 1px solid rgba(229,9,20,.25); | |||
background: rgba(229,9,20,.08); | |||
color: var(--td-text); | |||
padding: 12px 14px; | |||
margin: 14px 0 22px; | |||
font-size: 13px; | |||
border-radius: 14px; | |||
} | } | ||
/* Botão de tema */ | |||
color: | #td-theme-toggle { | ||
position: fixed; | |||
right: 22px; | |||
bottom: 22px; | |||
z-index: 99999; | |||
border: 1px solid var(--td-border); | |||
background: var(--td-bg-card); | |||
color: var(--td-text); | |||
box-shadow: var(--td-shadow); | |||
border-radius: 999px; | |||
padding: 11px 16px; | |||
font-weight: 800; | |||
cursor: pointer; | |||
backdrop-filter: blur(16px); | |||
} | } | ||
#td-theme-toggle:hover { | |||
# | transform: translateY(-2px); | ||
} | } | ||
. | /* Home moderna */ | ||
.td-home { | |||
max-width: 1240px; | |||
margin | margin: 0 auto; | ||
} | } | ||
. | .td-hero { | ||
position: relative; | |||
border: | overflow: hidden; | ||
border | border-radius: 30px; | ||
padding: clamp(28px, 5vw, 58px); | |||
margin: 8px 0 24px; | |||
color: #fff; | |||
background: var(--td-hero); | |||
box-shadow: var(--td-shadow); | |||
border: 1px solid rgba(255,255,255,.14); | |||
} | } | ||
. | .td-hero::after { | ||
background: | content: ""; | ||
position: absolute; | |||
inset: 0; | |||
background: | |||
linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px), | |||
linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px); | |||
background-size: 42px 42px; | |||
opacity: .14; | |||
pointer-events: none; | |||
} | } | ||
. | .td-hero-content { | ||
position: relative; | |||
z-index: 2; | |||
max-width: 860px; | |||
} | } | ||
. | .td-kicker { | ||
display: inline-flex; | |||
align-items: center; | |||
gap: 8px; | |||
background: rgba(255,255,255,.12); | |||
background: | border: 1px solid rgba(255,255,255,.18); | ||
border: 1px solid | border-radius: 999px; | ||
border- | padding: 8px 12px; | ||
font-size: | font-size: 12px; | ||
font-weight: 900; | |||
text-transform: uppercase; | |||
letter-spacing: .12em; | |||
margin-bottom: 18px; | |||
} | } | ||
. | .td-hero-title { | ||
font-size: clamp(38px, 7vw, 78px); | |||
line-height: .96; | |||
font-weight: 950; | |||
letter-spacing: -0.055em; | |||
margin-bottom: 18px; | |||
} | } | ||
. | .td-hero-text { | ||
. | font-size: clamp(16px, 2vw, 21px); | ||
line-height: 1.55; | |||
color: rgba(255,255,255,.84); | |||
max-width: 780px; | |||
} | } | ||
. | .td-hero-actions { | ||
display: flex; | |||
flex-wrap: wrap; | |||
gap: 12px; | |||
margin-top: 26px; | |||
} | } | ||
.td- | .td-btn { | ||
display: inline-flex; | |||
align-items: center; | |||
justify-content: center; | |||
min-height: 44px; | |||
font- | padding: 0 18px; | ||
border-radius: 999px; | |||
font-weight: 900; | |||
text-decoration: none !important; | |||
border: 1px solid rgba(255,255,255,.18); | |||
} | } | ||
.td- | .td-btn-primary { | ||
color: #fff !important; | |||
background: linear-gradient(135deg, var(--td-accent), #ff6a00); | |||
} | } | ||
.td- | .td-btn-ghost { | ||
color: #fff !important; | |||
background: | background: rgba(255,255,255,.12); | ||
} | } | ||
.td- | .td-section-title { | ||
display: flex; | |||
align-items: center; | |||
justify-content: space-between; | |||
gap: 16px; | |||
margin: 28px 0 14px; | |||
} | } | ||
.td- | .td-section-title h2 { | ||
font-size: | margin: 0 !important; | ||
padding: 0 !important; | |||
border: 0 !important; | |||
font-size: 25px; | |||
font-weight: 950; | |||
letter-spacing: -0.03em; | |||
} | } | ||
.td- | .td-section-title span { | ||
color: var(--td-muted); | |||
font-size: 14px; | font-size: 14px; | ||
} | } | ||
.td- | .td-grid { | ||
display: grid; | display: grid; | ||
grid-template-columns: 1fr 1fr; | gap: 16px; | ||
} | |||
.td-grid-4 { | |||
grid-template-columns: repeat(4, minmax(0, 1fr)); | |||
} | |||
.td-grid-3 { | |||
grid-template-columns: repeat(3, minmax(0, 1fr)); | |||
} | |||
.td-card { | |||
position: relative; | |||
overflow: hidden; | |||
min-height: 160px; | |||
padding: 20px; | |||
border-radius: 22px; | |||
background: var(--td-card-gradient); | |||
border: 1px solid var(--td-border); | |||
box-shadow: 0 12px 30px rgba(0,0,0,.06); | |||
transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; | |||
} | |||
.td-card:hover { | |||
transform: translateY(-4px); | |||
box-shadow: var(--td-shadow); | |||
border-color: rgba(229,9,20,.35); | |||
} | |||
.td-card::before { | |||
content: ""; | |||
position: absolute; | |||
width: 140px; | |||
height: 140px; | |||
right: -48px; | |||
top: -48px; | |||
border-radius: 999px; | |||
background: radial-gradient(circle, rgba(229,9,20,.26), transparent 65%); | |||
} | |||
.td-card-icon { | |||
width: 42px; | |||
height: 42px; | |||
border-radius: 14px; | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
background: linear-gradient(135deg, var(--td-accent), var(--td-accent-2)); | |||
color: #fff; | |||
font-size: 22px; | |||
margin-bottom: 14px; | |||
} | |||
.td-card-title { | |||
position: relative; | |||
z-index: 1; | |||
font-size: 19px; | |||
font-weight: 950; | |||
color: var(--td-text); | |||
margin-bottom: 8px; | |||
} | |||
.td-card-text { | |||
position: relative; | |||
z-index: 1; | |||
color: var(--td-muted); | |||
font-size: 14px; | |||
line-height: 1.55; | |||
margin-bottom: 14px; | margin-bottom: 14px; | ||
} | } | ||
.td- | .td-card-link { | ||
border: 1px solid | position: relative; | ||
z-index: 1; | |||
padding: 12px | font-weight: 900; | ||
} | |||
.td-wide { | |||
display: grid; | |||
grid-template-columns: 1.15fr .85fr; | |||
gap: 16px; | |||
margin-top: 16px; | |||
} | |||
.td-panel { | |||
border-radius: 24px; | |||
background: var(--td-card-gradient); | |||
border: 1px solid var(--td-border); | |||
box-shadow: 0 12px 30px rgba(0,0,0,.06); | |||
padding: 22px; | |||
} | |||
.td-panel h2 { | |||
margin-top: 0 !important; | |||
padding-top: 0 !important; | |||
border: 0 !important; | |||
font-size: 24px; | |||
font-weight: 950; | |||
} | |||
.td-list { | |||
display: grid; | |||
gap: 10px; | |||
margin: 0; | |||
} | |||
.td-list a { | |||
display: block; | |||
padding: 12px 14px; | |||
border-radius: 14px; | |||
background: rgba(127,127,127,.08); | |||
text-decoration: none !important; | |||
font-weight: 800; | |||
} | } | ||
.td- | .td-list a:hover { | ||
background: | background: rgba(229,9,20,.11); | ||
} | |||
.td-stats { | |||
display: grid; | |||
margin | grid-template-columns: repeat(4, minmax(0, 1fr)); | ||
gap: 12px; | |||
margin-top: 16px; | |||
} | } | ||
.td- | .td-stat { | ||
border-radius: 18px; | |||
padding: 16px; | |||
background: rgba(127,127,127,.08); | |||
border: 1px solid var(--td-border); | |||
} | } | ||
.td- | .td-stat-num { | ||
font-size: 25px; | |||
font-weight: 950; | |||
color: var(--td-accent); | |||
} | } | ||
.td- | .td-stat-label { | ||
color: var(--td-muted); | |||
font-size: 13px; | |||
font-weight: 800; | |||
} | } | ||
@media (max-width: | @media (max-width: 980px) { | ||
.td- | .td-grid-4, | ||
grid-template-columns: 1fr; | .td-grid-3, | ||
.td-wide, | |||
.td-stats { | |||
grid-template-columns: 1fr 1fr; | |||
} | } | ||
} | |||
.td- | @media (max-width: 620px) { | ||
.td-grid-4, | |||
.td-grid-3, | |||
.td-wide, | |||
.td-stats { | |||
grid-template-columns: 1fr; | |||
} | } | ||
. | .td-hero { | ||
border- | border-radius: 22px; | ||
} | } | ||
#td-theme-toggle { | |||
right: 14px; | |||
bottom: 14px; | |||
padding: 10px 13px; | |||
font-size: 13px; | |||
} | } | ||
} | } | ||
Edição das 14h20min de 28 de junho de 2026
/* ==========================================================
Wiki TokuDrive - Design moderno estilo Fandom
Modo claro + escuro
========================================================== */
:root {
--td-bg: #f4f6fb;
--td-bg-soft: #ffffff;
--td-bg-card: rgba(255,255,255,.92);
--td-text: #161922;
--td-muted: #5d6475;
--td-border: rgba(20,24,36,.12);
--td-accent: #e50914;
--td-accent-2: #7b2cff;
--td-link: #165dcc;
--td-shadow: 0 18px 45px rgba(10,15,30,.12);
--td-hero: linear-gradient(135deg, #171b2a 0%, #22113a 50%, #79090f 100%);
--td-card-gradient: linear-gradient(180deg, rgba(255,255,255,.96), rgba(246,247,252,.92));
}
html[data-td-theme="dark"] {
--td-bg: #080a10;
--td-bg-soft: #111522;
--td-bg-card: rgba(20,24,38,.94);
--td-text: #f3f5fb;
--td-muted: #aab2c5;
--td-border: rgba(255,255,255,.13);
--td-accent: #ff3344;
--td-accent-2: #9b6cff;
--td-link: #8eb5ff;
--td-shadow: 0 22px 60px rgba(0,0,0,.38);
--td-hero: radial-gradient(circle at top left, rgba(229,9,20,.55), transparent 30%),
radial-gradient(circle at bottom right, rgba(123,44,255,.5), transparent 32%),
linear-gradient(135deg, #090b12 0%, #151a2a 50%, #230910 100%);
--td-card-gradient: linear-gradient(180deg, rgba(25,30,48,.98), rgba(16,20,33,.94));
}
html,
body {
background: var(--td-bg) !important;
color: var(--td-text) !important;
}
body {
font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
/* Área principal */
.mw-body,
.citizen-body,
#content,
.mw-parser-output {
color: var(--td-text);
}
.mw-body,
.citizen-body {
background: transparent !important;
}
#content,
.citizen-page-container,
.citizen-body-container {
background: transparent !important;
}
/* Artigos */
.mw-parser-output > p,
.mw-parser-output li {
font-size: 16px;
line-height: 1.72;
}
.mw-parser-output h1,
.mw-parser-output h2,
.mw-parser-output h3 {
color: var(--td-text);
border-color: var(--td-border);
}
a {
color: var(--td-link);
}
a:visited {
color: var(--td-link);
}
.catlinks,
.toc,
#toc,
.wikitable,
.thumbinner,
.infobox {
background: var(--td-bg-card) !important;
border: 1px solid var(--td-border) !important;
color: var(--td-text) !important;
box-shadow: 0 8px 24px rgba(0,0,0,.05);
border-radius: 12px;
}
.wikitable th,
.infobox th {
background: rgba(127,127,127,.12) !important;
color: var(--td-text) !important;
}
.wikitable td,
.wikitable th {
border: 1px solid var(--td-border) !important;
}
.infobox {
overflow: hidden;
}
.td-sourcebox {
border: 1px solid rgba(229,9,20,.25);
background: rgba(229,9,20,.08);
color: var(--td-text);
padding: 12px 14px;
margin: 14px 0 22px;
font-size: 13px;
border-radius: 14px;
}
/* Botão de tema */
#td-theme-toggle {
position: fixed;
right: 22px;
bottom: 22px;
z-index: 99999;
border: 1px solid var(--td-border);
background: var(--td-bg-card);
color: var(--td-text);
box-shadow: var(--td-shadow);
border-radius: 999px;
padding: 11px 16px;
font-weight: 800;
cursor: pointer;
backdrop-filter: blur(16px);
}
#td-theme-toggle:hover {
transform: translateY(-2px);
}
/* Home moderna */
.td-home {
max-width: 1240px;
margin: 0 auto;
}
.td-hero {
position: relative;
overflow: hidden;
border-radius: 30px;
padding: clamp(28px, 5vw, 58px);
margin: 8px 0 24px;
color: #fff;
background: var(--td-hero);
box-shadow: var(--td-shadow);
border: 1px solid rgba(255,255,255,.14);
}
.td-hero::after {
content: "";
position: absolute;
inset: 0;
background:
linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px),
linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
background-size: 42px 42px;
opacity: .14;
pointer-events: none;
}
.td-hero-content {
position: relative;
z-index: 2;
max-width: 860px;
}
.td-kicker {
display: inline-flex;
align-items: center;
gap: 8px;
background: rgba(255,255,255,.12);
border: 1px solid rgba(255,255,255,.18);
border-radius: 999px;
padding: 8px 12px;
font-size: 12px;
font-weight: 900;
text-transform: uppercase;
letter-spacing: .12em;
margin-bottom: 18px;
}
.td-hero-title {
font-size: clamp(38px, 7vw, 78px);
line-height: .96;
font-weight: 950;
letter-spacing: -0.055em;
margin-bottom: 18px;
}
.td-hero-text {
font-size: clamp(16px, 2vw, 21px);
line-height: 1.55;
color: rgba(255,255,255,.84);
max-width: 780px;
}
.td-hero-actions {
display: flex;
flex-wrap: wrap;
gap: 12px;
margin-top: 26px;
}
.td-btn {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 44px;
padding: 0 18px;
border-radius: 999px;
font-weight: 900;
text-decoration: none !important;
border: 1px solid rgba(255,255,255,.18);
}
.td-btn-primary {
color: #fff !important;
background: linear-gradient(135deg, var(--td-accent), #ff6a00);
}
.td-btn-ghost {
color: #fff !important;
background: rgba(255,255,255,.12);
}
.td-section-title {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
margin: 28px 0 14px;
}
.td-section-title h2 {
margin: 0 !important;
padding: 0 !important;
border: 0 !important;
font-size: 25px;
font-weight: 950;
letter-spacing: -0.03em;
}
.td-section-title span {
color: var(--td-muted);
font-size: 14px;
}
.td-grid {
display: grid;
gap: 16px;
}
.td-grid-4 {
grid-template-columns: repeat(4, minmax(0, 1fr));
}
.td-grid-3 {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.td-card {
position: relative;
overflow: hidden;
min-height: 160px;
padding: 20px;
border-radius: 22px;
background: var(--td-card-gradient);
border: 1px solid var(--td-border);
box-shadow: 0 12px 30px rgba(0,0,0,.06);
transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.td-card:hover {
transform: translateY(-4px);
box-shadow: var(--td-shadow);
border-color: rgba(229,9,20,.35);
}
.td-card::before {
content: "";
position: absolute;
width: 140px;
height: 140px;
right: -48px;
top: -48px;
border-radius: 999px;
background: radial-gradient(circle, rgba(229,9,20,.26), transparent 65%);
}
.td-card-icon {
width: 42px;
height: 42px;
border-radius: 14px;
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(135deg, var(--td-accent), var(--td-accent-2));
color: #fff;
font-size: 22px;
margin-bottom: 14px;
}
.td-card-title {
position: relative;
z-index: 1;
font-size: 19px;
font-weight: 950;
color: var(--td-text);
margin-bottom: 8px;
}
.td-card-text {
position: relative;
z-index: 1;
color: var(--td-muted);
font-size: 14px;
line-height: 1.55;
margin-bottom: 14px;
}
.td-card-link {
position: relative;
z-index: 1;
font-weight: 900;
}
.td-wide {
display: grid;
grid-template-columns: 1.15fr .85fr;
gap: 16px;
margin-top: 16px;
}
.td-panel {
border-radius: 24px;
background: var(--td-card-gradient);
border: 1px solid var(--td-border);
box-shadow: 0 12px 30px rgba(0,0,0,.06);
padding: 22px;
}
.td-panel h2 {
margin-top: 0 !important;
padding-top: 0 !important;
border: 0 !important;
font-size: 24px;
font-weight: 950;
}
.td-list {
display: grid;
gap: 10px;
margin: 0;
}
.td-list a {
display: block;
padding: 12px 14px;
border-radius: 14px;
background: rgba(127,127,127,.08);
text-decoration: none !important;
font-weight: 800;
}
.td-list a:hover {
background: rgba(229,9,20,.11);
}
.td-stats {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 12px;
margin-top: 16px;
}
.td-stat {
border-radius: 18px;
padding: 16px;
background: rgba(127,127,127,.08);
border: 1px solid var(--td-border);
}
.td-stat-num {
font-size: 25px;
font-weight: 950;
color: var(--td-accent);
}
.td-stat-label {
color: var(--td-muted);
font-size: 13px;
font-weight: 800;
}
@media (max-width: 980px) {
.td-grid-4,
.td-grid-3,
.td-wide,
.td-stats {
grid-template-columns: 1fr 1fr;
}
}
@media (max-width: 620px) {
.td-grid-4,
.td-grid-3,
.td-wide,
.td-stats {
grid-template-columns: 1fr;
}
.td-hero {
border-radius: 22px;
}
#td-theme-toggle {
right: 14px;
bottom: 14px;
padding: 10px 13px;
font-size: 13px;
}
}