MediaWiki:Common.css: mudanças entre as edições
Aparência
Corrigindo design limpo da Wiki TokuDrive |
Menu superior e remoção da área bugada |
||
| Linha 1: | Linha 1: | ||
:root { | :root { | ||
--td-bg: #f4f6fb; | --td-bg: #f4f6fb; | ||
| Linha 66: | Linha 62: | ||
} | } | ||
/* | /* remove menu lateral */ | ||
.citizen-drawer, | |||
.citizen-sidebar, | |||
#mw-panel, | |||
.vector-column-start { | |||
display: none !important; | |||
} | |||
.citizen-body-container, | |||
.vector-body, | |||
.mw-workspace-container { | |||
grid-template-columns: 1fr !important; | |||
} | |||
.citizen-page-container, | |||
.mw-body { | |||
max-width: 100% !important; | |||
margin-left: auto !important; | |||
margin-right: auto !important; | |||
} | |||
/* menu superior */ | |||
#td-global-topnav { | |||
position: sticky; | |||
top: 0; | |||
z-index: 9999; | |||
background: rgba(255,255,255,.92); | |||
backdrop-filter: blur(12px); | |||
border-bottom: 1px solid var(--td-border); | |||
} | |||
html[data-td-theme="dark"] #td-global-topnav { | |||
background: rgba(15,20,29,.92); | |||
} | |||
.td-global-topnav-inner { | |||
max-width: 1320px; | |||
margin: 0 auto; | |||
padding: 12px 18px; | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
gap: 10px; | |||
flex-wrap: wrap; | |||
} | |||
.td-global-topnav-inner a { | |||
display: inline-flex; | |||
align-items: center; | |||
min-height: 38px; | |||
padding: 0 14px; | |||
border-radius: 999px; | |||
text-decoration: none !important; | |||
font-weight: 850; | |||
color: var(--td-text) !important; | |||
background: rgba(127,127,127,.08); | |||
border: 1px solid transparent; | |||
} | |||
.td-global-topnav-inner a:hover { | |||
border-color: var(--td-border); | |||
background: rgba(229,9,20,.08); | |||
} | |||
/* home */ | |||
.page-Página_principal .mw-page-title-main, | .page-Página_principal .mw-page-title-main, | ||
.page-Página_principal .citizen-page-header, | .page-Página_principal .citizen-page-header, | ||
| Linha 77: | Linha 137: | ||
} | } | ||
.toc, | .toc, | ||
#toc, | #toc, | ||
| Linha 112: | Linha 171: | ||
} | } | ||
#td-theme-toggle { | #td-theme-toggle { | ||
position: fixed; | position: fixed; | ||
| Linha 128: | Linha 186: | ||
} | } | ||
.td-home { | .td-home { | ||
max-width: 1320px; | max-width: 1320px; | ||
margin: 0 auto; | margin: 0 auto; | ||
padding: | padding: 18px 0 34px; | ||
} | } | ||
| Linha 170: | Linha 227: | ||
display: inline-flex; | display: inline-flex; | ||
align-items: center; | align-items: center; | ||
min-height: 32px; | min-height: 32px; | ||
padding: 0 12px; | padding: 0 12px; | ||
| Linha 265: | Linha 321: | ||
} | } | ||
.td-latest | .td-latest-grid { | ||
display: grid; | display: grid; | ||
gap: 16px; | gap: 16px; | ||
grid-template-columns: repeat(4, minmax(0, 1fr)); | grid-template-columns: repeat(4, minmax(0, 1fr)); | ||
} | } | ||
.td-latest-card, | .td-latest-card, | ||
.td-panel { | .td-panel { | ||
background: var(--td-card); | background: var(--td-card); | ||
| Linha 333: | Linha 380: | ||
border: 1px solid var(--td-border); | border: 1px solid var(--td-border); | ||
color: var(--td-muted); | color: var(--td-muted); | ||
} | } | ||
| Linha 417: | Linha 426: | ||
.td-latest-grid { | .td-latest-grid { | ||
grid-template-columns: repeat(2, minmax(0, 1fr)); | grid-template-columns: repeat(2, minmax(0, 1fr)); | ||
} | } | ||
| Linha 430: | Linha 435: | ||
@media (max-width: 660px) { | @media (max-width: 660px) { | ||
.td-home { | .td-home { | ||
padding: | padding: 8px 0 26px; | ||
} | } | ||
| Linha 456: | Linha 461: | ||
} | } | ||
.td-latest | .td-latest-grid { | ||
grid-template-columns: 1fr; | grid-template-columns: 1fr; | ||
} | } | ||
| Linha 467: | Linha 471: | ||
.td-section-head p { | .td-section-head p { | ||
margin-top: 6px; | margin-top: 6px; | ||
} | |||
.td-global-topnav-inner { | |||
justify-content: flex-start; | |||
overflow-x: auto; | |||
flex-wrap: nowrap; | |||
} | } | ||
Edição das 14h33min de 28 de junho de 2026
:root {
--td-bg: #f4f6fb;
--td-surface: #ffffff;
--td-card: #ffffff;
--td-card-soft: #f8f9fc;
--td-text: #171a24;
--td-muted: #687084;
--td-border: rgba(23, 26, 36, .12);
--td-link: #195ec8;
--td-primary: #111827;
--td-accent: #e50914;
--td-shadow: 0 18px 45px rgba(16, 24, 40, .10);
--td-radius: 22px;
}
html[data-td-theme="dark"] {
--td-bg: #090b10;
--td-surface: #121620;
--td-card: #151a26;
--td-card-soft: #10141d;
--td-text: #f4f6fb;
--td-muted: #a8b0c2;
--td-border: rgba(255,255,255,.12);
--td-link: #9dbdff;
--td-primary: #ffffff;
--td-shadow: 0 18px 55px rgba(0,0,0,.35);
}
html,
body {
background: var(--td-bg) !important;
color: var(--td-text) !important;
font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body,
.mw-body,
.citizen-body,
#content,
.citizen-page-container,
.citizen-body-container {
background: var(--td-bg) !important;
color: var(--td-text) !important;
}
a,
a:visited {
color: var(--td-link);
}
.mw-parser-output h1,
.mw-parser-output h2,
.mw-parser-output h3 {
color: var(--td-text);
border-color: var(--td-border);
}
.mw-parser-output > p,
.mw-parser-output li {
font-size: 16px;
line-height: 1.72;
}
/* remove menu lateral */
.citizen-drawer,
.citizen-sidebar,
#mw-panel,
.vector-column-start {
display: none !important;
}
.citizen-body-container,
.vector-body,
.mw-workspace-container {
grid-template-columns: 1fr !important;
}
.citizen-page-container,
.mw-body {
max-width: 100% !important;
margin-left: auto !important;
margin-right: auto !important;
}
/* menu superior */
#td-global-topnav {
position: sticky;
top: 0;
z-index: 9999;
background: rgba(255,255,255,.92);
backdrop-filter: blur(12px);
border-bottom: 1px solid var(--td-border);
}
html[data-td-theme="dark"] #td-global-topnav {
background: rgba(15,20,29,.92);
}
.td-global-topnav-inner {
max-width: 1320px;
margin: 0 auto;
padding: 12px 18px;
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
flex-wrap: wrap;
}
.td-global-topnav-inner a {
display: inline-flex;
align-items: center;
min-height: 38px;
padding: 0 14px;
border-radius: 999px;
text-decoration: none !important;
font-weight: 850;
color: var(--td-text) !important;
background: rgba(127,127,127,.08);
border: 1px solid transparent;
}
.td-global-topnav-inner a:hover {
border-color: var(--td-border);
background: rgba(229,9,20,.08);
}
/* home */
.page-Página_principal .mw-page-title-main,
.page-Página_principal .citizen-page-header,
.page-Página_principal .mw-first-heading {
display: none !important;
}
.page-Página_principal .mw-parser-output {
max-width: none;
}
.toc,
#toc,
.catlinks,
.thumbinner,
.infobox,
.wikitable {
background: var(--td-card) !important;
color: var(--td-text) !important;
border: 1px solid var(--td-border) !important;
border-radius: 14px;
box-shadow: 0 8px 24px rgba(0,0,0,.04);
}
.wikitable th,
.infobox th {
background: rgba(127,127,127,.10) !important;
color: var(--td-text) !important;
}
.wikitable td,
.wikitable th {
border: 1px solid var(--td-border) !important;
}
.td-sourcebox {
border: 1px solid rgba(229,9,20,.24);
background: rgba(229,9,20,.07);
color: var(--td-text);
padding: 12px 14px;
margin: 14px 0 22px;
border-radius: 14px;
font-size: 13px;
}
#td-theme-toggle {
position: fixed;
right: 20px;
bottom: 18px;
z-index: 99999;
border: 1px solid var(--td-border);
background: var(--td-card);
color: var(--td-text);
box-shadow: var(--td-shadow);
border-radius: 999px;
padding: 10px 14px;
font-weight: 800;
cursor: pointer;
}
.td-home {
max-width: 1320px;
margin: 0 auto;
padding: 18px 0 34px;
}
.td-hero {
position: relative;
overflow: hidden;
border-radius: 30px;
padding: clamp(28px, 5vw, 62px);
background:
radial-gradient(circle at top left, rgba(229,9,20,.20), transparent 34%),
radial-gradient(circle at bottom right, rgba(25,94,200,.16), transparent 36%),
linear-gradient(135deg, var(--td-surface), var(--td-card-soft));
border: 1px solid var(--td-border);
box-shadow: var(--td-shadow);
text-align: center;
}
html[data-td-theme="dark"] .td-hero {
background:
radial-gradient(circle at top left, rgba(229,9,20,.28), transparent 34%),
radial-gradient(circle at bottom right, rgba(25,94,200,.24), transparent 36%),
linear-gradient(135deg, #151a26, #0f121a);
}
.td-home-logo {
width: min(340px, 82vw);
height: 115px;
margin: 0 auto 14px;
background-image: url('/resources/assets/tokudrive-logo.png');
background-size: contain;
background-position: center;
background-repeat: no-repeat;
filter: drop-shadow(0 12px 22px rgba(0,0,0,.14));
}
.td-kicker {
display: inline-flex;
align-items: center;
min-height: 32px;
padding: 0 12px;
border-radius: 999px;
background: rgba(229,9,20,.09);
color: var(--td-accent);
font-size: 12px;
font-weight: 900;
text-transform: uppercase;
letter-spacing: .12em;
margin-bottom: 16px;
}
.td-title {
font-size: clamp(34px, 6vw, 64px);
line-height: 1;
letter-spacing: -.055em;
font-weight: 950;
color: var(--td-primary);
margin: 0 0 16px;
}
.td-subtitle {
max-width: 820px;
margin: 0 auto;
color: var(--td-muted);
font-size: clamp(16px, 2vw, 20px);
line-height: 1.55;
}
.td-search-area {
max-width: 760px;
margin: 28px auto 0;
}
.td-search-form {
display: flex;
gap: 10px;
padding: 8px;
border-radius: 999px;
background: var(--td-card);
border: 1px solid var(--td-border);
box-shadow: 0 12px 28px rgba(0,0,0,.08);
}
.td-search-input {
flex: 1;
min-width: 0;
border: 0;
outline: none;
background: transparent;
color: var(--td-text);
padding: 0 16px;
font-size: 16px;
}
.td-search-button {
border: 0;
border-radius: 999px;
padding: 0 20px;
min-height: 44px;
background: var(--td-primary);
color: var(--td-surface);
font-weight: 900;
cursor: pointer;
}
html[data-td-theme="dark"] .td-search-button {
background: #ffffff;
color: #10141d;
}
.td-section-head {
display: flex;
align-items: end;
justify-content: space-between;
gap: 16px;
margin: 30px 0 14px;
}
.td-section-head h2 {
margin: 0 !important;
padding: 0 !important;
border: 0 !important;
font-size: 26px;
letter-spacing: -.03em;
font-weight: 950;
}
.td-section-head p {
margin: 0;
color: var(--td-muted);
font-size: 14px;
}
.td-latest-grid {
display: grid;
gap: 16px;
grid-template-columns: repeat(4, minmax(0, 1fr));
}
.td-latest-card,
.td-panel {
background: var(--td-card);
border: 1px solid var(--td-border);
border-radius: var(--td-radius);
box-shadow: 0 12px 30px rgba(0,0,0,.055);
}
.td-latest-card {
min-height: 155px;
padding: 18px;
display: flex;
flex-direction: column;
justify-content: space-between;
text-decoration: none !important;
transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.td-latest-card:hover {
transform: translateY(-4px);
box-shadow: var(--td-shadow);
border-color: rgba(229,9,20,.30);
}
.td-latest-label {
color: var(--td-muted);
font-size: 12px;
font-weight: 900;
text-transform: uppercase;
letter-spacing: .10em;
}
.td-latest-title {
color: var(--td-text);
font-size: 18px;
line-height: 1.25;
font-weight: 950;
margin: 12px 0;
}
.td-latest-date {
color: var(--td-muted);
font-size: 13px;
font-weight: 700;
}
.td-loading {
grid-column: 1 / -1;
padding: 22px;
border-radius: var(--td-radius);
background: var(--td-card);
border: 1px solid var(--td-border);
color: var(--td-muted);
}
.td-two-cols {
display: grid;
grid-template-columns: 1.1fr .9fr;
gap: 16px;
margin-top: 18px;
}
.td-panel {
padding: 22px;
}
.td-panel h2 {
margin-top: 0 !important;
padding-top: 0 !important;
border: 0 !important;
font-size: 24px;
font-weight: 950;
}
.td-panel p {
color: var(--td-muted);
}
.td-link-list {
display: grid;
gap: 10px;
}
.td-link-list a {
display: block;
padding: 12px 14px;
border-radius: 14px;
background: rgba(127,127,127,.08);
text-decoration: none !important;
font-weight: 850;
}
.td-link-list a:hover {
background: rgba(229,9,20,.10);
}
@media (max-width: 1120px) {
.td-latest-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.td-two-cols {
grid-template-columns: 1fr;
}
}
@media (max-width: 660px) {
.td-home {
padding: 8px 0 26px;
}
.td-hero {
border-radius: 22px;
padding: 26px 18px;
}
.td-home-logo {
height: 86px;
}
.td-search-form {
border-radius: 18px;
flex-direction: column;
padding: 12px;
}
.td-search-input {
min-height: 42px;
}
.td-search-button {
width: 100%;
}
.td-latest-grid {
grid-template-columns: 1fr;
}
.td-section-head {
display: block;
}
.td-section-head p {
margin-top: 6px;
}
.td-global-topnav-inner {
justify-content: flex-start;
overflow-x: auto;
flex-wrap: nowrap;
}
#td-theme-toggle {
right: 14px;
bottom: 14px;
font-size: 13px;
}
}