MediaWiki:Common.css: mudanças entre as edições
Ir para navegação
Ir para pesquisar
Sem resumo de edição Etiqueta: Revertido |
Sem resumo de edição Etiqueta: Revertido |
||
| Linha 1: | Linha 1: | ||
/* ===================================== | /* ===================================== | ||
EVERLIGHT WIKI - COMMON.CSS ( | EVERLIGHT WIKI - COMMON.CSS (FINAL) | ||
===================================== */ | ===================================== */ | ||
| Linha 81: | Linha 81: | ||
/* ===================================================== | /* ===================================================== | ||
CARDS – | CARDS – PÁGINA PRINCIPAL (CORRIGIDO) | ||
===================================================== */ | ===================================================== */ | ||
| Linha 95: | Linha 95: | ||
border-radius: 8px; | border-radius: 8px; | ||
overflow: hidden; | overflow: hidden; | ||
background: #ffffff; | |||
text-align: center; | text-align: center; | ||
transition: transform 0. | transition: transform 0.25s ease, box-shadow 0.25s ease; | ||
} | } | ||
.everlight-home-card:hover { | .everlight-home-card:hover { | ||
transform: translateY(- | transform: translateY(-6px); | ||
box-shadow: 0 | box-shadow: 0 10px 24px rgba(0,0,0,0.35); | ||
} | } | ||
/* Área da imagem (blindada contra bug MediaWiki) */ | |||
.everlight-home-card .img { | .everlight-home-card .img { | ||
width: 100%; | width: 100%; | ||
height: 180px; | height: 180px; | ||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
justify-content: center; | justify-content: center; | ||
overflow: hidden; | |||
background: transparent; | |||
} | } | ||
| Linha 117: | Linha 120: | ||
height: 100%; | height: 100%; | ||
object-fit: cover; | object-fit: cover; | ||
display: block; | |||
} | } | ||
/* Título */ | |||
.everlight-home-card a { | .everlight-home-card a { | ||
display: block; | display: block; | ||
| Linha 191: | Linha 196: | ||
table.classes-table { | table.classes-table { | ||
width: 100%; | width: 100%; | ||
margin: 20px auto; | margin: 20px auto; | ||
text-align: center; | text-align: center; | ||
background: #ffffff; | background: #ffffff; | ||
font-size: 14px; | font-size: 14px; | ||
border-collapse: separate; | border-collapse: separate; | ||
border-spacing: 0; | border-spacing: 0; | ||
| Linha 254: | Linha 205: | ||
} | } | ||
.classes-table td { | .classes-table td { | ||
border: 1px solid #cfcfcf; | border: 1px solid #cfcfcf; | ||
padding: 12px 6px; | |||
vertical-align: top; | |||
background: #ffffff; | background: #ffffff; | ||
} | } | ||
| Linha 266: | Linha 217: | ||
} | } | ||
.class-cell:hover { | .class-cell:hover { | ||
background: #f7f9fc; | background: #f7f9fc; | ||
| Linha 272: | Linha 222: | ||
} | } | ||
.class-cell b { | .class-cell b { | ||
display: block; | display: block; | ||
| Linha 280: | Linha 229: | ||
} | } | ||
.class-cell img { | .class-cell img { | ||
vertical-align: middle; | vertical-align: middle; | ||
| Linha 286: | Linha 234: | ||
} | } | ||
/* ================= | /* ================= TÍTULOS DAS LINHAS ================= */ | ||
.row-title td { | .row-title td { | ||
font-weight: bold; | |||
text-transform: uppercase; | text-transform: uppercase; | ||
letter-spacing: 0.5px; | letter-spacing: 0.5px; | ||
font-size: 13px; | font-size: 13px; | ||
padding: 8px; | |||
border | border: 1px solid #bfbfbf; | ||
} | } | ||
/* | /* Cores estilo History */ | ||
.row-title.initial td { | .row-title.initial td { background: #eef3ff; } | ||
.row-title.c1 td { background: #fff4d6; } | |||
} | .row-title.c2 td { background: #edf6e9; } | ||
.row-title.trans td { background: #fde9e9; } | |||
.row-title.c1 td { | .row-title.c3 td { background: #f4e8ef; } | ||
.row-title.c4 td { background: #eeeaf6; } | |||
} | .row-title.expand td { background: #e6f2f4; } | ||
.row-title.c2 td { | |||
} | |||
.row-title.trans td { | |||
} | |||
.row-title.c3 td { | |||
} | |||
.row-title.c4 td { | |||
} | |||
.row-title.expand td { | |||
} | |||
/* ========================= | /* ========================= | ||
| Linha 332: | Linha 259: | ||
@media screen and (max-width: 900px) { | @media screen and (max-width: 900px) { | ||
table.classes-table { | table.classes-table { | ||
font-size: 12px; | font-size: 12px; | ||
} | |||
.classes-table td { | |||
padding: 6px 4px; | |||
} | } | ||
Edição das 01h39min de 13 de janeiro de 2026
/* =====================================
EVERLIGHT WIKI - COMMON.CSS (FINAL)
===================================== */
/* =========================
BASE
========================= */
body {
font-family: "Segoe UI", Arial, sans-serif;
background-color: #ffffff;
}
.mw-body {
max-width: 100% !important;
}
/* =========================
CONTAINER PADRÃO
========================= */
.everlight-container {
max-width: 1200px;
margin: 0 auto;
padding: 10px;
}
/* =========================
BARRA SUPERIOR
========================= */
.everlight-top-links {
text-align: center;
font-size: 14px;
margin-bottom: 15px;
}
.everlight-top-links a {
color: #2a4bd7;
text-decoration: none;
margin: 0 6px;
}
.everlight-top-links a:hover {
text-decoration: underline;
}
/* =========================
BANNER
========================= */
.everlight-banner {
height: 220px;
background: #9b1c1c;
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
color: #ffffff;
font-size: 32px;
font-weight: bold;
margin-bottom: 20px;
}
/* =========================
BOTÃO EVENTO
========================= */
.everlight-event-button {
text-align: center;
margin-bottom: 25px;
}
.everlight-event-button a {
background: #c62828;
color: #fff;
padding: 12px 30px;
border-radius: 8px;
font-size: 20px;
text-decoration: none;
}
.everlight-event-button a:hover {
background: #a11f1f;
}
/* =====================================================
CARDS – PÁGINA PRINCIPAL (CORRIGIDO)
===================================================== */
.everlight-home-cards {
display: flex;
flex-wrap: wrap;
gap: 20px;
justify-content: center;
}
.everlight-home-card {
width: 300px;
border-radius: 8px;
overflow: hidden;
background: #ffffff;
text-align: center;
transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.everlight-home-card:hover {
transform: translateY(-6px);
box-shadow: 0 10px 24px rgba(0,0,0,0.35);
}
/* Área da imagem (blindada contra bug MediaWiki) */
.everlight-home-card .img {
width: 100%;
height: 180px;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
background: transparent;
}
.everlight-home-card .img img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
/* Título */
.everlight-home-card a {
display: block;
padding: 10px 0;
color: #0000FF;
font-weight: bold;
text-decoration: none;
}
.everlight-home-card a:hover {
text-decoration: underline;
}
/* =====================================================
GUIAS
===================================================== */
.everlight-guides-wrapper {
margin-top: 30px;
}
.everlight-guides-title {
text-align: center;
font-size: 22px;
font-weight: bold;
margin-bottom: 15px;
border-top: 1px solid #ccc;
border-bottom: 1px solid #ccc;
padding: 6px 0;
}
.everlight-guides-grid {
display: grid;
grid-template-columns: repeat(5, 1fr);
gap: 10px 25px;
}
.guide-item {
display: flex;
align-items: center;
font-size: 14px;
padding: 4px 6px;
border-radius: 6px;
transition: background 0.2s ease;
}
.guide-item:hover {
background: #f2f2f2;
}
.guide-icon {
width: 26px;
height: 26px;
background: #cfcfcf;
border-radius: 4px;
margin-right: 8px;
}
.guide-item a {
color: #0033cc;
text-decoration: none;
}
.guide-item a:hover {
text-decoration: underline;
}
/* =====================================================
TABELA DE CLASSES – PADRÃO HISTORY
===================================================== */
table.classes-table {
width: 100%;
margin: 20px auto;
text-align: center;
background: #ffffff;
font-size: 14px;
border-collapse: separate;
border-spacing: 0;
box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.classes-table td {
border: 1px solid #cfcfcf;
padding: 12px 6px;
vertical-align: top;
background: #ffffff;
}
/* Células de classe */
.class-cell {
transition: background 0.2s ease, box-shadow 0.2s ease;
}
.class-cell:hover {
background: #f7f9fc;
box-shadow: inset 0 0 0 1px #b7c7e6;
}
.class-cell b {
display: block;
font-size: 13px;
margin-bottom: 6px;
color: #1f1f1f;
}
.class-cell img {
vertical-align: middle;
margin: 2px;
}
/* ================= TÍTULOS DAS LINHAS ================= */
.row-title td {
font-weight: bold;
text-transform: uppercase;
letter-spacing: 0.5px;
font-size: 13px;
padding: 8px;
border: 1px solid #bfbfbf;
}
/* Cores estilo History */
.row-title.initial td { background: #eef3ff; }
.row-title.c1 td { background: #fff4d6; }
.row-title.c2 td { background: #edf6e9; }
.row-title.trans td { background: #fde9e9; }
.row-title.c3 td { background: #f4e8ef; }
.row-title.c4 td { background: #eeeaf6; }
.row-title.expand td { background: #e6f2f4; }
/* =========================
RESPONSIVO – EverLight
========================= */
@media screen and (max-width: 900px) {
table.classes-table {
font-size: 12px;
}
.classes-table td {
padding: 6px 4px;
}
.class-cell img {
width: 48px;
}
.row-title td {
font-size: 12px;
}
}