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

De Farmland
Ir para navegação Ir para pesquisar
Sem resumo de edição
Sem resumo de edição
Linha 490: Linha 490:
     .classes-grid-4,
     .classes-grid-4,
     .classes-grid-2 { grid-template-columns: 1fr; }
     .classes-grid-2 { grid-template-columns: 1fr; }
}
/* =====================================
  SISTEMA DE CLASSES EXPANSÍVEL
  ===================================== */
/* Container principal */
.classes-system-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
/* Grade de classes principais */
.main-classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}
.class-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}
.class-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    border-color: #ffcc00;
}
.class-card.active {
    border-color: #1a237e;
    box-shadow: 0 0 0 3px rgba(26, 35, 126, 0.2);
}
.class-image {
    height: 200px;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.class-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.class-card:hover .class-image img {
    transform: scale(1.05);
}
.class-name {
    padding: 20px;
    text-align: center;
    background: white;
}
.class-name h3 {
    color: #1a237e;
    font-size: 20px;
    margin: 0;
}
.class-type {
    color: #666;
    font-size: 14px;
    font-style: italic;
    margin-top: 5px;
}
/* Área de expansão */
.expansion-area {
    display: none;
    background: white;
    border-radius: 10px;
    padding: 30px;
    margin: 20px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    animation: slideDown 0.3s ease;
}
.expansion-area.active {
    display: block;
}
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.expansion-title {
    color: #1a237e;
    font-size: 24px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ffcc00;
}
.expansion-description {
    margin-bottom: 30px;
    color: #555;
    line-height: 1.8;
}
/* Sub-classes */
.subclasses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.subclass-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}
.subclass-card:hover {
    background: #e3f2fd;
    border-color: #1a237e;
    transform: translateY(-5px);
}
.subclass-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    background: #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #1a237e;
}
.subclass-name {
    font-weight: bold;
    color: #1a237e;
    margin-bottom: 5px;
    font-size: 18px;
}
.subclass-desc {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}
.subclass-link {
    display: inline-block;
    background: #1a237e;
    color: white;
    padding: 8px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s;
}
.subclass-link:hover {
    background: #283593;
}
/* Responsividade */
@media (max-width: 768px) {
    .main-classes-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
   
    .subclasses-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}
}

Edição das 12h38min de 14 de janeiro de 2026

/* =====================================
   EVERLIGHT WIKI - COMMON.CSS
   ===================================== */

/* Fonte e fundo padrão */
body {
    font-family: "Segoe UI", Arial, sans-serif;
    background-color: #ffffff;
}

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

/* Container principal da Página Principal */
.everlight-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
}

/* =========================
   BARRA SUPERIOR DE LINKS
   ========================= */
.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 PRINCIPAL
   ========================= */
.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 DE 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 PRINCIPAIS
   ========================= */
.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 {
    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;
}

/* =========================
   GUIAS – HISTORY REBORN
   ========================= */

.hr-guides-wrapper {
    max-width: 1200px;
    margin: 25px auto;
    background: #ffffff;
}

.hr-guides-title {
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 1px;
    padding: 6px 0;
    margin-bottom: 10px;
    border-top: 1px solid #cfcfcf;
    border-bottom: 1px solid #cfcfcf;
}

.hr-guides-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    column-gap: 30px;
    row-gap: 6px;
    padding: 5px 10px 10px;
}

.hr-guide-item {
    display: flex;
    align-items: center;
    font-size: 13px;
    line-height: 1.6;
}

.hr-guide-item img {
    margin-right: 6px;
}

.hr-guide-item a {
    color: #0033cc;
    text-decoration: none;
}

.hr-guide-item a:hover {
    text-decoration: underline;
}

/* RESPONSIVO */
@media (max-width: 900px) {
    .hr-guides-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.everlight-card {
    width: 160px;
    background: #ffffff;
    border: 1px solid #cfd6dd;
    border-radius: 2px;
    overflow: hidden;
    text-align: center;
    font-family: Arial, sans-serif;
}

.everlight-img {
    width: 100%;
    height: 100px; /* ALTURA IGUAL AO PRINT */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.everlight-card a {
    display: block;
    padding: 8px 4px;
    font-weight: bold;
    color: #0033cc;
    text-decoration: none;
}

.everlight-card a:hover {
    text-decoration: underline;
}

/* ===== CLASSES TABLE ===== */
.classes-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    background: #fff;
}

.classes-table td {
    border: 1px solid #cfcfcf;
    padding: 10px;
    vertical-align: middle;
}

.class-name {
    color: #2a5db0;
    font-weight: bold;
}

/* ===== BARRAS DE TÍTULO ===== */
.row-title td {
    font-weight: bold;
    padding: 6px;
    border: 1px solid #bdbdbd;
}

.row-title.initial td {
    background: #fdecc8;
}

.row-title.c1 td {
    background: #f6ef99;
}

.row-title.c2 td {
    background: #f2ddc7;
}

.row-title.trans td {
    background: #dce8dc;
}

.row-title.expand td {
    background: #f6ef99;
}

.row-title.expand2 td {
    background: #f2ddc7;
}

/* ===============================
   LAYOUT DAS CLASSES – EVERLIGHT
   =============================== */

.classes-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    border-left: 1px solid #cfcfcf;
    border-top: 1px solid #cfcfcf;
    margin-bottom: 25px;
}

.class-item {
    text-align: center;
    padding: 15px 5px;
    border-right: 1px solid #cfcfcf;
    border-bottom: 1px solid #cfcfcf;
    background: #ffffff;
    font-size: 13px;
}

.class-item img {
    display: inline-block;
    margin: 0 2px;
}

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

h2 {
    margin: 0;
    padding: 6px;
    text-align: center;
    font-weight: bold;
}

/* Cores iguais à imagem */
h2:contains("Classe Inicial") {
    background: #f6e7c6;
}

h2:contains("Classe 1"),
h2:contains("Classes Expandidas – Classe 1") {
    background: #f2ea8c;
}

h2:contains("Classe 2"),
h2:contains("Classes Expandidas – Classe 2") {
    background: #efd7c4;
}

h2:contains("Classe Transcendental") {
    background: #dce6d8;
}

/* ===============================
   LAYOUT DAS CLASSES – EVERLIGHT
   =============================== */

/* Grid adaptável por quantidade */
.classes-grid {
    display: grid;
    gap: 0;
    border-left: 1px solid #cfcfcf;
    border-top: 1px solid #cfcfcf;
    margin-bottom: 25px;
    background: #ffffff;
}

/* Configurações por quantidade de itens */
.classes-grid-2 { grid-template-columns: repeat(2, 1fr); }
.classes-grid-4 { grid-template-columns: repeat(4, 1fr); }
.classes-grid-6 { grid-template-columns: repeat(6, 1fr); }
.classes-grid-10 { grid-template-columns: repeat(5, 1fr); }

/* Item de classe */
.class-item {
    text-align: center;
    padding: 20px 10px;
    border-right: 1px solid #cfcfcf;
    border-bottom: 1px solid #cfcfcf;
    background: #ffffff;
    font-size: 14px;
    line-height: 1.4;
}

.class-item img {
    display: inline-block;
    margin: 0 2px;
    vertical-align: middle;
    max-width: 100%;
    height: auto;
}

/* Classes para os títulos (substitui :contains) */
.classe-inicial-title { background: #f6e7c6; border: 1px solid #e0c99c; }
.classe-1-title { background: #f2ea8c; border: 1px solid #e0d87c; }
.classe-2-title { background: #efd7c4; border: 1px solid #dcc2a9; }
.classe-transcendental-title { background: #dce6d8; border: 1px solid #c5d4c1; }
.classe-expandida-title { background: #f2ea8c; border: 1px solid #e0d87c; }

/* Responsividade */
@media (max-width: 1200px) {
    .classes-grid-6 { grid-template-columns: repeat(4, 1fr); }
    .classes-grid-10 { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 900px) {
    .classes-grid-6 { grid-template-columns: repeat(3, 1fr); }
    .classes-grid-10 { grid-template-columns: repeat(3, 1fr); }
    .classes-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .classes-grid-6, 
    .classes-grid-10, 
    .classes-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 400px) {
    .classes-grid-6, 
    .classes-grid-10, 
    .classes-grid-4,
    .classes-grid-2 { grid-template-columns: 1fr; }
}

/* =====================================
   SISTEMA DE CLASSES EXPANSÍVEL
   ===================================== */

/* Container principal */
.classes-system-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Grade de classes principais */
.main-classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.class-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.class-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    border-color: #ffcc00;
}

.class-card.active {
    border-color: #1a237e;
    box-shadow: 0 0 0 3px rgba(26, 35, 126, 0.2);
}

.class-image {
    height: 200px;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.class-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.class-card:hover .class-image img {
    transform: scale(1.05);
}

.class-name {
    padding: 20px;
    text-align: center;
    background: white;
}

.class-name h3 {
    color: #1a237e;
    font-size: 20px;
    margin: 0;
}

.class-type {
    color: #666;
    font-size: 14px;
    font-style: italic;
    margin-top: 5px;
}

/* Área de expansão */
.expansion-area {
    display: none;
    background: white;
    border-radius: 10px;
    padding: 30px;
    margin: 20px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    animation: slideDown 0.3s ease;
}

.expansion-area.active {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.expansion-title {
    color: #1a237e;
    font-size: 24px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ffcc00;
}

.expansion-description {
    margin-bottom: 30px;
    color: #555;
    line-height: 1.8;
}

/* Sub-classes */
.subclasses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.subclass-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.subclass-card:hover {
    background: #e3f2fd;
    border-color: #1a237e;
    transform: translateY(-5px);
}

.subclass-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    background: #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #1a237e;
}

.subclass-name {
    font-weight: bold;
    color: #1a237e;
    margin-bottom: 5px;
    font-size: 18px;
}

.subclass-desc {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.subclass-link {
    display: inline-block;
    background: #1a237e;
    color: white;
    padding: 8px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s;
}

.subclass-link:hover {
    background: #283593;
}

/* Responsividade */
@media (max-width: 768px) {
    .main-classes-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .subclasses-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}