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 1: Linha 1:
/* =====================================
/* =====================================
   EVERLIGHT WIKI - COMMON.CSS
   EVERLIGHT WIKI - COMMON.CSS (LIMPO)
   ===================================== */
   ===================================== */


/* Fonte e fundo padrão */
/* =========================
  BASE
  ========================= */
body {
body {
     font-family: "Segoe UI", Arial, sans-serif;
     font-family: "Segoe UI", Arial, sans-serif;
Linha 9: Linha 11:
}
}


/* Remove largura quebrada padrão */
.mw-body {
.mw-body {
     max-width: 100% !important;
     max-width: 100% !important;
}
}


/* Container principal da Página Principal */
/* =========================
  CONTAINER PADRÃO
  ========================= */
.everlight-container {
.everlight-container {
     max-width: 1200px;
     max-width: 1200px;
Linha 22: Linha 25:


/* =========================
/* =========================
   BARRA SUPERIOR DE LINKS
   BARRA SUPERIOR
   ========================= */
   ========================= */
.everlight-top-links {
.everlight-top-links {
Linha 41: Linha 44:


/* =========================
/* =========================
   BANNER PRINCIPAL
   BANNER
   ========================= */
   ========================= */
.everlight-banner {
.everlight-banner {
Linha 57: Linha 60:


/* =========================
/* =========================
   BOTÃO DE EVENTO
   BOTÃO EVENTO
   ========================= */
   ========================= */
.everlight-event-button {
.everlight-event-button {
Linha 77: Linha 80:
}
}


/* =========================
/* =====================================================
  CARDS PRINCIPAIS
   CARDS – APENAS PARA PÁGINA PRINCIPAL
  ========================= */
   ===================================================== */
.everlight-cards {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    margin-bottom: 30px;
}
 
.everlight-card {
    border: 1px solid #ccc;
    background: #f8f8f8;
    text-align: center;
    padding: 10px;
}
 
.everlight-card .img {
    height: 90px;
    background: #dcdcdc;
    margin-bottom: 10px;
}
 
.everlight-card a {
    text-decoration: none;
    color: #0033cc;
    font-weight: bold;
}
 
/* =========================
   TÍTULOS DE SEÇÃO
   ========================= */
.everlight-section-title {
    font-size: 22px;
    margin: 25px 0 15px;
    border-bottom: 2px solid #ccc;
}
 
/* =========================
  GUIAS
  ========================= */
.everlight-guides {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}


.everlight-guide {
.everlight-home-cards {
    display: flex;
    align-items: center;
    font-size: 14px;
}
 
.everlight-guide .icon {
    width: 28px;
    height: 28px;
    background: #ccc;
    margin-right: 8px;
}
 
/* =========================
  DESTAQUES
  ========================= */
.everlight-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
 
.everlight-highlight {
    border: 1px solid #ccc;
    background: #f5f5f5;
}
 
.everlight-highlight .img {
    height: 120px;
    background: #ddd;
}
 
.everlight-highlight .title {
    padding: 8px;
    text-align: center;
    font-weight: bold;
}
 
/* =========================
  ANIMAÇÕES - CARDS PRINCIPAIS
  ========================= */
 
.everlight-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}
 
.everlight-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
    background: #ffffff;
}
 
/* Imagem do card */
.everlight-card .img {
    transition: transform 0.25s ease;
}
 
.everlight-card:hover .img {
    transform: scale(1.05);
}
 
/* =========================
  CONTEÚDOS EXCLUSIVOS
  ========================= */
 
.everlight-exclusive-wrapper {
    margin-top: 30px;
}
 
.everlight-exclusive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}
 
.everlight-exclusive-item {
    border: 1px solid #cfcfcf;
    background: #f7f7f7;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
 
.everlight-exclusive-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.18);
}
 
.everlight-exclusive-img {
    height: 140px;
    background: #dcdcdc;
}
 
.everlight-exclusive-title {
    padding: 10px;
    font-weight: bold;
    text-align: center;
    background: #ffffff;
}
 
/* =========================
  EVERLIGHT – CARDS PRINCIPAIS
  Crop automático 300x180
========================= */
 
.everlight-cards {
     display: flex;
     display: flex;
     flex-wrap: wrap;
     flex-wrap: wrap;
Linha 235: Linha 91:
}
}


.everlight-card {
.everlight-home-card {
     width: 300px;
     width: 300px;
    background: transparent;
     border-radius: 8px;
     border-radius: 8px;
     overflow: hidden;
     overflow: hidden;
Linha 244: Linha 99:
}
}


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


/* Área da imagem */
.everlight-home-card .img {
.everlight-card .img {
     width: 100%;
     width: 100%;
     height: 180px;
     height: 180px;
     overflow: hidden;
     overflow: hidden;
    background: transparent;
     display: flex;
     display: flex;
     align-items: center;
     align-items: center;
Linha 260: Linha 113:
}
}


/* Imagem do MediaWiki */
.everlight-home-card .img img {
.everlight-card .img img {
     width: 100%;
     width: 100%;
     height: 100%;
     height: 100%;
Linha 267: Linha 119:
}
}


/* Título do card */
.everlight-home-card a {
.everlight-card a {
     display: block;
     display: block;
     padding: 10px 0;
     padding: 10px 0;
     color: #0000FF; /* azul correto */
     color: #0000FF;
     font-weight: bold;
     font-weight: bold;
     text-decoration: none;
     text-decoration: none;
}
}


/* Hover do título */
.everlight-home-card a:hover {
.everlight-card a:hover {
    color: #0000FF;
     text-decoration: underline;
     text-decoration: underline;
}
}


/* =========================
/* =====================================================
   GUIAS – LAYOUT Everlight
   GUIAS
   ========================= */
   ===================================================== */


.everlight-guides-wrapper {
.everlight-guides-wrapper {
Linha 310: Linha 159:
     align-items: center;
     align-items: center;
     font-size: 14px;
     font-size: 14px;
    padding: 4px 6px;
    border-radius: 6px;
    transition: background 0.2s ease;
}
}


.guide-item a {
.guide-item:hover {
    color: #0033cc;
     background: #f2f2f2;
    text-decoration: none;
    font-weight: normal;
}
 
.guide-item a:hover {
     text-decoration: underline;
}
}


/* BLOCO CINZA (PLACEHOLDER DE ÍCONE) */
.guide-icon {
.guide-icon {
     width: 26px;
     width: 26px;
Linha 329: Linha 174:
     border-radius: 4px;
     border-radius: 4px;
     margin-right: 8px;
     margin-right: 8px;
    flex-shrink: 0;
}
/* =========================
  GUIAS – HOVER EverLight
  ========================= */
.guide-item {
    padding: 4px 6px;
    border-radius: 6px;
    transition: background 0.2s ease;
}
.guide-item:hover {
    background: #f2f2f2;
}
.guide-icon {
    transition: transform 0.2s ease, background 0.2s ease;
}
.guide-item:hover .guide-icon {
    background: #b5b5b5;
    transform: translateY(-2px);
}
}


.guide-item a {
.guide-item a {
     transition: color 0.2s ease;
     color: #0033cc;
    text-decoration: none;
}
}


.guide-item:hover a {
.guide-item a:hover {
     color: #001a99;
     text-decoration: underline;
}
}


/* =========================
/* =====================================================
   EVERLIGHT CONTEÚDOS EXCLUSIVOS
   TABELA DE CLASSES PADRÃO HISTORY
   ========================= */
   ===================================================== */


.everlight-exclusive-item {
table.classes-table {
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
 
.everlight-exclusive-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 26px rgba(0,0,0,0.25);
}
 
/* Overlay escuro */
.everlight-exclusive-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    transition: background 0.3s ease;
    z-index: 1;
}
 
.everlight-exclusive-item:hover::after {
    background: rgba(0,0,0,0.35);
}
 
/* Imagem */
.everlight-exclusive-img {
    overflow: hidden;
}
 
.everlight-exclusive-img img {
     width: 100%;
     width: 100%;
     height: 100%;
     border-collapse: collapse;
     object-fit: cover;
    margin: 20px auto;
     transition: transform 0.35s ease;
     text-align: center;
     background: #ffffff;
    font-size: 14px;
}
}


.everlight-exclusive-item:hover .everlight-exclusive-img img {
.classes-table td {
     transform: scale(1.1);
    border: 1px solid #bfbfbf;
    padding: 10px 6px;
     vertical-align: top;
}
}


/* Título */
.class-cell {
.everlight-exclusive-title {
    position: relative;
    z-index: 2;
     background: #ffffff;
     background: #ffffff;
    color: #0033cc;
    transition: color 0.3s ease, background 0.3s ease;
}
}


.everlight-exclusive-item:hover .everlight-exclusive-title {
.class-cell img {
     background: #f5f5f5;
     margin: 4px 2px;
    color: #001a99;
}
}


.classes-table {
/* ================= TÍTULOS ================= */
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    font-size: 13px;
}


.classes-table td {
.row-title td {
     border: 1px solid #bcbcbc;
     font-weight: bold;
    font-size: 15px;
     padding: 8px;
     padding: 8px;
     vertical-align: top;
     border: 1px solid #bfbfbf;
}
}


.class-cell img {
/* Cores idênticas ao History */
     margin: 2px;
.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;
    }


.row-title td {
    .class-cell img {
    font-weight: bold;
        width: 48px;
     color: #000;
     }
    padding: 6px;
}
}
/* Cores iguais ao History */
.row-title.initial td { background: #f3e3c2; }
.row-title.c1 td { background: #cfd6dc; }
.row-title.c2 td { background: #bfe3f4; }
.row-title.trans td { background: #6fa3ef; color: #fff; }
.row-title.c3 td { background: #b56bf2; color: #fff; }
.row-title.c4 td { background: #e07a4f; color: #fff; }
.row-title.expand td { background: #efe48b; }

Edição das 01h16min 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;
    }
}