MediaWiki:Common.css

De Farmland
Revisão de 01h39min de 13 de janeiro de 2026 por Adm.mayuka (discussão | contribs)
Ir para navegação Ir para pesquisar

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)
   ===================================== */

/* =========================
   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;
    }
}