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 44: | Linha 43: | ||
/* ========================================================= | /* ========================================================= | ||
📂 SIDEBAR | 📂 SIDEBAR (MENU) | ||
========================================================= */ | ========================================================= */ | ||
#mw-panel, | #mw-panel, | ||
| Linha 52: | Linha 51: | ||
background-color: var(--bg-soft) !important; | background-color: var(--bg-soft) !important; | ||
color: var(--text) !important; | color: var(--text) !important; | ||
} | |||
/* 🔧 MENU MAIS COMPACTO */ | |||
#mw-panel .portal { | |||
margin-bottom: 4px !important; | |||
} | } | ||
#mw-panel a { | #mw-panel a { | ||
display: block; | display: block; | ||
padding: | padding: 3px 8px !important; | ||
margin: 0 !important; | |||
line-height: 1.2 !important; | |||
background-color: var(--bg-soft) !important; | background-color: var(--bg-soft) !important; | ||
color: var(--text) !important; | color: var(--text) !important; | ||
| Linha 64: | Linha 70: | ||
background-color: var(--bg-hover) !important; | background-color: var(--bg-hover) !important; | ||
transform: translateX(3px); | transform: translateX(3px); | ||
} | |||
#mw-panel .body { | |||
padding: 2px 0 !important; | |||
} | |||
#mw-panel .portal h3 { | |||
margin: 4px 0 !important; | |||
padding: 2px 6px !important; | |||
font-size: 13px !important; | |||
} | |||
#mw-panel ul, | |||
#mw-panel li { | |||
margin: 0 !important; | |||
padding: 0 !important; | |||
} | } | ||
| Linha 135: | Linha 157: | ||
📊 TABELAS | 📊 TABELAS | ||
========================================================= */ | ========================================================= */ | ||
body:not(.page-Main_Page) table, | body:not(.page-Main_Page) table, | ||
body:not(.page-Main_Page) .wikitable, | body:not(.page-Main_Page) .wikitable, | ||
| Linha 144: | Linha 165: | ||
} | } | ||
body:not(.page-Main_Page) table th, | body:not(.page-Main_Page) table th, | ||
body:not(.page-Main_Page) table td, | body:not(.page-Main_Page) table td, | ||
body:not(.page-Main_Page) .wikitable th, | body:not(.page-Main_Page) .wikitable th, | ||
body:not(.page-Main_Page) .wikitable | body:not(.page-Main_Page) .wikitable td { | ||
background-color: var(--bg-soft) !important; | background-color: var(--bg-soft) !important; | ||
color: var(--text) !important; | color: var(--text) !important; | ||
| Linha 156: | Linha 174: | ||
} | } | ||
body:not(.page-Main_Page) th { | body:not(.page-Main_Page) th { | ||
background-color: var(--bg-hover) !important; | background-color: var(--bg-hover) !important; | ||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
| Linha 184: | Linha 200: | ||
/* ========================================================= | /* ========================================================= | ||
🚫 FIX BRANCO | 🚫 FIX INLINE BRANCO | ||
========================================================= */ | ========================================================= */ | ||
[style*="background:#fff"], | [style*="background:#fff"], | ||
| Linha 211: | Linha 227: | ||
.oo-ui-window, | .oo-ui-window, | ||
.oo-ui-dialog, | .oo-ui-dialog, | ||
.oo-ui-processDialog | .oo-ui-processDialog, | ||
.oo-ui-window-content, | .oo-ui-window-content, | ||
.oo-ui-dialog-content { | .oo-ui-dialog-content { | ||
| Linha 223: | Linha 234: | ||
} | } | ||
.oo-ui-overlay { | .oo-ui-overlay { | ||
background-color: rgba(0,0,0,0.6) !important; | background-color: rgba(0,0,0,0.6) !important; | ||
} | } | ||
/* ========================================================= | /* ========================================================= | ||
🏠 HOME PAGE (ICONES CENTRALIZADOS + HOVER) | |||
========================================================= */ | ========================================================= */ | ||
. | |||
body.page-Main_Page .mw-parser-output table { | |||
width: 100%; | |||
text-align: center; | |||
} | } | ||
body.page-Main_Page td { | |||
text-align: center !important; | |||
vertical-align: middle; | |||
padding: 15px; | |||
body.page-Main_Page | |||
} | } | ||
body.page-Main_Page td a { | |||
body.page-Main_Page td | |||
display: inline-block; | display: inline-block; | ||
text-align: center; | text-align: center; | ||
transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease; | transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease; | ||
} | } | ||
body.page-Main_Page td a img { | |||
display: block; | |||
margin: 0 auto; | |||
transition: transform 0.25s ease; | |||
} | |||
body.page-Main_Page td | body.page-Main_Page td a:hover { | ||
transform: translateY(-10px) scale(1.08) !important; | |||
transform: translateY(- | box-shadow: 0 12px 25px rgba(0,0,0,0.5) !important; | ||
box-shadow: 0 | filter: brightness(1.2) !important; | ||
filter: brightness(1. | position: relative; | ||
z-index: 10 | z-index: 10; | ||
} | } | ||
body.page-Main_Page td a:hover img { | |||
body.page-Main_Page td | transform: scale(1.05); | ||
transform: scale(1.05) | |||
} | } | ||
/* | /* responsivo */ | ||
body.page-Main_Page img { | body.page-Main_Page img { | ||
max-width: 100%; | max-width: 100%; | ||
Edição das 21h54min de 7 de maio de 2026
/* =========================================================
🌙 PALETA GLOBAL
========================================================= */
:root {
--bg-main: #202225;
--bg-soft: #2c2f33;
--bg-hover: #23272a;
--text: #ffffff;
--text-soft: #dddddd;
}
/* =========================================================
🔄 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 (MENU)
========================================================= */
#mw-panel,
#mw-panel .portal,
#mw-panel .body,
#mw-panel .vector-menu-content {
background-color: var(--bg-soft) !important;
color: var(--text) !important;
}
/* 🔧 MENU MAIS COMPACTO */
#mw-panel .portal {
margin-bottom: 4px !important;
}
#mw-panel a {
display: block;
padding: 3px 8px !important;
margin: 0 !important;
line-height: 1.2 !important;
background-color: var(--bg-soft) !important;
color: var(--text) !important;
}
#mw-panel a:hover {
background-color: var(--bg-hover) !important;
transform: translateX(3px);
}
#mw-panel .body {
padding: 2px 0 !important;
}
#mw-panel .portal h3 {
margin: 4px 0 !important;
padding: 2px 6px !important;
font-size: 13px !important;
}
#mw-panel ul,
#mw-panel li {
margin: 0 !important;
padding: 0 !important;
}
/* =========================================================
🔝 TOP BAR
========================================================= */
.vector-page-toolbar,
.vector-sticky-header,
#mw-head,
.vector-header-container {
background-color: var(--bg-main) !important;
}
/* botões topo */
.mw-ui-button,
.cdx-button,
.vector-menu-tabs a,
.vector-menu a {
background-color: var(--bg-soft) !important;
color: var(--text) !important;
box-shadow: none !important;
padding: 6px 10px;
}
.mw-ui-button:hover,
.cdx-button:hover,
.vector-menu-tabs a:hover {
background-color: var(--bg-hover) !important;
}
/* aba ativa */
.vector-menu-tabs .selected a {
background-color: var(--bg-hover) !important;
color: var(--text) !important;
}
/* =========================================================
🔘 INPUTS / BOTÕES
========================================================= */
button,
input,
select,
textarea {
background-color: var(--bg-soft) !important;
color: var(--text) !important;
}
button:hover {
background-color: var(--bg-hover) !important;
}
/* 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;
}
/* botão primário */
.oo-ui-flaggedElement-primary > .oo-ui-buttonElement-button {
background-color: #3a3f4b !important;
color: #fff !important;
}
/* =========================================================
📊 TABELAS
========================================================= */
body:not(.page-Main_Page) table,
body:not(.page-Main_Page) .wikitable,
body:not(.page-Main_Page) .mw-parser-output table {
background-color: var(--bg-soft) !important;
color: var(--text) !important;
border-collapse: collapse !important;
}
body:not(.page-Main_Page) table th,
body:not(.page-Main_Page) table td,
body:not(.page-Main_Page) .wikitable th,
body:not(.page-Main_Page) .wikitable td {
background-color: var(--bg-soft) !important;
color: var(--text) !important;
border: 1px solid #ffffff !important;
}
body:not(.page-Main_Page) th {
background-color: var(--bg-hover) !important;
font-weight: bold;
}
/* =========================================================
📦 CAIXAS
========================================================= */
.infobox,
.navbox,
#toc,
.toc {
background-color: var(--bg-soft) !important;
color: var(--text) !important;
border: none !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;
}
/* =========================================================
🧠 OOUI MODAIS
========================================================= */
.oo-ui-window,
.oo-ui-dialog,
.oo-ui-processDialog,
.oo-ui-window-content,
.oo-ui-dialog-content {
background-color: #ffffff !important;
color: #000000 !important;
}
.oo-ui-overlay {
background-color: rgba(0,0,0,0.6) !important;
}
/* =========================================================
🏠 HOME PAGE (ICONES CENTRALIZADOS + HOVER)
========================================================= */
body.page-Main_Page .mw-parser-output table {
width: 100%;
text-align: center;
}
body.page-Main_Page td {
text-align: center !important;
vertical-align: middle;
padding: 15px;
}
body.page-Main_Page td a {
display: inline-block;
text-align: center;
transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
body.page-Main_Page td a img {
display: block;
margin: 0 auto;
transition: transform 0.25s ease;
}
body.page-Main_Page td a:hover {
transform: translateY(-10px) scale(1.08) !important;
box-shadow: 0 12px 25px rgba(0,0,0,0.5) !important;
filter: brightness(1.2) !important;
position: relative;
z-index: 10;
}
body.page-Main_Page td a:hover img {
transform: scale(1.05);
}
/* responsivo */
body.page-Main_Page img {
max-width: 100%;
height: auto;
}
@media (max-width: 900px) {
body.page-Main_Page td {
width: 45%;
}
}
@media (max-width: 600px) {
body.page-Main_Page td {
width: 100%;
display: block;
}
}