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 { | |||
--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- | background: | ||
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 SIDEBARS / COLUNAS LATERAIS */ | |||
/* ===================================================== */ | |||
. | .vector-column-start, | ||
#mw-panel, | |||
.vector-pinned-container, | |||
. | .vector-sticky-pinned-container, | ||
.vector-column-end, | |||
.vector-page-tools, | |||
.vector-page-tools-landmark { | |||
display: none !important; | |||
width: 0 !important; | |||
min-width: 0 !important; | |||
max-width: 0 !important; | |||
flex: 0 0 0 !important; | |||
margin: 0 !important; | |||
padding: 0 !important; | |||
border: 0 !important; | |||
overflow: hidden !important; | |||
} | } | ||
/* ===================================================== */ | |||
/* TOPO */ | |||
/* ===================================================== */ | |||
#mw- | #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 { | |||
content: | 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: | color: #f3e2b0 !important; | ||
border: 1px solid #8a5a16 !important; | |||
border | |||
} | } | ||
.vector-search-box-input::placeholder { | |||
color: #cdbb8b !important; | |||
color: | |||
} | } | ||
/* ===================================================== */ | |||
/* ÁREA CENTRAL */ | |||
/* ===================================================== */ | |||
.mw-page-container { | |||
background: rgba(0, 0, 0, 0. | 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); | |||
} | } | ||
.mw-page-container-inner { | |||
display: block !important; | |||
width: 100% !important; | |||
max-width: 100% !important; | |||
margin: 0 !important; | |||
padding: 0 !important; | |||
} | } | ||
.vector-column-main, | |||
.vector-body, | |||
.vector-page-content, | |||
.mw-body, | |||
.mw-content-container, | |||
#content { | |||
width: 100% !important; | |||
max-width: 100% !important; | |||
margin: 0 !important; | |||
margin-right: 0 !important; | |||
padding: 0 !important; | |||
background: transparent !important; | |||
border: 0 !important; | |||
box-shadow: none !important; | |||
flex: 1 1 100% !important; | |||
} | } | ||
.mw-parser-output { | |||
margin | padding: 0 !important; | ||
margin: 0 !important; | |||
background: transparent !important; | |||
} | } | ||
/* ===================================================== */ | |||
/* BARRA DA PÁGINA / TABS */ | |||
/* ===================================================== */ | |||
.vector-page-titlebar, | |||
background- | .vector-page-titlebar-topped, | ||
.vector-page-toolbar, | |||
.vector-page-toolbar-container { | |||
background: #e9d7a8 !important; | |||
border-bottom: 1px solid #8b1e12 !important; | |||
box-shadow: none !important; | |||
width: 100% !important; | |||
max-width: 100% !important; | |||
margin: 0 !important; | |||
margin-right: 0 !important; | |||
padding-right: 0 !important; | |||
} | } | ||
.vector-menu-tabs, | |||
background | .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; | |||
padding: 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 { | ||
border: 2px solid | 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; | position: relative; | ||
clear: both; | |||
} | } | ||
. | .mp-title { | ||
background: | 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; | 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- | 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; | font-weight: bold; | ||
} | } | ||
.equip-divider { | |||
width: 1px; | |||
background: #35215f; | |||
margin: 0 | 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%; | |||
} | |||
} | } | ||
/* ===================================================== */ | |||
/* TEMPLATES DE EQUIPAMENTO */ | |||
/* (adicionado sem mexer no visual global da wiki) */ | |||
/* ===================================================== */ | |||
#mw-content .fondfenetre, | |||
. | .fondfenetre { | ||
. | background: url("https://pt-wiki.metin2.gameforge.com/images/a/a4/Fundo2.png") repeat; | ||
color: #fff; | |||
} | } | ||
. | .fondfenetre a, | ||
.fondfenetre span { | |||
color: #fff; | |||
} | } | ||
. | .button { | ||
border: 2px solid grey; | |||
padding: 0 12px; | |||
line-height: 25px; | |||
border-radius: 16px; | |||
background: rgba(234, 234, 234, 1); | |||
cursor: pointer; | |||
display: inline-block; | |||
position: relative; | |||
user-select: none; | |||
white-space: nowrap; | |||
} | } | ||
.button:hover { | |||
background: transparent; | |||
} | } | ||
| Linha 508: | Linha 548: | ||
} | } | ||
/* opção segura: manter os detalhes visíveis para teste */ | |||
.tabber-noactive { | .tabber-noactive { | ||
display: block; | |||
} | } | ||
Revisão das 18h19min de 29 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 SIDEBARS / COLUNAS LATERAIS */
/* ===================================================== */
.vector-column-start,
#mw-panel,
.vector-pinned-container,
.vector-sticky-pinned-container,
.vector-column-end,
.vector-page-tools,
.vector-page-tools-landmark {
display: none !important;
width: 0 !important;
min-width: 0 !important;
max-width: 0 !important;
flex: 0 0 0 !important;
margin: 0 !important;
padding: 0 !important;
border: 0 !important;
overflow: hidden !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);
}
.mw-page-container-inner {
display: block !important;
width: 100% !important;
max-width: 100% !important;
margin: 0 !important;
padding: 0 !important;
}
.vector-column-main,
.vector-body,
.vector-page-content,
.mw-body,
.mw-content-container,
#content {
width: 100% !important;
max-width: 100% !important;
margin: 0 !important;
margin-right: 0 !important;
padding: 0 !important;
background: transparent !important;
border: 0 !important;
box-shadow: none !important;
flex: 1 1 100% !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 {
background: #e9d7a8 !important;
border-bottom: 1px solid #8b1e12 !important;
box-shadow: none !important;
width: 100% !important;
max-width: 100% !important;
margin: 0 !important;
margin-right: 0 !important;
padding-right: 0 !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%;
}
}
/* ===================================================== */
/* TEMPLATES DE EQUIPAMENTO */
/* (adicionado sem mexer no visual global da wiki) */
/* ===================================================== */
#mw-content .fondfenetre,
.fondfenetre {
background: url("https://pt-wiki.metin2.gameforge.com/images/a/a4/Fundo2.png") repeat;
color: #fff;
}
.fondfenetre a,
.fondfenetre span {
color: #fff;
}
.button {
border: 2px solid grey;
padding: 0 12px;
line-height: 25px;
border-radius: 16px;
background: rgba(234, 234, 234, 1);
cursor: pointer;
display: inline-block;
position: relative;
user-select: none;
white-space: nowrap;
}
.button:hover {
background: transparent;
}
.tab-glob {
display: flex;
flex-direction: row;
margin: 10px 0;
column-gap: 2px;
align-items: flex-start;
}
.tab-glob > :first-child {
display: grid;
grid-template-columns: max-content;
row-gap: 2px;
}
.tab-glob > :first-child > * {
border: 1px black solid;
}
.tab-glob > :first-child > *:not(.fondfenetre) {
font-weight: bold;
display: flex;
justify-content: center;
align-items: center;
}
.tab-glob > :nth-child(2) {
width: 100%;
overflow-x: auto;
}
.tab-glob > :nth-child(2) > :first-child {
display: grid;
grid-template-columns: repeat(10, minmax(75px, 1fr));
gap: 2px;
}
.tab-glob > :nth-child(2) > :first-child > * {
border: 1px black solid;
}
.tab-glob > :nth-child(2) > :first-child > :not(.fondfenetre) {
display: flex;
}
.tab-glob > :nth-child(2) > :first-child > :not(.fondfenetre) > * {
margin: auto;
}
.list-equip {
padding: 5px;
border: 1px solid #2f1d1f;
display: flex;
flex-direction: column;
align-items: center;
gap: 5px;
}
.list-equip > :first-child {
width: 100%;
line-height: 25px;
}
.list-equip > :first-child > * {
padding: 0 5px;
}
/* opção segura: manter os detalhes visíveis para teste */
.tabber-noactive {
display: block;
}