MediaWiki:Common.css
Nota: Após publicar, você pode ter que limpar o "cache" do seu navegador para ver as alterações.
- Firefox / Safari: Pressione Shift enquanto clica Recarregar, ou pressione Ctrl-F5 ou Ctrl-R (⌘-R no Mac)
- Google Chrome: Pressione Ctrl-Shift-R (⌘-Shift-R no Mac)
- Edge: Pressione Ctrl enquanto clica Recarregar, ou pressione Ctrl-F5.
- Opera: Pressione Ctrl-F5.
/* =====================================
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;
}
}