MediaWiki:Common.css

De Wiki PokeLegends
Revisão de 12h37min de 7 de maio de 2026 por Rowan (discussão | contribs)
Ir para navegação Ir para pesquisar

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 (UNIFICADO)
======================================== */

/* ===== 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;
}

/* ===== FORÇAR TEXTO BRANCO GLOBAL ===== */
body, p, span, div, li, ul, ol,
.mw-parser-output,
.vector-body,
.vector-page-content {
    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;
}

/* ===== SIDEBAR TEXTO BRANCO ===== */
#mw-panel a,
#mw-panel a:visited {
    color: #ffffff !important;
    transition: 0.2s;
}

#mw-panel a:hover {
    color: #58a6ff !important;
    padding-left: 4px;
}

/* ===== LINKS (CONTEÚDO) ===== */
.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;
}

/* Cabeçalho */
th, .wikitable th {
    background-color: #202225 !important;
    color: #ffffff !important;
    padding: 8px;
}

/* Células */
td, .wikitable td {
    background-color: #2a2d31 !important;
    color: #e4e6eb !important;
    padding: 6px;
}

/* Hover tabela */
tr:hover td {
    background-color: #32363c !important;
}

/* ===== INPUTS ===== */
input, textarea, select {
    background-color: #2a2d31 !important;
    color: #ffffff !important;
    border: 1px solid #555 !important;
}

/* ===== BOTÕES ===== */
button {
    background-color: #30363d !important;
    color: #ffffff !important;
    border: 1px solid #555 !important;
    transition: 0.2s;
}

button:hover {
    background-color: #3a3f46 !important;
}

/* ===== CAIXAS ===== */
.infobox, .toc, .thumb {
    background-color: #2a2d31 !important;
    border: 1px solid #444 !important;
    color: #e4e6eb !important;
}

/* ===== IMAGENS ===== */
.thumbinner {
    background-color: transparent !important;
}

/* ===== LINHAS ===== */
hr {
    border-color: #444 !important;
}

/* ===== CÓDIGO ===== */
pre, code {
    background-color: #2a2d31 !important;
    color: #e4e6eb !important;
    border: 1px solid #444 !important;
}

/* ===== REMOVER BRANCOS ESCONDIDOS ===== */
.vector-page-toolbar,
.vector-header-container,
.vector-column-end,
.mw-footer {
    background-color: #1e1e1e !important;
}

/* ===== SCROLL ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 4px;
}

/* ========================================
   ANTI-CSS INLINE (CORREÇÃO FINAL)
======================================== */

/* força branco até em elementos com estilo próprio */
[style*="color: black"],
[style*="color:#000"],
[style*="color: #000"] {
    color: #e4e6eb !important;
}