MediaWiki:Common.css: mudanças entre as edições
Aparência
Sem resumo de edição |
Sem resumo de edição |
||
| Linha 1: | Linha 1: | ||
/* | /* FONTE E BASE */ | ||
body { | body { | ||
background-color: # | background-color: #f9f9f9; | ||
font-family: ' | font-family: 'Segoe UI', 'Inter', sans-serif; | ||
color: # | color: #2e2e2e; | ||
font-size: 16px; | |||
line-height: 1.6; | line-height: 1.6; | ||
margin: 0; | |||
margin: 0 | |||
} | } | ||
/* LOGO */ | /* LOGO */ | ||
#p-logo { | #p-logo { | ||
background: url('/ | background: url('/caminho/para/logo-institucional.png') no-repeat center; | ||
background-size: contain; | background-size: contain; | ||
height: 100px; | height: 100px; | ||
| Linha 32: | Linha 19: | ||
/* CONTEÚDO PRINCIPAL */ | /* CONTEÚDO PRINCIPAL */ | ||
#content, .mw-body { | #content, .mw-body { | ||
background-color: # | background-color: #fff; | ||
border-radius: | border-radius: 8px; | ||
padding: 32px; | padding: 32px; | ||
margin-top: 20px; | margin-top: 20px; | ||
box-shadow: 0 2px 10px rgba(0,0,0,0.05); | |||
} | } | ||
/* TÍTULOS */ | /* TÍTULOS */ | ||
h1, h2, h3, h4 { | h1, h2, h3, h4 { | ||
font-weight: 600; | font-weight: 600; | ||
color: #002147; /* Azul institucional */ | |||
} | } | ||
/* LINKS */ | /* LINKS */ | ||
a { | a { | ||
color: # | color: #0056a3; | ||
text-decoration: none; | text-decoration: none; | ||
} | } | ||
| Linha 56: | Linha 43: | ||
/* SIDEBAR */ | /* SIDEBAR */ | ||
#mw-panel { | #mw-panel { | ||
background-color: # | background-color: #002147; | ||
color: #fff; | |||
padding: 10px; | padding: 10px; | ||
border-radius: 0 0 10px 0; | |||
} | } | ||
#mw-panel .portal h3 { | #mw-panel .portal h3 { | ||
color: # | color: #ffffff; | ||
font-size: 14px; | font-size: 14px; | ||
margin-top: | margin-top: 12px; | ||
text-transform: uppercase; | |||
} | } | ||
#mw-panel .portal ul { | #mw-panel .portal ul { | ||
| Linha 70: | Linha 59: | ||
} | } | ||
#mw-panel .portal ul li a { | #mw-panel .portal ul li a { | ||
color: # | color: #dce6f2; | ||
display: block; | display: block; | ||
padding: 6px; | |||
border-radius: 4px; | |||
} | |||
#mw-panel .portal ul li a:hover { | |||
background-color: #003366; | |||
} | |||
/* BARRA SUPERIOR */ | |||
#mw-head-base, #mw-page-base { | |||
background: #002147; | |||
} | |||
/* PERSONAL BAR */ | |||
#p-personal { | |||
background-color: #003366; | |||
padding: 8px; | |||
border-radius: 6px; | |||
} | |||
#p-personal a { | |||
color: #fff !important; | |||
} | } | ||
/* RODAPÉ */ | /* RODAPÉ */ | ||
#footer { | #footer { | ||
text-align: center; | text-align: center; | ||
background-color: #eaeaea; | |||
color: #555; | |||
font-size: 14px; | |||
padding: 20px; | padding: 20px; | ||
border- | border-top: 1px solid #ccc; | ||
margin-top: 40px; | |||
} | } | ||
| Linha 89: | Linha 98: | ||
width: 100%; | width: 100%; | ||
border-collapse: collapse; | border-collapse: collapse; | ||
margin | margin: 20px 0; | ||
} | } | ||
table th, table td { | table th, table td { | ||
| Linha 100: | Linha 109: | ||
} | } | ||
/* | /* INFOS LATERAIS */ | ||
.infobox { | |||
float: right; | float: right; | ||
margin: 0 0 10px 10px; | margin: 0 0 10px 10px; | ||
padding: 15px; | |||
border: 1px solid #ccc; | |||
background-color: #f9f9f9; | background-color: #f9f9f9; | ||
width: 280px; | |||
border-radius: 8px; | border-radius: 8px; | ||
} | } | ||
| Linha 113: | Linha 122: | ||
/* BOTÕES */ | /* BOTÕES */ | ||
.mw-ui-button { | .mw-ui-button { | ||
background-color: # | background-color: #0056a3; | ||
color: white; | color: white; | ||
padding: 10px 18px; | |||
border: none; | border: none; | ||
border-radius: 6px; | border-radius: 6px; | ||
cursor: pointer; | cursor: pointer; | ||
} | } | ||
.mw-ui-button:hover { | .mw-ui-button:hover { | ||
background-color: # | background-color: #003f7f; | ||
} | } | ||
/* MOBILE | /* MOBILE */ | ||
@media screen and (max-width: 768px) { | @media screen and (max-width: 768px) { | ||
#mw-panel { | #mw-panel { | ||
| Linha 131: | Linha 140: | ||
#content, .mw-body { | #content, .mw-body { | ||
margin: 0; | margin: 0; | ||
padding: | padding: 16px; | ||
} | } | ||
} | } | ||
Edição das 09h50min de 22 de julho de 2025
/* FONTE E BASE */
body {
background-color: #f9f9f9;
font-family: 'Segoe UI', 'Inter', sans-serif;
color: #2e2e2e;
font-size: 16px;
line-height: 1.6;
margin: 0;
}
/* LOGO */
#p-logo {
background: url('/caminho/para/logo-institucional.png') no-repeat center;
background-size: contain;
height: 100px;
width: 180px;
}
/* CONTEÚDO PRINCIPAL */
#content, .mw-body {
background-color: #fff;
border-radius: 8px;
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: #002147; /* Azul institucional */
}
/* LINKS */
a {
color: #0056a3;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
/* SIDEBAR */
#mw-panel {
background-color: #002147;
color: #fff;
padding: 10px;
border-radius: 0 0 10px 0;
}
#mw-panel .portal h3 {
color: #ffffff;
font-size: 14px;
margin-top: 12px;
text-transform: uppercase;
}
#mw-panel .portal ul {
list-style: none;
padding-left: 0;
}
#mw-panel .portal ul li a {
color: #dce6f2;
display: block;
padding: 6px;
border-radius: 4px;
}
#mw-panel .portal ul li a:hover {
background-color: #003366;
}
/* BARRA SUPERIOR */
#mw-head-base, #mw-page-base {
background: #002147;
}
/* PERSONAL BAR */
#p-personal {
background-color: #003366;
padding: 8px;
border-radius: 6px;
}
#p-personal a {
color: #fff !important;
}
/* RODAPÉ */
#footer {
text-align: center;
background-color: #eaeaea;
color: #555;
font-size: 14px;
padding: 20px;
border-top: 1px solid #ccc;
margin-top: 40px;
}
/* TABELAS */
table {
width: 100%;
border-collapse: collapse;
margin: 20px 0;
}
table th, table td {
border: 1px solid #ccc;
padding: 10px;
}
table th {
background-color: #f0f0f0;
font-weight: bold;
}
/* INFOS LATERAIS */
.infobox {
float: right;
margin: 0 0 10px 10px;
padding: 15px;
border: 1px solid #ccc;
background-color: #f9f9f9;
width: 280px;
border-radius: 8px;
}
/* BOTÕES */
.mw-ui-button {
background-color: #0056a3;
color: white;
padding: 10px 18px;
border: none;
border-radius: 6px;
cursor: pointer;
}
.mw-ui-button:hover {
background-color: #003f7f;
}
/* MOBILE */
@media screen and (max-width: 768px) {
#mw-panel {
display: none;
}
#content, .mw-body {
margin: 0;
padding: 16px;
}
}