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 1: | Linha 1: | ||
/* ========================================================= | /* ========================================================= | ||
🌙 PALETA GLOBAL | 🌙 PALETA GLOBAL | ||
| Linha 158: | Linha 157: | ||
/* ========================================================= | /* ========================================================= | ||
📊 TABELAS + INFBOX + NAVBOX ( | 📊 TABELAS + INFBOX + NAVBOX (GRID COMPLETO FIX) | ||
========================================================= */ | ========================================================= */ | ||
| Linha 171: | Linha 170: | ||
border: 1px solid rgba(255,255,255,0.08) !important; | border: 1px solid rgba(255,255,255,0.08) !important; | ||
border-collapse: | border-collapse: collapse !important; | ||
border-spacing: 0 !important; | border-spacing: 0 !important; | ||
| Linha 180: | Linha 179: | ||
} | } | ||
/* | /* CELULAS (LINHAS + COLUNAS BRANCAS) */ | ||
table th, | table th, | ||
table td, | table td, | ||
| Linha 192: | Linha 191: | ||
color: var(--text) !important; | color: var(--text) !important; | ||
border: | border: 1px solid rgba(255,255,255,0.15) !important; | ||
padding: 10px; | padding: 10px; | ||
} | } | ||
/* | /* HEADER */ | ||
table th, | table th, | ||
.wikitable th, | .wikitable th, | ||
| Linha 212: | Linha 203: | ||
} | } | ||
/* | /* HOVER LINHA */ | ||
table tr:hover td, | table tr:hover td, | ||
.wikitable tr:hover td, | .wikitable tr:hover td, | ||
| Linha 221: | Linha 212: | ||
/* ========================================================= | /* ========================================================= | ||
🧠 TABELAS ANINHADAS | 🧠 TABELAS ANINHADAS | ||
========================================================= */ | ========================================================= */ | ||
table table, | table table, | ||
.wikitable table, | .wikitable table, | ||
| Linha 327: | Linha 317: | ||
📑 TOC | 📑 TOC | ||
========================================================= */ | ========================================================= */ | ||
#toc, | #toc, | ||
.toc { | .toc { | ||
| Linha 366: | Linha 355: | ||
transform: translateX(3px); | transform: translateX(3px); | ||
} | } | ||
/* ========================================================= | /* ========================================================= | ||
🧯 FIX ESPAÇAMENTO EXCESSIVO | 🧯 FIX ESPAÇAMENTO EXCESSIVO | ||
========================================================= */ | ========================================================= */ | ||
.mw-parser-output { | .mw-parser-output { | ||
margin-top: 0 !important; | margin-top: 0 !important; | ||
| Linha 390: | Linha 372: | ||
.mw-parser-output h3 { | .mw-parser-output h3 { | ||
margin-top: 12px !important; | margin-top: 12px !important; | ||
} | } | ||
Edição das 01h21min 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 FIX)
========================================================= */
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 (LINHAS + COLUNAS BRANCAS) */
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;
}
/* =========================================================
🧠 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;
}
#toc h2,
.toc h2,
.toc-title {
margin-bottom: 10px !important;
padding-bottom: 8px !important;
border-bottom: 1px solid var(--border);
}
#toc ul,
.toc ul {
padding-left: 18px !important;
}
#toc li,
.toc li {
margin: 6px 0 !important;
line-height: 1.5 !important;
}
#toc a,
.toc a {
display: inline-block;
padding: 4px 8px !important;
border-radius: 8px;
transition: 0.2s ease;
}
#toc a:hover,
.toc a:hover {
background: rgba(255,255,255,0.08);
transform: translateX(3px);
}
/* =========================================================
🧯 FIX ESPAÇAMENTO EXCESSIVO
========================================================= */
.mw-parser-output {
margin-top: 0 !important;
padding-top: 0 !important;
}
.mw-parser-output > *:first-child {
margin-top: 0 !important;
}
.mw-parser-output h1,
.mw-parser-output h2,
.mw-parser-output h3 {
margin-top: 12px !important;
}
.mw-parser-output p {
margin-top: 6px !important;
margin-bottom: 10px !important;
}
#toc,
.toc {
margin-top: 0 !important;
margin-bottom: 14px !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;
}
}