MediaWiki:Common.css: diferenças entre revisões
Aparência
Sem resumo de edição |
Sem resumo de edição |
||
| Linha 1: | Linha 1: | ||
/* ===================================================== */ | /* ===================================================== */ | ||
/* | /* CONTROLO DE LARGURA */ | ||
/* ===================================================== */ | /* ===================================================== */ | ||
:root { | :root { | ||
--page-max-width: | --page-max-width: 1200px; | ||
--content-max-width: | --content-max-width: 1180px; | ||
--wrapper-width: calc(100% - | --wrapper-width: calc(100% - 20px); | ||
} | } | ||
/* ===================================================== */ | /* ===================================================== */ | ||
/* | /* BASE */ | ||
/* ===================================================== */ | /* ===================================================== */ | ||
html, body { | html, | ||
height: 100%; | body { | ||
min-height: 100%; | |||
margin: 0; | |||
padding: 0; | |||
} | } | ||
body { | body { | ||
| Linha 42: | Linha 30: | ||
/* ===================================================== */ | /* ===================================================== */ | ||
/* | /* REMOVER SIDEBAR */ | ||
/* ===================================================== */ | /* ===================================================== */ | ||
| Linha 53: | Linha 41: | ||
/* ===================================================== */ | /* ===================================================== */ | ||
/* | /* TOPO */ | ||
/* ===================================================== */ | /* ===================================================== */ | ||
. | #mw-head, | ||
.vector- | #mw-navigation, | ||
. | .vector-header-container, | ||
background: # | .vector-sticky-header-container, | ||
border: | .vector-header { | ||
box-shadow | background: #2b1205 !important; | ||
border-bottom: 2px solid #c28b2f !important; | |||
box-shadow: none !important; | |||
} | } | ||
.vector-header { | .vector-header { | ||
| Linha 86: | Linha 59: | ||
justify-content: space-between; | justify-content: space-between; | ||
gap: 16px; | gap: 16px; | ||
min-height: 48px; | |||
} | } | ||
.vector-header .mw-logo-container { | .vector-header .mw-logo-container { | ||
display: flex; | display: flex; | ||
| Linha 98: | Linha 71: | ||
.vector-header .mw-logo img { | .vector-header .mw-logo img { | ||
max-height: 36px; | max-height: 36px; | ||
width: auto; | |||
} | } | ||
| Linha 107: | Linha 81: | ||
/* ===================================================== */ | /* ===================================================== */ | ||
/* | /* PESQUISA */ | ||
/* ===================================================== */ | /* ===================================================== */ | ||
.vector-search-box { | .vector-search-box { | ||
flex: 0 1 420px; | flex: 0 1 420px; | ||
} | |||
.vector-search-box, | |||
.vector-search-box form, | |||
.vector-search-box-inner { | |||
background: transparent !important; | |||
} | } | ||
| Linha 126: | Linha 106: | ||
/* ===================================================== */ | /* ===================================================== */ | ||
/* | /* ÁREA CENTRAL */ | ||
/* ===================================================== */ | /* ===================================================== */ | ||
.mw-page-container { | |||
max-width: var(--page-max-width) !important; | |||
margin: 0 auto !important; | |||
background: #e9d7a8 !important; | |||
border: 1px solid #7a3b12; | |||
box-shadow: 0 0 12px rgba(0,0,0,0.45); | |||
background: # | } | ||
background | |||
border | .vector-body, | ||
.mw-body { | |||
background: transparent !important; | |||
border: 0 !important; | |||
box-shadow: none !important; | box-shadow: none !important; | ||
margin: 0 !important; | |||
padding: 0 !important; | |||
} | |||
.mw-content-container { | |||
max-width: var(--content-max-width) !important; | |||
margin: 0 auto !important; | |||
padding: 0 !important; | |||
background: transparent !important; | |||
} | } | ||
#content { | |||
margin: 0 !important; | |||
padding: 0 !important; | |||
background: transparent !important; | |||
} | |||
.mw-parser-output { | |||
padding: 0 !important; | |||
margin: 0 !important; | |||
background: transparent !important; | background: transparent !important; | ||
} | } | ||
/* | |||
/* ===================================================== */ | |||
/* BARRA DA PÁGINA / TABS */ | |||
/* ===================================================== */ | |||
.vector-page-titlebar, | .vector-page-titlebar, | ||
.vector-page-titlebar-topped, | .vector-page-titlebar-topped, | ||
| Linha 156: | Linha 156: | ||
.vector-column-end { | .vector-column-end { | ||
background: #e9d7a8 !important; | background: #e9d7a8 !important; | ||
border-bottom: 1px solid #8b1e12 !important; | border-bottom: 1px solid #8b1e12 !important; | ||
box-shadow: none !important; | box-shadow: none !important; | ||
} | } | ||
.vector-menu-tabs, | .vector-menu-tabs, | ||
.vector-menu-tabs-legacy, | .vector-menu-tabs-legacy, | ||
| Linha 168: | Linha 166: | ||
.vector-menu-tabs li { | .vector-menu-tabs li { | ||
background: #e9d7a8 !important; | background: #e9d7a8 !important; | ||
border: none !important; | |||
box-shadow: none !important; | box-shadow: none !important; | ||
} | } | ||
| Linha 206: | Linha 203: | ||
font-family: Georgia, serif; | font-family: Georgia, serif; | ||
border-bottom: 2px solid #8b1e12; | border-bottom: 2px solid #8b1e12; | ||
padding | padding: 8px 0; | ||
margin: 0 0 8px 0 !important; | |||
} | } | ||
| Linha 234: | Linha 232: | ||
width: var(--wrapper-width); | width: var(--wrapper-width); | ||
max-width: var(--content-max-width); | max-width: var(--content-max-width); | ||
margin: 0 auto; | margin: 12px auto 0 auto; | ||
} | } | ||
| Linha 244: | Linha 242: | ||
overflow: hidden; | overflow: hidden; | ||
box-shadow: 0 3px 10px rgba(0,0,0,0.35); | box-shadow: 0 3px 10px rgba(0,0,0,0.35); | ||
position: relative; | |||
clear: both; | |||
} | } | ||
| Linha 253: | Linha 253: | ||
padding: 10px; | padding: 10px; | ||
font-size: 18px; | font-size: 18px; | ||
line-height: 1.2; | |||
} | } | ||
| Linha 263: | Linha 264: | ||
/* ===================================================== */ | /* ===================================================== */ | ||
/* CLASSES | /* CLASSES */ | ||
/* ===================================================== */ | /* ===================================================== */ | ||
| Linha 285: | Linha 286: | ||
} | } | ||
.container > div { | .container > div { | ||
width: 100% !important; | width: 100% !important; | ||
} | } | ||
.container table { | .container table { | ||
width: 100%; | width: 100%; | ||
| Linha 302: | Linha 301: | ||
} | } | ||
.classes-flex > div[style*="border-right"] { | .classes-flex > div[style*="border-right"] { | ||
flex: 0 0 1px; | flex: 0 0 1px; | ||
| Linha 309: | Linha 307: | ||
} | } | ||
.classe-top { | .classe-top { | ||
text-align: center; | text-align: center; | ||
| Linha 317: | Linha 314: | ||
} | } | ||
.classe-bottom { | .classe-bottom { | ||
text-align: center; | text-align: center; | ||
| Linha 325: | Linha 321: | ||
} | } | ||
/* | |||
/* ===================================================== */ | |||
/* EQUIPAMENTOS */ | |||
/* ===================================================== */ | |||
.equip-row { | |||
display: flex; | |||
flex-wrap: wrap; | |||
justify-content: space-between; | |||
align-items: stretch; | |||
gap: 0; | |||
width: 100%; | |||
} | |||
.equip-item { | |||
flex: 1 1 90px; | |||
min-width: 90px; | |||
max-width: 120px; | |||
display: flex; | |||
justify-content: center; | |||
align-items: center; | |||
padding: 4px 6px; | |||
box-sizing: border-box; | |||
} | |||
.equip-inner { | |||
display: flex; | |||
flex-direction: column; | |||
align-items: center; | |||
justify-content: space-between; | |||
gap: 4px; | |||
text-align: center; | |||
width: 100%; | |||
} | |||
.equip-label { | |||
font-weight: bold; | |||
} | |||
.equip-divider { | |||
width: 1px; | |||
background: #35215f; | |||
margin: 0 2px; | |||
} | |||
/* ===================================================== */ | |||
/* TAGS */ | |||
/* ===================================================== */ | |||
.tag-green { background:#43cc91; color:#000; padding:2px 6px; border-radius:4px; } | .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-red { background:#ff8a8a; color:#000; padding:2px 6px; border-radius:4px; } | ||
.tag-yellow { background:#ffc107; 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; } | .tag-blue { background:#42a1c9; color:#000; padding:2px 6px; border-radius:4px; } | ||
/* ===================================================== */ | |||
/* FOOTER */ | |||
/* ===================================================== */ | |||
#footer { | |||
max-width: var(--page-max-width); | |||
margin: 0 auto !important; | |||
background: #e9d7a8 !important; | |||
border-top: 1px solid #8b1e12; | |||
padding: 20px; | |||
box-sizing: border-box; | |||
} | |||
| Linha 346: | Linha 405: | ||
min-width: 185px; | min-width: 185px; | ||
max-width: 185px; | max-width: 185px; | ||
} | |||
.equip-divider { | |||
display: none; | |||
} | |||
.equip-item { | |||
flex: 1 1 120px; | |||
max-width: none; | |||
} | } | ||
} | } | ||
| Linha 352: | Linha 420: | ||
.container { | .container { | ||
flex: 0 0 100%; | flex: 0 0 100%; | ||
min-width: 100%; | |||
max-width: 100%; | |||
} | |||
.equip-item { | |||
flex: 1 1 100%; | |||
min-width: 100%; | min-width: 100%; | ||
max-width: 100%; | max-width: 100%; | ||
} | } | ||
} | } | ||
Revisão das 15h24min de 27 de março de 2026
/* ===================================================== */
/* CONTROLO DE LARGURA */
/* ===================================================== */
:root {
--page-max-width: 1200px;
--content-max-width: 1180px;
--wrapper-width: calc(100% - 20px);
}
/* ===================================================== */
/* BASE */
/* ===================================================== */
html,
body {
min-height: 100%;
margin: 0;
padding: 0;
}
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;
}
/* ===================================================== */
/* REMOVER SIDEBAR */
/* ===================================================== */
.vector-column-start,
#mw-panel,
.vector-pinned-container {
display: none !important;
}
/* ===================================================== */
/* TOPO */
/* ===================================================== */
#mw-head,
#mw-navigation,
.vector-header-container,
.vector-sticky-header-container,
.vector-header {
background: #2b1205 !important;
border-bottom: 2px solid #c28b2f !important;
box-shadow: none !important;
}
.vector-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
min-height: 48px;
}
.vector-header .mw-logo-container {
display: flex;
align-items: center;
justify-content: center;
min-width: 120px;
}
.vector-header .mw-logo img {
max-height: 36px;
width: auto;
}
.mw-logo-wordmark,
.mw-logo-tagline {
display: none !important;
}
/* ===================================================== */
/* PESQUISA */
/* ===================================================== */
.vector-search-box {
flex: 0 1 420px;
}
.vector-search-box,
.vector-search-box form,
.vector-search-box-inner {
background: transparent !important;
}
.vector-search-box-input {
background: #11161d !important;
color: #f3e2b0 !important;
border: 1px solid #8a5a16 !important;
}
.vector-search-box-input::placeholder {
color: #cdbb8b !important;
}
/* ===================================================== */
/* ÁREA CENTRAL */
/* ===================================================== */
.mw-page-container {
max-width: var(--page-max-width) !important;
margin: 0 auto !important;
background: #e9d7a8 !important;
border: 1px solid #7a3b12;
box-shadow: 0 0 12px rgba(0,0,0,0.45);
}
.vector-body,
.mw-body {
background: transparent !important;
border: 0 !important;
box-shadow: none !important;
margin: 0 !important;
padding: 0 !important;
}
.mw-content-container {
max-width: var(--content-max-width) !important;
margin: 0 auto !important;
padding: 0 !important;
background: transparent !important;
}
#content {
margin: 0 !important;
padding: 0 !important;
background: transparent !important;
}
.mw-parser-output {
padding: 0 !important;
margin: 0 !important;
background: transparent !important;
}
/* ===================================================== */
/* BARRA DA PÁGINA / TABS */
/* ===================================================== */
.vector-page-titlebar,
.vector-page-titlebar-topped,
.vector-page-toolbar,
.vector-page-toolbar-container,
.vector-column-end {
background: #e9d7a8 !important;
border-bottom: 1px solid #8b1e12 !important;
box-shadow: none !important;
}
.vector-menu-tabs,
.vector-menu-tabs-legacy,
.vector-menu-tabs .vector-menu-content,
.vector-menu-tabs ul,
.vector-menu-tabs li {
background: #e9d7a8 !important;
border: none !important;
box-shadow: none !important;
}
.vector-menu-tabs a {
background: transparent !important;
color: #7b1a10 !important;
border: none !important;
}
.vector-menu-tabs .selected a {
color: #4e1208 !important;
font-weight: bold !important;
border-bottom: 2px solid #8b1e12 !important;
}
.vector-menu-tabs a:hover,
.vector-page-titlebar a:hover,
.vector-page-toolbar a:hover {
color: #c4311c !important;
text-decoration: none !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: 8px 0;
margin: 0 0 8px 0 !important;
}
/* ===================================================== */
/* 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: 12px auto 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);
position: relative;
clear: both;
}
.mp-title {
background: linear-gradient(#8f1717, #4e0909);
color: #f5df9d;
text-align: center;
font-weight: bold;
padding: 10px;
font-size: 18px;
line-height: 1.2;
}
.mp-content,
.mp-links,
.mp-grid {
padding: 14px;
}
/* ===================================================== */
/* CLASSES */
/* ===================================================== */
.classes-flex {
display: flex;
gap: 8px;
justify-content: center;
align-items: flex-start;
width: 100%;
flex-wrap: nowrap;
overflow-x: auto;
padding: 0 6px;
box-sizing: border-box;
}
.container {
flex: 0 0 185px;
min-width: 185px;
max-width: 185px;
align-self: flex-start;
}
.container > div {
width: 100% !important;
}
.container table {
width: 100%;
margin: 0 !important;
border-collapse: separate;
border-spacing: 0;
background: #f6ecd6;
border: 1px solid #8e6a3a;
border-radius: 8px;
overflow: hidden;
}
.classes-flex > div[style*="border-right"] {
flex: 0 0 1px;
margin: 0 2px !important;
align-self: stretch;
}
.classe-top {
text-align: center;
color: #f5df9d;
background: linear-gradient(to right,#36040d,#851515,#36040d);
padding: 4px;
}
.classe-bottom {
text-align: center;
color: white;
background: linear-gradient(to right,#36040d,#851515,#36040d);
padding: 6px;
}
/* ===================================================== */
/* EQUIPAMENTOS */
/* ===================================================== */
.equip-row {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: stretch;
gap: 0;
width: 100%;
}
.equip-item {
flex: 1 1 90px;
min-width: 90px;
max-width: 120px;
display: flex;
justify-content: center;
align-items: center;
padding: 4px 6px;
box-sizing: border-box;
}
.equip-inner {
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
gap: 4px;
text-align: center;
width: 100%;
}
.equip-label {
font-weight: bold;
}
.equip-divider {
width: 1px;
background: #35215f;
margin: 0 2px;
}
/* ===================================================== */
/* 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; }
/* ===================================================== */
/* FOOTER */
/* ===================================================== */
#footer {
max-width: var(--page-max-width);
margin: 0 auto !important;
background: #e9d7a8 !important;
border-top: 1px solid #8b1e12;
padding: 20px;
box-sizing: border-box;
}
/* ===================================================== */
/* RESPONSIVO */
/* ===================================================== */
@media (max-width: 1000px) {
.classes-flex {
flex-wrap: wrap;
justify-content: center;
}
.container {
flex: 0 0 185px;
min-width: 185px;
max-width: 185px;
}
.equip-divider {
display: none;
}
.equip-item {
flex: 1 1 120px;
max-width: none;
}
}
@media (max-width: 700px) {
.container {
flex: 0 0 100%;
min-width: 100%;
max-width: 100%;
}
.equip-item {
flex: 1 1 100%;
min-width: 100%;
max-width: 100%;
}
}