MediaWiki:Common.css
Aparência
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.
/* FONTE BASE */
body {
background-color: #f6f6f6;
font-family: 'Segoe UI', 'Inter', sans-serif;
color: #111;
font-size: 16px;
line-height: 1.6;
margin: 0;
}
/* LOGO */
#p-logo {
background: url('/caminho/para/sua-logo.png') no-repeat center;
background-size: contain;
height: 100px;
width: 180px;
}
/* CONTEÚDO PRINCIPAL */
#content, .mw-body {
background-color: #fff;
border-radius: 10px;
padding: 32px;
margin-top: 20px;
box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
/* TÍTULOS */
h1, h2, h3, h4 {
font-weight: 600;
color: #111;
border-bottom: 1px solid #ddd;
padding-bottom: 5px;
}
/* LINKS */
a {
color: #ff6600;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
/* MENU LATERAL - FUNDO LARANJA, TEXTO BRANCO */
#mw-panel {
background-color: #f68b1e;
color: #fff;
padding: 12px;
border-radius: 0 0 12px 0;
box-shadow: 2px 2px 8px rgba(0,0,0,0.05);
}
#mw-panel .portal h3 {
color: #fff;
font-size: 13px;
text-transform: uppercase;
margin: 16px 0 8px;
font-weight: 600;
}
#mw-panel .portal ul {
list-style: none;
padding-left: 0;
}
#mw-panel .portal ul li a {
color: #fff;
display: block;
padding: 6px 8px;
border-radius: 4px;
transition: background-color 0.3s ease;
}
#mw-panel .portal ul li a:hover {
background-color: #e27c10;
}
/* TOPO */
#mw-head-base, #mw-page-base {
background: #111;
}
/* PERSONAL BAR */
#p-personal {
background-color: #222;
padding: 8px;
border-radius: 6px;
}
#p-personal a {
color: #fff !important;
}
#footer,
#footer * {
background-color: #ffffff !important;
color: #333 !important;
border-top: 3px solid #ff6600 !important;
}
#footer a {
color: #ff6600 !important;
}
#footer-icons {
background: transparent !important;
}
/* TABELAS */
table {
width: 100%;
border-collapse: collapse;
margin: 20px 0;
}
table th, table td {
border: 1px solid #ccc;
padding: 10px;
}
table th {
background-color: #f3f3f3;
font-weight: bold;
}
/* INFOS LATERAIS */
.infobox {
float: right;
margin: 0 0 10px 10px;
padding: 15px;
border: 1px solid #ccc;
background-color: #fffdf6;
width: 280px;
border-radius: 8px;
}
/* BOTÕES */
.mw-ui-button {
background-color: #ff6600;
color: white;
padding: 10px 18px;
border: none;
border-radius: 6px;
cursor: pointer;
font-weight: bold;
}
.mw-ui-button:hover {
background-color: #e05500;
}
/* MOBILE */
@media screen and (max-width: 768px) {
#mw-panel {
display: none;
}
#content, .mw-body {
margin: 0;
padding: 16px;
}
}
#p-logo {
background-image: url('https://big2be.tech/wp-content/uploads/2023/01/Big2Be-Especialistas-em-entender-o-seu-consumidor-2-1024x367.png');
background-size: contain;
background-repeat: no-repeat;
background-position: center;
width: 220px;
height: 80px;
}