MediaWiki:Common.css
Nota: Após publicar, você pode ter que limpar o "cache" do seu navegador para ver as alterações.
- Firefox / Safari: Pressione Shift enquanto clica Recarregar, ou pressione Ctrl-F5 ou Ctrl-R (⌘-R no Mac)
- Google Chrome: Pressione Ctrl-Shift-R (⌘-Shift-R no Mac)
- Edge: Pressione Ctrl enquanto clica Recarregar, ou pressione Ctrl-F5.
- Opera: Pressione Ctrl-F5.
/* ========================================
🌙 TEMA DARK GLOBAL COMPLETO (ULTRA FIX)
======================================== */
/* ===== FUNDO GLOBAL ===== */
html, body,
#content,
.mw-body,
.mw-parser-output,
.vector-body,
.vector-page-content,
.mw-page-container {
background-color: #1e1e1e !important;
color: #e4e6eb !important;
}
/* ===== TEXTO ===== */
body, p, span, div, li, ul, ol {
color: #e4e6eb !important;
}
/* ===== TÍTULOS ===== */
h1, h2, h3, h4, h5, h6 {
color: #ffffff !important;
}
/* ===== HEADER ===== */
#mw-head,
.vector-header-container {
background-color: #161b22 !important;
}
/* ========================================
📚 SIDEBAR
======================================== */
#mw-panel {
background-color: #161b22 !important;
}
#mw-panel a,
#mw-panel a:visited {
color: #ffffff !important;
}
#mw-panel a:hover {
color: #58a6ff !important;
padding-left: 4px;
}
/* ========================================
🔗 LINKS
======================================== */
.mw-parser-output a {
color: #58a6ff !important;
}
.mw-parser-output a:visited {
color: #8ab4f8 !important;
}
/* ========================================
📊 TABELAS
======================================== */
table, .wikitable {
background-color: #2a2d31 !important;
color: #e4e6eb !important;
border: 1px solid #444 !important;
border-collapse: collapse !important;
}
th, .wikitable th {
background-color: #202225 !important;
color: #ffffff !important;
}
td, .wikitable td {
background-color: #2a2d31 !important;
color: #e4e6eb !important;
}
tr:hover td {
background-color: #32363c !important;
}
/* ========================================
🧾 CAIXAS
======================================== */
.infobox, .toc, .thumb {
background-color: #2a2d31 !important;
border: 1px solid #444 !important;
}
/* ========================================
🧩 INPUTS / BOTÕES
======================================== */
input, textarea, select {
background-color: #2a2d31 !important;
color: #ffffff !important;
border: 1px solid #555 !important;
}
button {
background-color: #30363d !important;
color: #ffffff !important;
border: 1px solid #555 !important;
}
button:hover {
background-color: #3a3f46 !important;
}
/* ========================================
💣 FIX DEFINITIVO BOTÕES TOPO (VECTOR)
======================================== */
/* RESET TOTAL */
.vector-menu-tabs,
.vector-menu-tabs ul,
.vector-page-toolbar,
.vector-menu-content {
background: transparent !important;
}
/* TABS (Página / Discussão) */
.vector-menu-tabs li a,
.vector-menu-tabs li a:link,
.vector-menu-tabs li a:visited {
background: #2a2d31 !important;
color: #e4e6eb !important;
border: 1px solid #444 !important;
box-shadow: none !important;
}
/* HOVER */
.vector-menu-tabs li a:hover {
background: #32363c !important;
color: #ffffff !important;
}
/* ATIVO */
.vector-menu-tabs .selected a {
background: #1e1e1e !important;
color: #ffffff !important;
border-bottom: 1px solid #1e1e1e !important;
}
/* BOTÕES DIREITA (Editar etc) */
.vector-menu-content li a {
background: #2a2d31 !important;
color: #e4e6eb !important;
border: 1px solid #444 !important;
}
.vector-menu-content li a:hover {
background: #32363c !important;
color: #ffffff !important;
}
/* REMOVE FUNDO BRANCO FORÇADO */
.vector-menu-tabs li,
.vector-menu-content li {
background: transparent !important;
}
/* REMOVE GRADIENTES */
.vector-menu-tabs li a {
background-image: none !important;
}
/* ========================================
🧼 LIMPEZA FINAL
======================================== */
.vector-page-toolbar,
.vector-header-container,
.vector-column-end,
.mw-footer {
background-color: #1e1e1e !important;
}
hr {
border-color: #444 !important;
}
pre, code {
background-color: #2a2d31 !important;
color: #e4e6eb !important;
}
/* ========================================
🚨 ANTI-TEXTO PRETO FINAL
======================================== */
[style*="color: black"],
[style*="color:#000"],
[style*="color: #000"] {
color: #e4e6eb !important;
}