MediaWiki:Common.css: mudanças entre as edições

De Farmland
Ir para navegação Ir para pesquisar
Sem resumo de edição
Etiqueta: Revertido
Sem resumo de edição
Etiqueta: Revertido
Linha 240: Linha 240:
     .class-cell img {
     .class-cell img {
         width: 48px;
         width: 48px;
    }
}
/* =========================
  CLASSES – REFINAMENTO VISUAL (HISTORY STYLE)
  ========================= */
/* Tabela geral */
table.classes-table {
    border-collapse: separate;
    border-spacing: 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
/* Células */
.classes-table td {
    border: 1px solid #cfcfcf;
    background: #ffffff;
    padding: 12px 6px;
}
/* Células de classe */
.class-cell {
    transition: background 0.2s ease, box-shadow 0.2s ease;
}
/* Hover suave (History-like) */
.class-cell:hover {
    background: #f7f9fc;
    box-shadow: inset 0 0 0 1px #b7c7e6;
}
/* Nome da classe */
.class-cell b {
    display: block;
    font-size: 13px;
    margin-bottom: 6px;
    color: #1f1f1f;
}
/* Sprites */
.class-cell img {
    vertical-align: middle;
    margin: 2px;
}
/* =========================
  TÍTULOS DAS LINHAS
  ========================= */
.row-title td {
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 13px;
    border-left: 1px solid #bfbfbf;
    border-right: 1px solid #bfbfbf;
}
/* Ajuste fino de cores (mais próximas do 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;
    }
    .class-cell img {
        width: 48px;
    }
    .row-title td {
        font-size: 12px;
     }
     }
}
}

Edição das 01h17min de 13 de janeiro de 2026

/* =====================================
   EVERLIGHT WIKI - COMMON.CSS (LIMPO)
   ===================================== */

/* =========================
   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 – APENAS PARA PÁGINA PRINCIPAL
   ===================================================== */

.everlight-home-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.everlight-home-card {
    width: 300px;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.everlight-home-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.everlight-home-card .img {
    width: 100%;
    height: 180px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.everlight-home-card .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.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%;
    border-collapse: collapse;
    margin: 20px auto;
    text-align: center;
    background: #ffffff;
    font-size: 14px;
}

.classes-table td {
    border: 1px solid #bfbfbf;
    padding: 10px 6px;
    vertical-align: top;
}

.class-cell {
    background: #ffffff;
}

.class-cell img {
    margin: 4px 2px;
}

/* ================= TÍTULOS ================= */

.row-title td {
    font-weight: bold;
    font-size: 15px;
    padding: 8px;
    border: 1px solid #bfbfbf;
}

/* Cores idênticas ao History */
.row-title.initial td { background: #e9f0ff; }
.row-title.c1 td      { background: #fff2cc; }
.row-title.c2 td      { background: #e2f0d9; }
.row-title.trans td   { background: #f4cccc; }
.row-title.c3 td      { background: #ead1dc; }
.row-title.c4 td      { background: #d9d2e9; }
.row-title.expand td  { background: #d0e0e3; }

/* ================= RESPONSIVO ================= */

@media screen and (max-width: 900px) {
    .classes-table td {
        font-size: 12px;
        padding: 6px 4px;
    }

    .class-cell img {
        width: 48px;
    }
}

/* =========================
   CLASSES – REFINAMENTO VISUAL (HISTORY STYLE)
   ========================= */

/* Tabela geral */
table.classes-table {
    border-collapse: separate;
    border-spacing: 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* Células */
.classes-table td {
    border: 1px solid #cfcfcf;
    background: #ffffff;
    padding: 12px 6px;
}

/* Células de classe */
.class-cell {
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

/* Hover suave (History-like) */
.class-cell:hover {
    background: #f7f9fc;
    box-shadow: inset 0 0 0 1px #b7c7e6;
}

/* Nome da classe */
.class-cell b {
    display: block;
    font-size: 13px;
    margin-bottom: 6px;
    color: #1f1f1f;
}

/* Sprites */
.class-cell img {
    vertical-align: middle;
    margin: 2px;
}

/* =========================
   TÍTULOS DAS LINHAS
   ========================= */

.row-title td {
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 13px;
    border-left: 1px solid #bfbfbf;
    border-right: 1px solid #bfbfbf;
}

/* Ajuste fino de cores (mais próximas do 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;
    }

    .class-cell img {
        width: 48px;
    }

    .row-title td {
        font-size: 12px;
    }
}