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
Etiqueta: Revertido
Linha 1: Linha 1:
/* ===== BASE GLOBAL ===== */
/* =========================================================
  🌙 DARK THEME GLOBAL (WIKI)
========================================================= */
body,
body,
#content,
#content,
Linha 11: Linha 13:
}
}


/* ===== TRANSIÇÃO GLOBAL ===== */
/* =========================================================
  ✨ TRANSIÇÕES SUAVES
========================================================= */
a,
a,
button,
button,
Linha 23: Linha 27:
}
}


/* ===== LINKS ===== */
/* =========================================================
  🔗 LINKS
========================================================= */
a, a:visited, a:link {
a, a:visited, a:link {
     color: #ffffff !important;
     color: #ffffff !important;
Linha 34: Linha 40:
}
}


/* ===== SIDEBAR ===== */
/* =========================================================
  📂 SIDEBAR
========================================================= */
#mw-panel,
#mw-panel,
#mw-panel .portal,
#mw-panel .portal,
Linha 41: Linha 49:
     background-color: #2c2f33 !important;
     background-color: #2c2f33 !important;
     border: none !important;
     border: none !important;
    box-shadow: none !important;
}
}


Linha 48: Linha 55:
     background-color: #2c2f33 !important;
     background-color: #2c2f33 !important;
     color: #ffffff !important;
     color: #ffffff !important;
     padding: 6px 10px;
     padding: 6px 10px;
     border-radius: 4px;
     border-radius: 4px;
     border: none !important;
     border: none !important;
    box-shadow: none !important;
    outline: none !important;
}
}


Linha 62: Linha 65:
}
}


#mw-panel hr {
/* =========================================================
    border: none !important;
  🔝 TOPO (BOTÕES)
    background-color: #23272a !important;
========================================================= */
    height: 1px;
}
 
/* ===== TOPO (CORREÇÃO TOTAL) ===== */
.vector-menu-tabs,
.vector-menu-tabs,
.vector-menu-tabs ul,
.vector-menu-tabs ul,
Linha 74: Linha 73:
.vector-menu-tabs a,
.vector-menu-tabs a,
.vector-menu-tabs li a,
.vector-menu-tabs li a,
.vector-menu-tabs li a:link,
.vector-menu-tabs li a:visited,
.vector-menu-tabs li a:active,
.vector-menu-tabs li a:focus,
.vector-menu-tabs li.selected a,
.vector-menu-tabs li.selected a,
#p-personal,
#p-personal,
#p-personal ul,
#p-personal li,
#p-personal a,
#p-personal a,
#p-personal a:link,
#p-personal a:visited,
#p-personal a:active,
#p-personal a:focus,
.mw-portlet,
.mw-portlet,
.vector-menu,
.vector-menu {
.vector-menu-content,
.vector-menu-heading {
     background-color: #202225 !important;
     background-color: #202225 !important;
     color: #ffffff !important;
     color: #ffffff !important;
     border: none !important;
     border: none !important;
    box-shadow: none !important;
    outline: none !important;
}
}


.vector-menu-tabs li a:hover,
.vector-menu-tabs a:hover,
#p-personal a:hover {
#p-personal a:hover {
     background-color: #2c2f33 !important;
     background-color: #2c2f33 !important;
Linha 111: Linha 93:
}
}


/* ===== BOTÕES / INPUTS ===== */
/* =========================================================
  🔘 BOTÕES / INPUTS
========================================================= */
button,
button,
input,
input,
Linha 118: Linha 102:
     background-color: #2c2f33 !important;
     background-color: #2c2f33 !important;
     color: #ffffff !important;
     color: #ffffff !important;
     border: none !important;
     border: none !important;
    box-shadow: none !important;
    outline: none !important;
}
}


Linha 131: Linha 112:
}
}


button:focus,
/* =========================================================
input:focus,
  📊 TABELAS
select:focus,
========================================================= */
textarea:focus {
    outline: none !important;
    box-shadow: none !important;
}
 
/* ===== TABELAS ===== */
table,
table,
.mw-parser-output table,
.wikitable {
.wikitable {
     background-color: #2c2f33 !important;
     background-color: #2c2f33 !important;
     color: #ffffff !important;
     color: #ffffff !important;
    border-collapse: collapse;
     border: 1px solid #444 !important;
     border: 1px solid #444 !important;
}
}
Linha 151: Linha 124:
th {
th {
     background-color: #23272a !important;
     background-color: #23272a !important;
    color: #ffffff !important;
}
}


Linha 158: Linha 130:
}
}


/* ===== INFOBOX / NAVBOX ===== */
/* =========================================================
  📦 INFOBOX / NAVBOX
========================================================= */
.infobox,
.infobox,
.navbox {
.navbox {
     background-color: #2c2f33 !important;
     background-color: #2c2f33 !important;
     color: #ffffff !important;
     color: #ffffff !important;
    border: 1px solid #444 !important;
}
}


/* ===== ÍNDICE (TOC COMPLETO) ===== */
/* =========================================================
  📑 ÍNDICE (TOC COMPLETO)
========================================================= */
#toc,
#toc,
.toc,
.toc,
.toc ul,
.toc ul,
.toc li,
.toc li,
.toclevel-1,
.toclevel-2,
.toclevel-3,
.tocnumber,
.tocnumber,
.toctext {
.toctext {
     background-color: #2c2f33 !important;
     background-color: #2c2f33 !important;
     color: #ffffff !important;
     color: #ffffff !important;
    border: none !important;
    box-shadow: none !important;
}
}


Linha 187: Linha 156:
}
}


#toc a,
#toc a {
.toc a {
     color: #ffffff !important;
     color: #ffffff !important;
}
}


#toc a:hover,
#toc a:hover {
.toc a:hover {
     background-color: #23272a !important;
     background-color: #23272a !important;
    color: #dddddd !important;
}
}


/* ===== FORÇA FUNDO ESCURO GLOBAL ===== */
/* =========================================================
.mw-parser-output,
  📝 TEXTO E TÍTULOS
.mw-parser-output > *,
========================================================= */
div,
h1, h2, h3, h4, h5, h6,
section,
.mw-headline,
article {
p, span, li {
    background-color: transparent !important;
     color: #ffffff !important;
     color: #ffffff !important;
}
}


/* ===== REMOVE FUNDO BRANCO INLINE ===== */
/* =========================================================
  🚫 REMOVE BRANCOS INLINE
========================================================= */
[style*="background:#fff"],
[style*="background:#fff"],
[style*="background: white"],
[style*="background: white"],
Linha 217: Linha 184:
}
}


/* ===== TÍTULOS ===== */
/* =========================================================
h1, h2, h3, h4, h5, h6,
  🧠 IMPORTANTE: NÃO QUEBRAR EDIÇÃO
.mw-headline {
========================================================= */
     color: #ffffff !important;
 
     border-color: #444 !important;
/* NÃO aplica dark na edição */
body.action-edit,
body.action-submit {
    background-color: #ffffff !important;
    color: #000000 !important;
}
 
/* textarea edição */
body.action-edit textarea,
body.action-submit textarea {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #ccc !important;
}
 
/* editor visual */
body.action-edit .ve-ui-surface,
body.action-edit .ve-ce-attachedRootNode {
    background-color: #ffffff !important;
    color: #000000 !important;
}
 
/* toolbar */
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 select,
body.action-edit button {
     background-color: #ffffff !important;
    color: #000000 !important;
     border: 1px solid #ccc !important;
}
}


/* ===== TEXTO ===== */
/* links na edição */
p, span, li, ul, ol {
body.action-edit a {
     color: #ffffff !important;
     color: #0645ad !important;
}
}

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

/* =========================================================
   🌙 DARK THEME GLOBAL (WIKI)
========================================================= */
body,
#content,
.mw-body,
#mw-head,
#footer {
    background-color: #202225 !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: none !important;
}

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

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

a:hover {
    color: #dddddd !important;
    opacity: 0.85;
}

/* =========================================================
   📂 SIDEBAR
========================================================= */
#mw-panel,
#mw-panel .portal,
#mw-panel .body,
#mw-panel .vector-menu-content {
    background-color: #2c2f33 !important;
    border: none !important;
}

#mw-panel a {
    display: block;
    background-color: #2c2f33 !important;
    color: #ffffff !important;
    padding: 6px 10px;
    border-radius: 4px;
    border: none !important;
}

#mw-panel a:hover {
    background-color: #23272a !important;
    transform: translateX(4px);
}

/* =========================================================
   🔝 TOPO (BOTÕES)
========================================================= */
.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: #202225 !important;
    color: #ffffff !important;
    border: none !important;
}

.vector-menu-tabs a:hover,
#p-personal a:hover {
    background-color: #2c2f33 !important;
    transform: translateY(-1px);
}

.vector-menu-tabs li.selected a {
    background-color: #2c2f33 !important;
}

/* =========================================================
   🔘 BOTÕES / INPUTS
========================================================= */
button,
input,
select,
textarea {
    background-color: #2c2f33 !important;
    color: #ffffff !important;
    border: none !important;
}

button:hover,
input:hover,
select:hover {
    background-color: #23272a !important;
    transform: scale(1.03);
}

/* =========================================================
   📊 TABELAS
========================================================= */
table,
.wikitable {
    background-color: #2c2f33 !important;
    color: #ffffff !important;
    border: 1px solid #444 !important;
}

th {
    background-color: #23272a !important;
}

td {
    background-color: #2c2f33 !important;
}

/* =========================================================
   📦 INFOBOX / NAVBOX
========================================================= */
.infobox,
.navbox {
    background-color: #2c2f33 !important;
    color: #ffffff !important;
}

/* =========================================================
   📑 ÍNDICE (TOC COMPLETO)
========================================================= */
#toc,
.toc,
.toc ul,
.toc li,
.tocnumber,
.toctext {
    background-color: #2c2f33 !important;
    color: #ffffff !important;
}

#toc {
    border: 1px solid #444 !important;
}

#toc a {
    color: #ffffff !important;
}

#toc a:hover {
    background-color: #23272a !important;
}

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

/* =========================================================
   🚫 REMOVE BRANCOS INLINE
========================================================= */
[style*="background:#fff"],
[style*="background: white"],
[style*="background-color:#fff"],
[style*="background-color: white"] {
    background-color: #2c2f33 !important;
    color: #ffffff !important;
}

/* =========================================================
   🧠 IMPORTANTE: NÃO QUEBRAR EDIÇÃO
========================================================= */

/* NÃO aplica dark na edição */
body.action-edit,
body.action-submit {
    background-color: #ffffff !important;
    color: #000000 !important;
}

/* textarea edição */
body.action-edit textarea,
body.action-submit textarea {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #ccc !important;
}

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

/* toolbar */
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 select,
body.action-edit button {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #ccc !important;
}

/* links na edição */
body.action-edit a {
    color: #0645ad !important;
}