MediaWiki:Common.css: diferenças entre revisões
Aparência
Limpou toda a página Etiqueta: Esvaziamento |
Sem resumo de edição |
||
| Linha 1: | Linha 1: | ||
/* ===================================================== */ | |||
/* 🔧 CONTROLO DE LARGURA (AJUSTA SÓ AQUI) */ | |||
/* ===================================================== */ | |||
:root { | |||
--page-max-width: 1500px; | |||
--content-max-width: 1400px; | |||
--wrapper-width: calc(100% - 60px); | |||
} | |||
/* ===================================================== */ | |||
/* FUNDO GLOBAL */ | |||
/* ===================================================== */ | |||
html, body { | |||
height: 100%; | |||
} | |||
body { | |||
background: | |||
linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)), | |||
url("/images/imagem_fundo.png") no-repeat center top fixed; | |||
background-size: cover; | |||
} | |||
/* ===================================================== */ | |||
/* REMOVE SIDEBAR (IGUAL PARA TODOS) */ | |||
/* ===================================================== */ | |||
.vector-column-start, | |||
#mw-panel, | |||
.vector-pinned-container { | |||
display: none !important; | |||
} | |||
/* ===================================================== */ | |||
/* ÁREA CENTRAL */ | |||
/* ===================================================== */ | |||
.mw-page-container, | |||
.vector-body, | |||
.mw-body { | |||
background: #e9d7a8 !important; | |||
border: 1px solid #7a3b12; | |||
box-shadow: 0 0 12px rgba(0,0,0,0.45); | |||
max-width: var(--page-max-width) !important; | |||
margin: 0 auto !important; | |||
} | |||
.mw-content-container { | |||
max-width: var(--content-max-width) !important; | |||
margin: 0 auto !important; | |||
padding: 0 10px !important; | |||
} | |||
/* ===================================================== */ | |||
/* HEADER (ESTÁVEL PARA TODOS) */ | |||
/* ===================================================== */ | |||
.vector-header-container, | |||
.vector-sticky-header-container, | |||
.vector-header { | |||
background: #2b1205 !important; | |||
border-bottom: 2px solid #c28b2f !important; | |||
box-shadow: 0 2px 8px rgba(0,0,0,0.35); | |||
} | |||
/* limpa inconsistências */ | |||
.vector-header * { | |||
background: transparent !important; | |||
} | |||
/* layout fixo */ | |||
.vector-header { | |||
display: flex; | |||
align-items: center; | |||
justify-content: space-between; | |||
gap: 16px; | |||
} | |||
/* logo */ | |||
.vector-header .mw-logo-container { | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
min-width: 120px; | |||
} | |||
.vector-header .mw-logo img { | |||
max-height: 36px; | |||
} | |||
/* esconder texto */ | |||
.mw-logo-wordmark, | |||
.mw-logo-tagline { | |||
display: none !important; | |||
} | |||
/* ===================================================== */ | |||
/* SEARCH */ | |||
/* ===================================================== */ | |||
.vector-search-box { | |||
flex: 0 1 420px; | |||
} | |||
.vector-search-box-input { | |||
background: #11161d !important; | |||
color: #f3e2b0 !important; | |||
border: 1px solid #8a5a16 !important; | |||
} | |||
.vector-search-box-input::placeholder { | |||
color: #cdbb8b !important; | |||
} | |||
/* ===================================================== */ | |||
/* BARRA DA PÁGINA */ | |||
/* ===================================================== */ | |||
.vector-page-titlebar, | |||
.vector-page-toolbar, | |||
.vector-page-toolbar-container { | |||
background: #e9d7a8 !important; | |||
border-bottom: 1px solid #8b1e12 !important; | |||
} | |||
.vector-page-titlebar a, | |||
.vector-page-toolbar a { | |||
color: #a88942 !important; | |||
} | |||
/* ===================================================== */ | |||
/* TÍTULO */ | |||
/* ===================================================== */ | |||
.firstHeading { | |||
color: #4e1208 !important; | |||
font-family: Georgia, serif; | |||
border-bottom: 2px solid #8b1e12; | |||
padding-bottom: 8px; | |||
} | |||
/* ===================================================== */ | |||
/* LINKS */ | |||
/* ===================================================== */ | |||
a { color: #9d1f12; } | |||
a:visited { color: #7b1a10; } | |||
a:hover { color: #c4311c; } | |||
/* ===================================================== */ | |||
/* HOMEPAGE */ | |||
/* ===================================================== */ | |||
.mp-wrapper { | |||
width: var(--wrapper-width); | |||
max-width: var(--content-max-width); | |||
margin: 0 auto; | |||
} | |||
.mp-panel { | |||
background: #efe4c8; | |||
border: 2px solid #6b130e; | |||
border-radius: 14px; | |||
margin-bottom: 16px; | |||
overflow: hidden; | |||
box-shadow: 0 3px 10px rgba(0,0,0,0.35); | |||
} | |||
.mp-title { | |||
background: linear-gradient(#8f1717, #4e0909); | |||
color: #f5df9d; | |||
text-align: center; | |||
font-weight: bold; | |||
padding: 10px; | |||
font-size: 18px; | |||
} | |||
.mp-content, | |||
.mp-links, | |||
.mp-grid { | |||
padding: 14px; | |||
} | |||
/* ===================================================== */ | |||
/* CLASSES (CARDS) */ | |||
/* ===================================================== */ | |||
.classes-flex { | |||
display: flex; | |||
gap: 12px; | |||
justify-content: space-between; | |||
width: 100%; | |||
} | |||
.container { | |||
flex: 1 1 0; | |||
min-width: 160px; | |||
} | |||
/* remove bug de largura */ | |||
.container > div { | |||
width: 100% !important; | |||
} | |||
/* tabela */ | |||
.container table { | |||
width: 100%; | |||
margin: 0 !important; | |||
border-collapse: separate; | |||
background: #f6ecd6; | |||
border: 1px solid #8e6a3a; | |||
border-radius: 8px; | |||
} | |||
/* topo */ | |||
.classe-top { | |||
text-align: center; | |||
color: #f5df9d; | |||
background: linear-gradient(to right,#36040d,#851515,#36040d); | |||
padding: 4px; | |||
} | |||
/* base */ | |||
.classe-bottom { | |||
text-align: center; | |||
color: white; | |||
background: linear-gradient(to right,#36040d,#851515,#36040d); | |||
padding: 6px; | |||
} | |||
/* tags */ | |||
.tag-green { background:#43cc91; color:#000; padding:2px 6px; border-radius:4px; } | |||
.tag-red { background:#ff8a8a; color:#000; padding:2px 6px; border-radius:4px; } | |||
.tag-yellow { background:#ffc107; color:#000; padding:2px 6px; border-radius:4px; } | |||
.tag-blue { background:#42a1c9; color:#000; padding:2px 6px; border-radius:4px; } | |||
/* ===================================================== */ | |||
/* RESPONSIVO */ | |||
/* ===================================================== */ | |||
@media (max-width: 1000px) { | |||
.classes-flex { | |||
flex-wrap: wrap; | |||
} | |||
} | |||
@media (max-width: 700px) { | |||
.container { | |||
min-width: 100%; | |||
} | |||
} | |||
Revisão das 13h18min de 27 de março de 2026
/* ===================================================== */
/* 🔧 CONTROLO DE LARGURA (AJUSTA SÓ AQUI) */
/* ===================================================== */
:root {
--page-max-width: 1500px;
--content-max-width: 1400px;
--wrapper-width: calc(100% - 60px);
}
/* ===================================================== */
/* FUNDO GLOBAL */
/* ===================================================== */
html, body {
height: 100%;
}
body {
background:
linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
url("/images/imagem_fundo.png") no-repeat center top fixed;
background-size: cover;
}
/* ===================================================== */
/* REMOVE SIDEBAR (IGUAL PARA TODOS) */
/* ===================================================== */
.vector-column-start,
#mw-panel,
.vector-pinned-container {
display: none !important;
}
/* ===================================================== */
/* ÁREA CENTRAL */
/* ===================================================== */
.mw-page-container,
.vector-body,
.mw-body {
background: #e9d7a8 !important;
border: 1px solid #7a3b12;
box-shadow: 0 0 12px rgba(0,0,0,0.45);
max-width: var(--page-max-width) !important;
margin: 0 auto !important;
}
.mw-content-container {
max-width: var(--content-max-width) !important;
margin: 0 auto !important;
padding: 0 10px !important;
}
/* ===================================================== */
/* HEADER (ESTÁVEL PARA TODOS) */
/* ===================================================== */
.vector-header-container,
.vector-sticky-header-container,
.vector-header {
background: #2b1205 !important;
border-bottom: 2px solid #c28b2f !important;
box-shadow: 0 2px 8px rgba(0,0,0,0.35);
}
/* limpa inconsistências */
.vector-header * {
background: transparent !important;
}
/* layout fixo */
.vector-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
}
/* logo */
.vector-header .mw-logo-container {
display: flex;
align-items: center;
justify-content: center;
min-width: 120px;
}
.vector-header .mw-logo img {
max-height: 36px;
}
/* esconder texto */
.mw-logo-wordmark,
.mw-logo-tagline {
display: none !important;
}
/* ===================================================== */
/* SEARCH */
/* ===================================================== */
.vector-search-box {
flex: 0 1 420px;
}
.vector-search-box-input {
background: #11161d !important;
color: #f3e2b0 !important;
border: 1px solid #8a5a16 !important;
}
.vector-search-box-input::placeholder {
color: #cdbb8b !important;
}
/* ===================================================== */
/* BARRA DA PÁGINA */
/* ===================================================== */
.vector-page-titlebar,
.vector-page-toolbar,
.vector-page-toolbar-container {
background: #e9d7a8 !important;
border-bottom: 1px solid #8b1e12 !important;
}
.vector-page-titlebar a,
.vector-page-toolbar a {
color: #a88942 !important;
}
/* ===================================================== */
/* TÍTULO */
/* ===================================================== */
.firstHeading {
color: #4e1208 !important;
font-family: Georgia, serif;
border-bottom: 2px solid #8b1e12;
padding-bottom: 8px;
}
/* ===================================================== */
/* LINKS */
/* ===================================================== */
a { color: #9d1f12; }
a:visited { color: #7b1a10; }
a:hover { color: #c4311c; }
/* ===================================================== */
/* HOMEPAGE */
/* ===================================================== */
.mp-wrapper {
width: var(--wrapper-width);
max-width: var(--content-max-width);
margin: 0 auto;
}
.mp-panel {
background: #efe4c8;
border: 2px solid #6b130e;
border-radius: 14px;
margin-bottom: 16px;
overflow: hidden;
box-shadow: 0 3px 10px rgba(0,0,0,0.35);
}
.mp-title {
background: linear-gradient(#8f1717, #4e0909);
color: #f5df9d;
text-align: center;
font-weight: bold;
padding: 10px;
font-size: 18px;
}
.mp-content,
.mp-links,
.mp-grid {
padding: 14px;
}
/* ===================================================== */
/* CLASSES (CARDS) */
/* ===================================================== */
.classes-flex {
display: flex;
gap: 12px;
justify-content: space-between;
width: 100%;
}
.container {
flex: 1 1 0;
min-width: 160px;
}
/* remove bug de largura */
.container > div {
width: 100% !important;
}
/* tabela */
.container table {
width: 100%;
margin: 0 !important;
border-collapse: separate;
background: #f6ecd6;
border: 1px solid #8e6a3a;
border-radius: 8px;
}
/* topo */
.classe-top {
text-align: center;
color: #f5df9d;
background: linear-gradient(to right,#36040d,#851515,#36040d);
padding: 4px;
}
/* base */
.classe-bottom {
text-align: center;
color: white;
background: linear-gradient(to right,#36040d,#851515,#36040d);
padding: 6px;
}
/* tags */
.tag-green { background:#43cc91; color:#000; padding:2px 6px; border-radius:4px; }
.tag-red { background:#ff8a8a; color:#000; padding:2px 6px; border-radius:4px; }
.tag-yellow { background:#ffc107; color:#000; padding:2px 6px; border-radius:4px; }
.tag-blue { background:#42a1c9; color:#000; padding:2px 6px; border-radius:4px; }
/* ===================================================== */
/* RESPONSIVO */
/* ===================================================== */
@media (max-width: 1000px) {
.classes-flex {
flex-wrap: wrap;
}
}
@media (max-width: 700px) {
.container {
min-width: 100%;
}
}