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 (FINAL)
======================================== */
/* ===== 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 GLOBAL ===== */
body, p, span, div, li, ul, ol {
color: #e4e6eb !important;
}
/* ===== TÍTULOS ===== */
h1, h2, h3, h4, h5, h6 {
color: #ffffff !important;
}
/* ===== TOPO ===== */
#mw-head {
background-color: #161b22 !important;
}
/* ========================================
📚 SIDEBAR
======================================== */
#mw-panel {
background-color: #161b22 !important;
}
#mw-panel a,
#mw-panel a:visited {
color: #ffffff !important;
transition: 0.2s;
}
#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;
padding: 8px;
}
td, .wikitable td {
background-color: #2a2d31 !important;
color: #e4e6eb !important;
padding: 6px;
}
tr:hover td {
background-color: #32363c !important;
}
/* ========================================
🧾 CAIXAS
======================================== */
.infobox, .toc, .thumb {
background-color: #2a2d31 !important;
border: 1px solid #444 !important;
color: #e4e6eb !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;
}
/* ========================================
🔥 BOTÕES DO TOPO (CORREÇÃO FINAL)
======================================== */
/* Remove fundo branco geral */
.vector-page-toolbar,
.vector-menu-tabs,
.vector-menu-tabs ul {
background-color: transparent !important;
}
/* Tabs principais (Página / Discussão) */
.vector-menu-tabs li a {
background-color: #2a2d31 !important;
color: #e4e6eb !important;
border: 1px solid #444 !important;
border-bottom: none !important;
}
/* Hover */
.vector-menu-tabs li a:hover {
background-color: #32363c !important;
color: #ffffff !important;
}
/* Aba ativa */
.vector-menu-tabs .selected a,
.vector-menu-tabs .selected a:visited {
background-color: #1e1e1e !important;
color: #ffffff !important;
border-bottom: 1px solid #1e1e1e !important;
}
/* Botões direita (Editar, Histórico, etc) */
.vector-page-toolbar .vector-menu-content li a {
background-color: #2a2d31 !important;
color: #e4e6eb !important;
border: 1px solid #444 !important;
}
.vector-page-toolbar .vector-menu-content li a:hover {
background-color: #32363c !important;
color: #ffffff !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;
border: 1px solid #444 !important;
}
.thumbinner {
background-color: transparent !important;
}
/* ===== SCROLL ===== */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-thumb {
background: #444;
border-radius: 4px;
}
/* ========================================
🚨 ANTI-PRETO FINAL (GARANTE BRANCO)
======================================== */
[style*="color: black"],
[style*="color:#000"],
[style*="color: #000"] {
color: #e4e6eb !important;
}