MediaWiki:Common.css: mudanças entre as edições

De Wiki PokeLegends
Ir para navegação Ir para pesquisar
Sem resumo de edição
Sem resumo de edição
Linha 1: Linha 1:
/* =========================================================
/* =========================================================
   🌙 DARK THEME GLOBAL (WIKI)
   🌙 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,
body,
Linha 7: Linha 27:
#mw-head,
#mw-head,
#footer {
#footer {
     background-color: #202225 !important;
     background-color: var(--bg-main) !important;
     color: #ffffff !important;
     color: var(--text) !important;
    border: none !important;
    box-shadow: none !important;
}
}


/* =========================================================
/* =========================================================
   ✨ TRANSIÇÕES SUAVES (UPGRADE)
   ✨ TRANSIÇÕES SUAVES
========================================================= */
========================================================= */
a,
a,
Linha 35: Linha 53:
========================================================= */
========================================================= */
a, a:visited, a:link {
a, a:visited, a:link {
     color: #ffffff !important;
     color: var(--text) !important;
     text-decoration: none;
     text-decoration: none;
}
}


a:hover {
a:hover {
     color: #dddddd !important;
     color: var(--text-soft) !important;
     opacity: 0.9;
     opacity: 0.9;
}
}
Linha 51: Linha 69:
#mw-panel .body,
#mw-panel .body,
#mw-panel .vector-menu-content {
#mw-panel .vector-menu-content {
     background-color: #2c2f33 !important;
     background-color: var(--bg-soft) !important;
     border: none !important;
}
 
/* Texto branco total */
#mw-panel,
#mw-panel * {
     color: var(--text) !important;
}
}


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


/* HOVER MAIS SUAVE */
/* Hover */
#mw-panel a:hover {
#mw-panel a:hover {
     background-color: #23272a !important;
     background-color: var(--bg-hover) !important;
    color: var(--text-soft) !important;
     transform: translateX(3px);
     transform: translateX(3px);
}
/* Títulos */
#mw-panel h3,
#mw-panel .vector-menu-heading {
    color: var(--text) !important;
}
}


/* =========================================================
/* =========================================================
   🔝 TOPO (BOTÕES)
   🔝 TOPO
========================================================= */
========================================================= */
.vector-menu-tabs,
.vector-menu-tabs,
Linha 82: Linha 112:
.mw-portlet,
.mw-portlet,
.vector-menu {
.vector-menu {
     background-color: #202225 !important;
     background-color: var(--bg-main) !important;
     color: #ffffff !important;
     color: var(--text) !important;
    border: none !important;
}
}


/* HOVER SUAVE */
.vector-menu-tabs a:hover,
.vector-menu-tabs a:hover,
#p-personal a:hover {
#p-personal a:hover {
     background-color: #2c2f33 !important;
     background-color: var(--bg-soft) !important;
     transform: translateY(-1px);
     transform: translateY(-1px);
}
}


/* Aba ativa */
.vector-menu-tabs li.selected a {
.vector-menu-tabs li.selected a {
     background-color: #2c2f33 !important;
     background-color: var(--bg-soft) !important;
}
}


Linha 106: Linha 133:
select,
select,
textarea {
textarea {
     background-color: #2c2f33 !important;
     background-color: var(--bg-soft) !important;
     color: #ffffff !important;
     color: var(--text) !important;
    border: none !important;
}
}


/* HOVER MELHORADO */
button:hover,
button:hover,
input:hover,
input:hover,
select:hover {
select:hover {
     background-color: #23272a !important;
     background-color: var(--bg-hover) !important;
     transform: scale(1.02);
     transform: scale(1.02);
}
}
Linha 124: Linha 149:
table,
table,
.wikitable {
.wikitable {
     background-color: #2c2f33 !important;
     background-color: var(--bg-soft) !important;
     color: #ffffff !important;
     color: var(--text) !important;
     border: 1px solid #444 !important;
     border: 1px solid var(--border) !important;
}
}


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


td {
td {
     background-color: #2c2f33 !important;
     background-color: var(--bg-soft) !important;
}
}


Linha 142: Linha 167:
.infobox,
.infobox,
.navbox {
.navbox {
     background-color: #2c2f33 !important;
     background-color: var(--bg-soft) !important;
     color: #ffffff !important;
     color: var(--text) !important;
}
}


/* =========================================================
/* =========================================================
   📑 ÍNDICE (TOC COMPLETO)
   📑 ÍNDICE
========================================================= */
========================================================= */
#toc,
#toc,
Linha 155: Linha 180:
.tocnumber,
.tocnumber,
.toctext {
.toctext {
     background-color: #2c2f33 !important;
     background-color: var(--bg-soft) !important;
     color: #ffffff !important;
     color: var(--text) !important;
}
}


#toc {
#toc {
     border: 1px solid #444 !important;
     border: 1px solid var(--border) !important;
}
}


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


/* =========================================================
/* =========================================================
   📝 TEXTO E TÍTULOS
   📝 TEXTOS
========================================================= */
========================================================= */
h1, h2, h3, h4, h5, h6,
h1, h2, h3, h4, h5, h6,
.mw-headline,
.mw-headline,
p, span, li {
p, span, li {
     color: #ffffff !important;
     color: var(--text) !important;
}
}


Linha 183: Linha 208:
[style*="background-color:#fff"],
[style*="background-color:#fff"],
[style*="background-color: white"] {
[style*="background-color: white"] {
     background-color: #2c2f33 !important;
     background-color: var(--bg-soft) !important;
     color: #ffffff !important;
     color: var(--text) !important;
}
}


/* =========================================================
/* =========================================================
   🧠 NÃO QUEBRAR EDIÇÃO
   🧠 EDITOR (MODO CLARO)
========================================================= */
========================================================= */
body.action-edit,
body.action-edit,
Linha 196: Linha 221:
}
}


/* textarea edição */
/* Caixa de edição */
body.action-edit textarea,
#wpTextbox1 {
body.action-submit textarea {
     background-color: #ffffff !important;
     background-color: #ffffff !important;
     color: #000000 !important;
     color: #000000 !important;
Linha 204: Linha 228:
}
}


/* editor visual */
/* Visual Editor */
body.action-edit .ve-ui-surface,
.ve-ui-surface,
body.action-edit .ve-ce-attachedRootNode {
.ve-ui-surface * {
     background-color: #ffffff !important;
     background-color: #ffffff !important;
     color: #000000 !important;
     color: #000000 !important;
}
}


/* toolbar */
/* Inputs */
body.action-edit .oo-ui-toolbar,
body.action-edit .ve-ui-toolbar {
    background-color: #f0f0f0 !important;
}
 
/* inputs na edição */
body.action-edit input,
body.action-edit input,
body.action-edit select,
body.action-edit textarea,
body.action-edit button {
body.action-edit select {
     background-color: #ffffff !important;
     background-color: #ffffff !important;
     color: #000000 !important;
     color: #000000 !important;
    border: 1px solid #ccc !important;
}
}


/* links na edição */
/* Links */
body.action-edit a {
body.action-edit a {
     color: #0645ad !important;
     color: #0645ad !important;
}
/* =========================================================
  🧠 BARRA DE EDIÇÃO (SOMENTE ELA PRETA)
========================================================= */
.ve-ui-toolbar,
.ve-ui-toolbar * {
    color: #000000 !important;
}
.ve-ui-toolbar .oo-ui-buttonElement-button {
    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;
}
}

Edição das 14h48min de 7 de maio de 2026

/* =========================================================
   🌙 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 SUAVES
========================================================= */
a,
button,
input,
select,
textarea,
#mw-panel a,
.vector-menu-tabs a,
#p-personal a {
    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        transform 0.2s ease,
        opacity 0.2s ease;
}

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

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

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

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

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

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

/* Títulos */
#mw-panel h3,
#mw-panel .vector-menu-heading {
    color: var(--text) !important;
}

/* =========================================================
   🔝 TOPO
========================================================= */
.vector-menu-tabs,
.vector-menu-tabs ul,
.vector-menu-tabs li,
.vector-menu-tabs a,
.vector-menu-tabs li a,
.vector-menu-tabs li.selected a,
#p-personal,
#p-personal a,
.mw-portlet,
.vector-menu {
    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;
    transform: translateY(-1px);
}

.vector-menu-tabs li.selected a {
    background-color: var(--bg-soft) !important;
}

/* =========================================================
   🔘 BOTÕES / 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;
    transform: scale(1.02);
}

/* =========================================================
   📊 TABELAS
========================================================= */
table,
.wikitable {
    background-color: var(--bg-soft) !important;
    color: var(--text) !important;
    border: 1px solid var(--border) !important;
}

th {
    background-color: var(--bg-hover) !important;
}

td {
    background-color: var(--bg-soft) !important;
}

/* =========================================================
   📦 INFOBOX / NAVBOX
========================================================= */
.infobox,
.navbox {
    background-color: var(--bg-soft) !important;
    color: var(--text) !important;
}

/* =========================================================
   📑 ÍNDICE
========================================================= */
#toc,
.toc,
.toc ul,
.toc li,
.tocnumber,
.toctext {
    background-color: var(--bg-soft) !important;
    color: var(--text) !important;
}

#toc {
    border: 1px solid var(--border) !important;
}

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

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

/* =========================================================
   🚫 REMOVE BRANCOS INLINE
========================================================= */
[style*="background:#fff"],
[style*="background: white"],
[style*="background-color:#fff"],
[style*="background-color: 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;
}

/* Caixa de edição */
#wpTextbox1 {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #ccc !important;
}

/* Visual Editor */
.ve-ui-surface,
.ve-ui-surface * {
    background-color: #ffffff !important;
    color: #000000 !important;
}

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

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

/* =========================================================
   🧠 BARRA DE EDIÇÃO (SOMENTE ELA PRETA)
========================================================= */
.ve-ui-toolbar,
.ve-ui-toolbar * {
    color: #000000 !important;
}

.ve-ui-toolbar .oo-ui-buttonElement-button {
    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;
}