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.
/** o código CSS colocado aqui será aplicado a todos os temas */
/* ===== SEU CSS ORIGINAL ===== */
#p-tb { display: none}
#ca-talk { display: none !important; }
#ca-edit { display: none !important; }
#ca-formedit { display: none !important; }
#ca-history { display: none !important;}
#ca-watch { display: none !important; }
#ca-unwatch { display: none !important; }
#ca-delete { display: none !important; }
#ca-move { display: none !important; }
#ca-protect { display: none !important; }
#ca-viewsource { display: none !important; }
.fullImageLink {
display: none;
}
.anon #ca-ve-edit {
display: none !important;
}
a.external {
background: none;
padding-right: 0;
}
#n-download a {
text-transform: capitalize !important;
}
/* ===== FUNDO ESTILO GPT (CINZA) ===== */
/* Fundo geral */
body {
background: #343541 !important;
}
/* Área principal */
#content, .mw-body {
background: #444654 !important;
border-radius: 10px;
padding: 20px;
}
/* Remove branco padrão */
.mw-body-content {
background: transparent !important;
}
/* Sidebar */
#mw-panel {
background: #202123 !important;
border-right: 1px solid #2f3037;
}
/* Texto da sidebar */
#mw-panel a {
color: #ffffff !important;
}
/* Hover sidebar */
#mw-panel a:hover {
color: #ffffff !important;
}
/* Títulos da sidebar */
#mw-panel .portal h3 {
color: #9ca3af !important;
}
/* Topo */
#mw-head,
#mw-head-base {
background: #202123 !important;
border-bottom: 1px solid #2f3037 !important;
}
/* Links gerais */
a {
color: #8ab4f8;
}
a:hover {
color: #ffffff !important;
}
/* NÃO mexe nos ícones */
img {
background: none !important;
box-shadow: none !important;
}
/* ===== CORREÇÃO DEFINITIVA DAS ABAS ===== */
/* Remove QUALQUER fundo branco */
#p-views li,
#p-views li a,
#p-namespaces li,
#p-namespaces li a {
background: transparent !important;
border: none !important;
box-shadow: none !important;
}
/* FORÇA TEXTO BRANCO PURO */
#p-views li a,
#p-namespaces li a,
.vector-menu-tabs a,
.vector-menu-tabs span {
color: #ffffff !important;
opacity: 1 !important;
filter: none !important;
}
/* Aba ativa (Ler / Página principal) */
#p-views li.selected,
#p-views li.selected a,
#p-namespaces li.selected,
#p-namespaces li.selected a {
background: #444654 !important;
color: #ffffff !important;
border-radius: 6px;
opacity: 1 !important;
}
/* Hover das abas */
#p-views li a:hover,
#p-namespaces li a:hover {
background: #3a3b47 !important;
color: #ffffff !important;
opacity: 1 !important;
}
/* Containers das abas */
.vector-menu-content,
.vector-menu-tabs {
background: transparent !important;
}