MediaWiki:Common.css: mudanças entre as edições
Ir para navegação
Ir para pesquisar
Sem resumo de edição |
Sem resumo de edição |
||
| Linha 157: | Linha 157: | ||
/* ========================================================= | /* ========================================================= | ||
📊 TABELAS + INFBOX + NAVBOX (GRID COMPLETO | 📊 TABELAS + INFBOX + NAVBOX (GRID COMPLETO) | ||
========================================================= */ | ========================================================= */ | ||
| Linha 179: | Linha 179: | ||
} | } | ||
/* CELULAS (LINHAS | /* CELULAS COM LINHAS BRANCAS (COLUNAS + LINHAS) */ | ||
table th, | table th, | ||
table td, | table td, | ||
| Linha 209: | Linha 209: | ||
.navbox tr:hover td { | .navbox tr:hover td { | ||
background: rgba(255,255,255,0.05) !important; | background: rgba(255,255,255,0.05) !important; | ||
} | |||
/* ========================================================= | |||
🧬 FIX DEFINITIVO POKEDEX (FORÇA TOTAL) | |||
========================================================= */ | |||
table.wikitable *, | |||
table.infobox *, | |||
table.navbox *, | |||
table.pokedex *, | |||
.mw-parser-output table * { | |||
border-color: rgba(255,255,255,0.15) !important; | |||
} | |||
table.wikitable, | |||
table.infobox, | |||
table.navbox, | |||
table.pokedex, | |||
.mw-parser-output table { | |||
border-collapse: collapse !important; | |||
} | |||
/* garante borda em tudo dentro */ | |||
table.wikitable td, | |||
table.wikitable th, | |||
table.infobox td, | |||
table.infobox th, | |||
table.navbox td, | |||
table.navbox th, | |||
table.pokedex td, | |||
table.pokedex th, | |||
.mw-parser-output table td, | |||
.mw-parser-output table th { | |||
border: 1px solid rgba(255,255,255,0.15) !important; | |||
} | |||
/* impede elementos internos de esconder borda */ | |||
table td *, | |||
table th * { | |||
background: transparent !important; | |||
} | } | ||
| Linha 323: | Linha 363: | ||
} | } | ||
/* (resto igual mantido) */ | |||
/* ========================================================= | /* ========================================================= | ||
🧯 FIX ESPAÇAMENTO | 🧯 FIX ESPAÇAMENTO | ||
========================================================= */ | ========================================================= */ | ||
.mw-parser-output { | .mw-parser-output { | ||
margin-top: 0 !important; | margin-top: 0 !important; | ||
padding-top: 0 !important; | padding-top: 0 !important; | ||
} | } | ||
Edição das 01h23min de 8 de maio de 2026
/* =========================================================
🌙 PALETA GLOBAL
========================================================= */
:root {
--bg-main: #202225;
--bg-soft: #2c2f33;
--bg-panel: #2b2f36;
--bg-hover: #23272a;
--text: #ffffff;
--text-soft: #dddddd;
--border: rgba(255,255,255,0.08);
--shadow: 0 8px 24px rgba(0,0,0,0.45);
}
/* =========================================================
🔄 RESET
========================================================= */
* {
box-sizing: border-box;
}
/* =========================================================
🌙 FUNDO GLOBAL
========================================================= */
body,
#content,
.mw-body,
#mw-head,
#footer {
background-color: var(--bg-main) !important;
color: var(--text) !important;
}
/* =========================================================
✨ 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;
color: var(--text) !important;
}
#mw-panel a {
display: block;
padding: 6px 10px !important;
border-radius: 8px;
transition: 0.2s ease;
}
#mw-panel a:hover {
background-color: var(--bg-hover) !important;
transform: translateX(3px);
}
/* =========================================================
📦 CARDS / PAINÉIS
========================================================= */
.mw-portlet,
.portal,
.sidebar,
.toc,
.navbox,
.infobox {
background: var(--bg-panel) !important;
border: 1px solid var(--border) !important;
border-radius: 14px;
box-shadow: var(--shadow);
padding: 10px;
transition: 0.2s ease;
}
.mw-portlet:hover,
.portal:hover,
.sidebar:hover,
.toc:hover,
.navbox:hover,
.infobox:hover {
transform: translateY(-3px);
}
/* títulos */
.mw-portlet h3,
.portal h3,
.vector-menu-heading,
.toc-title {
color: var(--text) !important;
border-bottom: 1px solid var(--border);
padding-bottom: 6px;
margin-bottom: 8px;
}
/* =========================================================
🔝 TOP BAR
========================================================= */
#mw-head,
.vector-header-container,
.vector-sticky-header,
.vector-page-toolbar {
background-color: var(--bg-main) !important;
}
/* botões */
.mw-ui-button,
.cdx-button,
.vector-menu-tabs a,
.vector-menu a {
background-color: var(--bg-soft) !important;
color: var(--text) !important;
border-radius: 6px;
}
.mw-ui-button:hover,
.cdx-button:hover,
.vector-menu-tabs a:hover {
background-color: var(--bg-hover) !important;
}
/* =========================================================
🔘 INPUTS / BOTÕES
========================================================= */
button,
input,
select,
textarea {
background-color: var(--bg-soft) !important;
color: var(--text) !important;
border-radius: 6px;
}
/* OOUI */
.oo-ui-buttonElement-button,
.oo-ui-buttonWidget {
background-color: var(--bg-soft) !important;
color: var(--text) !important;
}
.oo-ui-buttonElement-button:hover,
.oo-ui-buttonWidget:hover {
background-color: var(--bg-hover) !important;
}
/* =========================================================
📊 TABELAS + INFBOX + NAVBOX (GRID COMPLETO)
========================================================= */
table,
.wikitable,
.mw-parser-output table,
.infobox,
.navbox {
background: var(--bg-soft) !important;
color: var(--text) !important;
border: 1px solid rgba(255,255,255,0.08) !important;
border-collapse: collapse !important;
border-spacing: 0 !important;
border-radius: 16px !important;
overflow: hidden !important;
box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
/* CELULAS COM LINHAS BRANCAS (COLUNAS + LINHAS) */
table th,
table td,
.wikitable th,
.wikitable td,
.infobox th,
.infobox td,
.navbox th,
.navbox td {
background: transparent !important;
color: var(--text) !important;
border: 1px solid rgba(255,255,255,0.15) !important;
padding: 10px;
}
/* HEADER */
table th,
.wikitable th,
.infobox th,
.navbox th {
background: var(--bg-hover) !important;
}
/* HOVER LINHA */
table tr:hover td,
.wikitable tr:hover td,
.infobox tr:hover td,
.navbox tr:hover td {
background: rgba(255,255,255,0.05) !important;
}
/* =========================================================
🧬 FIX DEFINITIVO POKEDEX (FORÇA TOTAL)
========================================================= */
table.wikitable *,
table.infobox *,
table.navbox *,
table.pokedex *,
.mw-parser-output table * {
border-color: rgba(255,255,255,0.15) !important;
}
table.wikitable,
table.infobox,
table.navbox,
table.pokedex,
.mw-parser-output table {
border-collapse: collapse !important;
}
/* garante borda em tudo dentro */
table.wikitable td,
table.wikitable th,
table.infobox td,
table.infobox th,
table.navbox td,
table.navbox th,
table.pokedex td,
table.pokedex th,
.mw-parser-output table td,
.mw-parser-output table th {
border: 1px solid rgba(255,255,255,0.15) !important;
}
/* impede elementos internos de esconder borda */
table td *,
table th * {
background: transparent !important;
}
/* =========================================================
🧠 TABELAS ANINHADAS
========================================================= */
table table,
.wikitable table,
.infobox table,
.navbox table {
border-radius: 12px !important;
overflow: hidden !important;
box-shadow: none !important;
}
table table td,
table table th,
.wikitable table td,
.wikitable table th,
.infobox table td,
.infobox table th,
.navbox table td,
.navbox table th {
background: var(--bg-soft) !important;
}
/* =========================================================
📝 TEXTOS
========================================================= */
h1, h2, h3, h4, h5, h6,
p, span, li {
color: var(--text) !important;
}
/* =========================================================
🚫 FIX INLINE BRANCO
========================================================= */
[style*="background:#fff"],
[style*="background:white"] {
background-color: var(--bg-soft) !important;
color: var(--text) !important;
}
/* =========================================================
🧠 EDITOR
========================================================= */
body.action-edit,
body.action-submit {
background-color: #ffffff !important;
color: #000000 !important;
}
#wpTextbox1 {
background-color: #ffffff !important;
color: #000000 !important;
}
/* =========================================================
🧠 MODAIS OOUI
========================================================= */
.oo-ui-window,
.oo-ui-dialog,
.oo-ui-processDialog {
background-color: #ffffff !important;
color: #000000 !important;
}
/* =========================================================
🏠 HOME ICONS
========================================================= */
body.page-Main_Page td a {
transition: 0.25s ease;
}
body.page-Main_Page td a:hover {
transform: translateY(-10px) scale(1.08);
box-shadow: 0 12px 25px rgba(0,0,0,0.5);
}
/* =========================================================
🧭 NAV BOX
========================================================= */
.nav-box {
width: 100%;
text-align: center;
background: rgba(44, 47, 51, 0.75) !important;
backdrop-filter: blur(12px);
border-radius: 16px;
box-shadow: 0 18px 45px rgba(0,0,0,0.55);
transition: 0.25s ease;
}
.nav-box:hover {
transform: translateY(-10px) scale(1.01);
}
.nav-box td img {
width: 80px;
height: 80px;
transition: 0.2s ease;
}
.nav-box td a:hover img {
transform: scale(1.08);
}
/* =========================================================
📑 TOC
========================================================= */
#toc,
.toc {
padding: 14px 16px !important;
border-radius: 14px !important;
}
/* (resto igual mantido) */
/* =========================================================
🧯 FIX ESPAÇAMENTO
========================================================= */
.mw-parser-output {
margin-top: 0 !important;
padding-top: 0 !important;
}
/* =========================================================
📱 RESPONSIVO
========================================================= */
@media (max-width: 900px) {
body.page-Main_Page td {
width: 45%;
}
}
@media (max-width: 600px) {
body.page-Main_Page td {
width: 100%;
display: block;
}
}