MediaWiki:Common.css
Nota: Após publicar, você pode ter que limpar o "cache" do seu navegador para ver as alterações.
- Firefox / Safari: Pressione Shift enquanto clica Recarregar, ou pressione Ctrl-F5 ou Ctrl-R (⌘-R no Mac)
- Google Chrome: Pressione Ctrl-Shift-R (⌘-Shift-R no Mac)
- Edge: Pressione Ctrl enquanto clica Recarregar, ou pressione Ctrl-F5.
- Opera: Pressione Ctrl-F5.
/* ===== BASE GLOBAL ===== */
body,
#content,
.mw-body,
#mw-head,
#footer {
background-color: #202225 !important;
color: #ffffff !important;
border: none !important;
box-shadow: none !important;
}
/* ===== TRANSIÇÃO GLOBAL ===== */
a,
button,
input,
select,
textarea,
#mw-panel a,
.vector-menu-tabs a,
#p-personal a {
transition: all 0.2s ease-in-out !important;
}
/* ===== LINKS ===== */
a, a:visited, a:link {
color: #ffffff !important;
text-decoration: none;
}
a:hover {
color: #dddddd !important;
opacity: 0.85;
}
/* ===== SIDEBAR ===== */
#mw-panel,
#mw-panel .portal,
#mw-panel .body,
#mw-panel .vector-menu-content {
background-color: #2c2f33 !important;
border: none !important;
box-shadow: none !important;
}
#mw-panel a {
display: block;
background-color: #2c2f33 !important;
color: #ffffff !important;
padding: 6px 10px;
border-radius: 4px;
border: none !important;
box-shadow: none !important;
outline: none !important;
}
#mw-panel a:hover {
background-color: #23272a !important;
transform: translateX(4px);
}
#mw-panel hr {
border: none !important;
background-color: #23272a !important;
height: 1px;
}
/* ===== TOPO (CORREÇÃO DEFINITIVA) ===== */
.vector-menu-tabs,
.vector-menu-tabs ul,
.vector-menu-tabs li,
.vector-menu-tabs a,
.vector-menu-tabs li a,
.vector-menu-tabs li a:link,
.vector-menu-tabs li a:visited,
.vector-menu-tabs li a:active,
.vector-menu-tabs li a:focus,
.vector-menu-tabs li.selected a,
#p-personal,
#p-personal ul,
#p-personal li,
#p-personal a,
#p-personal a:link,
#p-personal a:visited,
#p-personal a:active,
#p-personal a:focus,
.mw-portlet,
.vector-menu,
.vector-menu-content,
.vector-menu-heading {
background-color: #202225 !important;
color: #ffffff !important;
border: none !important;
box-shadow: none !important;
outline: none !important;
}
.vector-menu-tabs li a:hover,
#p-personal a:hover {
background-color: #2c2f33 !important;
transform: translateY(-1px);
}
.vector-menu-tabs li.selected a {
background-color: #2c2f33 !important;
}
/* ===== BOTÕES / INPUTS ===== */
button,
input,
select,
textarea {
background-color: #2c2f33 !important;
color: #ffffff !important;
border: none !important;
box-shadow: none !important;
outline: none !important;
}
button:hover,
input:hover,
select:hover {
background-color: #23272a !important;
transform: scale(1.03);
}
button:focus,
input:focus,
select:focus,
textarea:focus {
outline: none !important;
box-shadow: none !important;
}
/* ===== TABELAS ===== */
table,
.mw-parser-output table,
.wikitable {
background-color: #2c2f33 !important;
color: #ffffff !important;
border-collapse: collapse;
border: 1px solid #444 !important;
}
th {
background-color: #23272a !important;
color: #ffffff !important;
}
td {
background-color: #2c2f33 !important;
}
/* ===== INFOBOX / NAVBOX / TOC ===== */
.infobox,
.navbox,
#toc,
.toc {
background-color: #2c2f33 !important;
color: #ffffff !important;
border: 1px solid #444 !important;
}
#toc a {
color: #ffffff !important;
}
/* ===== FORÇA FUNDO ESCURO EM QUALQUER BLOCO ===== */
.mw-parser-output,
.mw-parser-output > *,
div,
section,
article {
background-color: transparent !important;
color: #ffffff !important;
}
/* ===== REMOVE FUNDO BRANCO INLINE ===== */
[style*="background:#fff"],
[style*="background: white"],
[style*="background-color:#fff"],
[style*="background-color: white"] {
background-color: #2c2f33 !important;
color: #ffffff !important;
}
/* ===== TÍTULOS ===== */
h1, h2, h3, h4, h5, h6,
.mw-headline {
color: #ffffff !important;
border-color: #444 !important;
}
/* ===== TEXTO ===== */
p, span, li, ul, ol {
color: #ffffff !important;
}