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 |
||
| (16 revisões intermediárias pelo mesmo usuário não estão sendo mostradas) | |||
| Linha 1: | Linha 1: | ||
/* ========================================================= | /* ========================================================= | ||
🌙 PALETA GLOBAL | 🌙 PALETA GLOBAL | ||
| Linha 6: | Linha 5: | ||
--bg-main: #202225; | --bg-main: #202225; | ||
--bg-soft: #2c2f33; | --bg-soft: #2c2f33; | ||
--bg-panel: #2b2f36; | |||
--bg-hover: #23272a; | --bg-hover: #23272a; | ||
--text: #ffffff; | --text: #ffffff; | ||
--text-soft: #dddddd; | --text-soft: #dddddd; | ||
--border: rgba(255,255,255,0.08); | |||
--shadow: 0 8px 24px rgba(0,0,0,0.45); | |||
} | } | ||
| Linha 56: | Linha 59: | ||
#mw-panel a { | #mw-panel a { | ||
display: block; | display: block; | ||
padding: 6px 10px; | padding: 6px 10px !important; | ||
border-radius: 8px; | |||
transition: 0.2s ease; | |||
} | } | ||
| Linha 67: | Linha 70: | ||
/* ========================================================= | /* ========================================================= | ||
📦 CARDS / PAINÉIS | |||
========================================================= */ | ========================================================= */ | ||
. | .mw-portlet, | ||
. | .portal, | ||
.sidebar, | |||
. | .toc, | ||
background | .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, | |||
.mw- | .portal:hover, | ||
. | .sidebar:hover, | ||
. | .toc:hover, | ||
. | .navbox:hover, | ||
.infobox:hover { | |||
transform: translateY(-3px); | |||
} | } | ||
/* ========================================================= | |||
. | 🔝 TOP BAR | ||
.vector- | ========================================================= */ | ||
#mw-head, | |||
.vector-header-container, | |||
.vector-sticky-header, | |||
.vector-page-toolbar { | |||
.vector- | background-color: var(--bg-main) !important; | ||
background-color: var(--bg- | |||
} | } | ||
| Linha 108: | Linha 114: | ||
background-color: var(--bg-soft) !important; | background-color: var(--bg-soft) !important; | ||
color: var(--text) !important; | color: var(--text) !important; | ||
border-radius: 6px; | |||
} | } | ||
.oo-ui-buttonElement-button, | .oo-ui-buttonElement-button, | ||
.oo-ui-buttonWidget { | .oo-ui-buttonWidget { | ||
| Linha 124: | Linha 126: | ||
.oo-ui-buttonWidget:hover { | .oo-ui-buttonWidget:hover { | ||
background-color: var(--bg-hover) !important; | background-color: var(--bg-hover) !important; | ||
} | } | ||
/* ========================================================= | /* ========================================================= | ||
📊 TABELAS ( | 📊 TABELAS BASE (GRID) | ||
========================================================= */ | ========================================================= */ | ||
table, | |||
.wikitable, | |||
.mw-parser-output table, | |||
background | .infobox, | ||
.navbox { | |||
background: var(--bg-soft) !important; | |||
color: var(--text) !important; | color: var(--text) !important; | ||
border: 1px solid rgba(255,255,255,0.08) !important; | |||
border-collapse: collapse !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); | |||
} | } | ||
/* células */ | /* células */ | ||
table th, | |||
table td, | |||
.wikitable th, | |||
.wikitable td, | |||
.infobox th, | |||
.infobox td, | |||
background | .navbox th, | ||
.navbox td { | |||
background: transparent !important; | |||
color: var(--text) !important; | color: var(--text) !important; | ||
border: 1px solid var(--bg-hover) !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 ABSOLUTA) | |||
========================================================= */ | |||
.mw-parser-output table { | |||
border-collapse: collapse !important; | |||
} | } | ||
/* | /* força grid em tudo */ | ||
.mw-parser-output table, | |||
.mw-parser-output tr, | |||
.mw-parser-output td, | |||
.mw-parser-output th { | |||
border-style: solid !important; | |||
border-width: 1px !important; | |||
border-color: rgba(255,255,255,0.25) !important; | |||
} | |||
/* células Pokédex */ | |||
.mw-parser-output table td, | |||
.mw-parser-output table th { | |||
background: transparent !important; | |||
border: 1px solid rgba(255,255,255,0.25) !important; | |||
box-shadow: none !important; | |||
} | |||
/* impede elementos internos de cobrir borda */ | |||
.mw-parser-output td *, | |||
.mw-parser-output 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; | |||
} | } | ||
| Linha 185: | Linha 247: | ||
/* ========================================================= | /* ========================================================= | ||
🚫 FIX BRANCO | 🚫 FIX INLINE BRANCO | ||
========================================================= */ | ========================================================= */ | ||
[style*="background:#fff"], | [style*="background:#fff"], | ||
| Linha 194: | Linha 256: | ||
/* ========================================================= | /* ========================================================= | ||
🧠 EDITOR | 🧠 EDITOR (CLARO) | ||
========================================================= */ | ========================================================= */ | ||
body.action-edit, | body.action-edit, | ||
body.action-submit { | body.action-submit, | ||
#wpTextbox1 { | |||
background-color: #ffffff !important; | background-color: #ffffff !important; | ||
color: #000000 !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); | |||
} | } | ||
/* ========================================================= | |||
. | 📑 TOC | ||
========================================================= */ | |||
#toc, | |||
.toc { | |||
padding: 14px 16px !important; | |||
border-radius: 14px !important; | |||
} | } | ||
/* | /* ========================================================= | ||
. | 🧯 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; | |||
} | |||
} | } | ||
Edição atual tal como às 01h25min 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);
}
/* =========================================================
🔝 TOP BAR
========================================================= */
#mw-head,
.vector-header-container,
.vector-sticky-header,
.vector-page-toolbar {
background-color: var(--bg-main) !important;
}
/* =========================================================
🔘 INPUTS / BOTÕES
========================================================= */
button,
input,
select,
textarea {
background-color: var(--bg-soft) !important;
color: var(--text) !important;
border-radius: 6px;
}
.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 BASE (GRID)
========================================================= */
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);
}
/* células */
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 ABSOLUTA)
========================================================= */
.mw-parser-output table {
border-collapse: collapse !important;
}
/* força grid em tudo */
.mw-parser-output table,
.mw-parser-output tr,
.mw-parser-output td,
.mw-parser-output th {
border-style: solid !important;
border-width: 1px !important;
border-color: rgba(255,255,255,0.25) !important;
}
/* células Pokédex */
.mw-parser-output table td,
.mw-parser-output table th {
background: transparent !important;
border: 1px solid rgba(255,255,255,0.25) !important;
box-shadow: none !important;
}
/* impede elementos internos de cobrir borda */
.mw-parser-output td *,
.mw-parser-output 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 (CLARO)
========================================================= */
body.action-edit,
body.action-submit,
#wpTextbox1 {
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);
}
/* =========================================================
📑 TOC
========================================================= */
#toc,
.toc {
padding: 14px 16px !important;
border-radius: 14px !important;
}
/* =========================================================
🧯 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;
}
}