MediaWiki:Common.css

De Wiki PokeLegends
Revisão de 15h00min 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.
/* =========================================================
   🌙 PALETA GLOBAL
========================================================= */
:root {
    --bg-main: #202225;
    --bg-soft: #2c2f33;
    --bg-hover: #23272a;
    --border: #444;
    --text: #ffffff;
    --text-soft: #dddddd;
}

/* =========================================================
   🔄 RESET GLOBAL
========================================================= */
* {
    border: none !important;
    box-shadow: none !important;
}

/* =========================================================
   🌙 FUNDO GLOBAL
========================================================= */
body,
#content,
.mw-body,
#mw-head,
#footer {
    background-color: var(--bg-main) !important;
    color: var(--text) !important;
}

/* =========================================================
   ✨ TRANSIÇÕES
========================================================= */
a,
button,
input,
select,
textarea,
#mw-panel a,
.vector-menu-tabs a,
#p-personal a {
    transition: all 0.25s ease;
}

/* =========================================================
   🔗 LINKS
========================================================= */
a {
    color: var(--text) !important;
    text-decoration: none;
}

a:hover {
    color: var(--text-soft) !important;
}

/* =========================================================
   📂 SIDEBAR
========================================================= */
#mw-panel,
#mw-panel .portal,
#mw-panel .body,
#mw-panel .vector-menu-content {
    background-color: var(--bg-soft) !important;
}

#mw-panel,
#mw-panel * {
    color: var(--text) !important;
}

#mw-panel a {
    display: block;
    padding: 6px 10px;
    border-radius: 4px;
    background-color: var(--bg-soft) !important;
}

#mw-panel a:hover {
    background-color: var(--bg-hover) !important;
    transform: translateX(3px);
}

/* =========================================================
   🔝 TOPO
========================================================= */
.vector-menu-tabs,
.vector-menu-tabs *,
#p-personal,
#p-personal * {
    background-color: var(--bg-main) !important;
    color: var(--text) !important;
}

.vector-menu-tabs a:hover,
#p-personal a:hover {
    background-color: var(--bg-soft) !important;
}

/* =========================================================
   🔘 INPUTS
========================================================= */
button,
input,
select,
textarea {
    background-color: var(--bg-soft) !important;
    color: var(--text) !important;
}

button:hover,
input:hover,
select:hover {
    background-color: var(--bg-hover) !important;
}

/* =========================================================
   📊 TABELAS (CORREÇÃO TOTAL)
========================================================= */
table,
.wikitable,
.mw-parser-output table {
    background-color: var(--bg-soft) !important;
    color: var(--text) !important;
    border: 1px solid var(--border) !important;
}

/* força texto branco em tudo */
table *,
.wikitable *,
.mw-parser-output table * {
    color: var(--text) !important;
}

/* elementos internos */
table span,
table div,
table small,
table b,
table i,
table a {
    color: var(--text) !important;
}

/* cabeçalho */
th {
    background-color: var(--bg-hover) !important;
    color: var(--text) !important;
}

/* células */
td {
    background-color: var(--bg-soft) !important;
    color: var(--text) !important;
}

/* remove estilos inline */
[style*="color:black"],
[style*="color: black"],
[style*="color:#000"],
[style*="color: #000"] {
    color: var(--text) !important;
}

/* =========================================================
   📦 CAIXAS
========================================================= */
.infobox,
.navbox,
#toc,
.toc {
    background-color: var(--bg-soft) !important;
    color: var(--text) !important;
    border: 1px solid var(--border) !important;
}

#toc a:hover {
    background-color: var(--bg-hover) !important;
}

/* =========================================================
   📝 TEXTOS
========================================================= */
h1, h2, h3, h4, h5, h6,
p, span, li {
    color: var(--text) !important;
}

/* =========================================================
   🚫 REMOVE BRANCO INLINE
========================================================= */
[style*="background:#fff"],
[style*="background-color:#fff"],
[style*="background: white"] {
    background-color: var(--bg-soft) !important;
    color: var(--text) !important;
}

/* =========================================================
   🧠 EDITOR (MODO CLARO)
========================================================= */
body.action-edit,
body.action-submit {
    background-color: #ffffff !important;
    color: #000000 !important;
}

#wpTextbox1 {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #ccc !important;
}

.ve-ui-surface {
    background-color: #ffffff !important;
    color: #000000 !important;
}

body.action-edit input,
body.action-edit textarea,
body.action-edit select {
    background-color: #ffffff !important;
    color: #000000 !important;
}

body.action-edit a {
    color: #0645ad !important;
}

/* =========================================================
   🧠 TOOLBAR
========================================================= */
.ve-ui-toolbar .oo-ui-buttonElement-button,
.ve-ui-toolbar .oo-ui-labelElement-label {
    color: #000000 !important;
}

.ve-ui-toolbar .oo-ui-iconElement-icon {
    filter: invert(1);
}

/* =========================================================
   🧠 JANELAS (UPLOAD/MÍDIA)
========================================================= */
.oo-ui-window-content,
.oo-ui-window-content * {
    background-color: #ffffff !important;
    color: #000000 !important;
}