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 2: | Linha 2: | ||
EVERLIGHT WIKI - COMMON.CSS (FINAL) | EVERLIGHT WIKI - COMMON.CSS (FINAL) | ||
===================================== */ | ===================================== */ | ||
/* ========================= | |||
RESET MEDIAWIKI | |||
========================= */ | |||
.everlight-container ul, | |||
.everlight-container li { | |||
margin: 0; | |||
padding: 0; | |||
list-style: none; | |||
} | |||
/* ========================= | /* ========================= | ||
| Linha 71: | Linha 81: | ||
color: #fff; | color: #fff; | ||
padding: 12px 30px; | padding: 12px 30px; | ||
border-radius: | border-radius: 40px; | ||
font-size: 20px; | font-size: 20px; | ||
text-decoration: none; | text-decoration: none; | ||
display: inline-block; | |||
} | } | ||
| Linha 81: | Linha 92: | ||
/* ===================================================== | /* ===================================================== | ||
CARDS – PÁGINA PRINCIPAL ( | CARDS – PÁGINA PRINCIPAL (PADRÃO HISTORY) | ||
===================================================== */ | ===================================================== */ | ||
| Linha 87: | Linha 98: | ||
display: flex; | display: flex; | ||
flex-wrap: wrap; | flex-wrap: wrap; | ||
gap: | gap: 25px; | ||
justify-content: center; | justify-content: center; | ||
margin-bottom: 40px; | |||
} | } | ||
.everlight-home-card { | .everlight-home-card { | ||
width: 300px; | width: 300px; | ||
border-radius: | border-radius: 18px; | ||
overflow: hidden; | overflow: hidden; | ||
background: #ffffff; | background: #ffffff; | ||
text-align: center; | text-align: center; | ||
transition: transform 0.25s ease, box-shadow 0.25s ease; | transition: transform 0.25s ease, box-shadow 0.25s ease; | ||
box-shadow: 0 6px 14px rgba(0,0,0,0.15); | |||
} | } | ||
| Linha 105: | Linha 118: | ||
} | } | ||
/* Área da imagem | /* Área da imagem */ | ||
.everlight-home-card .img { | .everlight-home-card .img { | ||
width: 100%; | width: 100%; | ||
height: 180px; | height: 180px; | ||
overflow: hidden; | overflow: hidden; | ||
} | } | ||
| Linha 126: | Linha 135: | ||
.everlight-home-card a { | .everlight-home-card a { | ||
display: block; | display: block; | ||
padding: | padding: 12px 0; | ||
color: #0000FF; | color: #0000FF; | ||
font-weight: bold; | font-weight: bold; | ||
| Linha 137: | Linha 146: | ||
/* ===================================================== | /* ===================================================== | ||
GUIAS | GUIAS – IGUAL HISTORY | ||
===================================================== */ | ===================================================== */ | ||
| Linha 155: | Linha 164: | ||
.everlight-guides-grid { | .everlight-guides-grid { | ||
background: #ffffff; | |||
border-radius: 16px; | |||
box-shadow: 0 5px 12px rgba(0,0,0,0.12); | |||
padding: 25px 30px; | |||
display: grid; | display: grid; | ||
grid-template-columns: repeat(5, 1fr); | grid-template-columns: repeat(5, 1fr); | ||
| Linha 209: | Linha 222: | ||
padding: 12px 6px; | padding: 12px 6px; | ||
vertical-align: top; | vertical-align: top; | ||
} | } | ||
/* Células | /* Células */ | ||
.class-cell { | .class-cell { | ||
transition: background 0.2s ease, box-shadow 0.2s ease; | transition: background 0.2s ease, box-shadow 0.2s ease; | ||
| Linha 226: | Linha 238: | ||
font-size: 13px; | font-size: 13px; | ||
margin-bottom: 6px; | margin-bottom: 6px; | ||
} | } | ||
.class-cell img { | .class-cell img { | ||
margin: 2px; | margin: 2px; | ||
} | } | ||
/* | /* Títulos */ | ||
.row-title td { | .row-title td { | ||
font-weight: bold; | font-weight: bold; | ||
text-transform: uppercase; | text-transform: uppercase; | ||
font-size: 13px; | font-size: 13px; | ||
padding: 8px; | padding: 8px; | ||
} | } | ||
/* Cores | /* Cores History */ | ||
.row-title.initial td { background: #eef3ff; } | .row-title.initial td { background: #eef3ff; } | ||
.row-title.c1 td { background: #fff4d6; } | .row-title.c1 td { background: #fff4d6; } | ||
| Linha 255: | Linha 262: | ||
/* ========================= | /* ========================= | ||
RESPONSIVO | RESPONSIVO | ||
========================= */ | ========================= */ | ||
@media screen and (max-width: 900px) { | |||
.everlight-home-card { | |||
width: 100%; | |||
} | |||
.everlight-guides-grid { | |||
grid-template-columns: repeat(2, 1fr); | |||
} | |||
table.classes-table { | table.classes-table { | ||
| Linha 270: | Linha 284: | ||
.class-cell img { | .class-cell img { | ||
width: 48px; | width: 48px; | ||
} | } | ||
} | } | ||
Edição das 02h14min de 13 de janeiro de 2026
/* =====================================
EVERLIGHT WIKI - COMMON.CSS (FINAL)
===================================== */
/* =========================
RESET MEDIAWIKI
========================= */
.everlight-container ul,
.everlight-container li {
margin: 0;
padding: 0;
list-style: none;
}
/* =========================
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: 40px;
font-size: 20px;
text-decoration: none;
display: inline-block;
}
.everlight-event-button a:hover {
background: #a11f1f;
}
/* =====================================================
CARDS – PÁGINA PRINCIPAL (PADRÃO HISTORY)
===================================================== */
.everlight-home-cards {
display: flex;
flex-wrap: wrap;
gap: 25px;
justify-content: center;
margin-bottom: 40px;
}
.everlight-home-card {
width: 300px;
border-radius: 18px;
overflow: hidden;
background: #ffffff;
text-align: center;
transition: transform 0.25s ease, box-shadow 0.25s ease;
box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}
.everlight-home-card:hover {
transform: translateY(-6px);
box-shadow: 0 10px 24px rgba(0,0,0,0.35);
}
/* Área da imagem */
.everlight-home-card .img {
width: 100%;
height: 180px;
overflow: hidden;
}
.everlight-home-card .img img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
/* Título */
.everlight-home-card a {
display: block;
padding: 12px 0;
color: #0000FF;
font-weight: bold;
text-decoration: none;
}
.everlight-home-card a:hover {
text-decoration: underline;
}
/* =====================================================
GUIAS – IGUAL HISTORY
===================================================== */
.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 {
background: #ffffff;
border-radius: 16px;
box-shadow: 0 5px 12px rgba(0,0,0,0.12);
padding: 25px 30px;
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;
}
/* Células */
.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;
}
.class-cell img {
margin: 2px;
}
/* Títulos */
.row-title td {
font-weight: bold;
text-transform: uppercase;
font-size: 13px;
padding: 8px;
}
/* Cores 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
========================= */
@media screen and (max-width: 900px) {
.everlight-home-card {
width: 100%;
}
.everlight-guides-grid {
grid-template-columns: repeat(2, 1fr);
}
table.classes-table {
font-size: 12px;
}
.classes-table td {
padding: 6px 4px;
}
.class-cell img {
width: 48px;
}
}