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 53: | Linha 53: | ||
} | } | ||
#mw-panel .portal { | #mw-panel .portal { | ||
margin-bottom: 4px !important; | margin-bottom: 4px !important; | ||
| Linha 148: | Linha 147: | ||
} | } | ||
.oo-ui-flaggedElement-primary > .oo-ui-buttonElement-button { | .oo-ui-flaggedElement-primary > .oo-ui-buttonElement-button { | ||
background-color: #3a3f4b !important; | background-color: #3a3f4b !important; | ||
| Linha 239: | Linha 237: | ||
/* ========================================================= | /* ========================================================= | ||
🏠 HOME PAGE | 🏠 HOME PAGE ICONES | ||
========================================================= */ | ========================================================= */ | ||
| Linha 255: | Linha 253: | ||
body.page-Main_Page td a { | body.page-Main_Page td a { | ||
display: inline-block; | display: inline-block; | ||
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; | ||
} | } | ||
| Linha 262: | Linha 259: | ||
display: block; | display: block; | ||
margin: 0 auto; | margin: 0 auto; | ||
} | } | ||
| Linha 271: | Linha 267: | ||
position: relative; | position: relative; | ||
z-index: 10; | z-index: 10; | ||
} | } | ||
/* ========================================================= | /* ========================================================= | ||
🧭 NAV BOX ( | 🧭 NAV BOX - 3D FLUTUANTE (FIX DEFINITIVO) | ||
========================================================= */ | ========================================================= */ | ||
| Linha 304: | Linha 277: | ||
border-collapse: collapse; | border-collapse: collapse; | ||
text-align: center; | text-align: center; | ||
background- | |||
background: rgba(44, 47, 51, 0.75) !important; | |||
backdrop-filter: blur(12px); | |||
-webkit-backdrop-filter: blur(12px); | |||
border: 1px solid rgba(255, 255, 255, 0.08); | |||
border-radius: 16px; | |||
box-shadow: | |||
0 18px 45px rgba(0, 0, 0, 0.55), | |||
0 4px 10px rgba(0, 0, 0, 0.35); | |||
transform: translateY(-6px); | |||
transition: all 0.25s ease; | |||
overflow: hidden; | |||
} | } | ||
.nav-box:hover { | |||
.nav-box | transform: translateY(-10px) scale(1.01); | ||
box-shadow: | |||
0 25px 60px rgba(0, 0, 0, 0.65), | |||
0 8px 18px rgba(0, 0, 0, 0.4); | |||
} | } | ||
| Linha 325: | Linha 311: | ||
.nav-box td a { | .nav-box td a { | ||
display: inline-block; | display: inline-block; | ||
color: var(--text) !important; | color: var(--text) !important; | ||
transition: transform 0.2s ease, filter 0.2s ease; | transition: transform 0.2s ease, filter 0.2s ease; | ||
| Linha 339: | Linha 324: | ||
} | } | ||
/* hover ícones */ | |||
/* hover | |||
.nav-box td a:hover { | .nav-box td a:hover { | ||
transform: translateY(-6px) scale(1.05); | transform: translateY(-6px) scale(1.05); | ||
| Linha 354: | Linha 332: | ||
.nav-box td a:hover img { | .nav-box td a:hover img { | ||
transform: scale(1.08); | transform: scale(1.08); | ||
} | |||
/* 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 das 22h37min 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;
}
#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;
}
.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
========================================================= */
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;
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;
}
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;
}
/* =========================================================
🧭 NAV BOX - 3D FLUTUANTE (FIX DEFINITIVO)
========================================================= */
.nav-box {
width: 100%;
border-collapse: collapse;
text-align: center;
background: rgba(44, 47, 51, 0.75) !important;
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 16px;
box-shadow:
0 18px 45px rgba(0, 0, 0, 0.55),
0 4px 10px rgba(0, 0, 0, 0.35);
transform: translateY(-6px);
transition: all 0.25s ease;
overflow: hidden;
}
.nav-box:hover {
transform: translateY(-10px) scale(1.01);
box-shadow:
0 25px 60px rgba(0, 0, 0, 0.65),
0 8px 18px rgba(0, 0, 0, 0.4);
}
/* células */
.nav-box td {
padding: 18px;
vertical-align: top;
}
/* links */
.nav-box td a {
display: inline-block;
color: var(--text) !important;
transition: transform 0.2s ease, filter 0.2s ease;
}
/* ícones */
.nav-box td img {
width: 80px;
height: 80px;
display: block;
margin: 0 auto;
transition: transform 0.2s ease;
}
/* hover ícones */
.nav-box td a:hover {
transform: translateY(-6px) scale(1.05);
filter: brightness(1.2);
}
.nav-box td a:hover img {
transform: scale(1.08);
}
/* 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;
}
}