MediaWiki:Common.css: mudanças entre as edições
Ir para navegação
Ir para pesquisar
Sem resumo de edição |
Sem resumo de edição |
||
| Linha 1 704: | Linha 1 704: | ||
} | } | ||
/* ============================= */ | /* ============================= */ | ||
/* | /* aRVORE DE CLASSE */ | ||
/* ============================= */ | /* ============================= */ | ||
<style> | <style> | ||
| Linha 1 726: | Linha 1 726: | ||
/* CARROSEL INFOBOX CLASSES */ | /* CARROSEL INFOBOX CLASSES */ | ||
/* ============================= */ | /* ============================= */ | ||
/* | /* Container principal que esconde o que está fora */ | ||
.carrossel-everlight { | |||
0 | width: 200px; | ||
height: 300px; /* Ajuste para a altura das suas imagens */ | |||
margin: 0 auto; | |||
overflow: hidden; | |||
position: relative; | |||
border: 1px solid #ddd; | |||
border-radius: 8px; | |||
background: #f9f9f9; | |||
} | |||
/* O trilho que carrega as imagens lado a lado */ | |||
.carrossel-slider { | |||
display: flex; | |||
width: 400px; /* 200px da primeira + 200px da segunda */ | |||
height: 100%; | |||
animation: animaCarrossel 10s infinite ease-in-out; | |||
} | } | ||
/* | /* Cada bloco de imagem ocupa exatamente 200px */ | ||
.carrossel- | .carrossel-item { | ||
width: 200px; | width: 200px; | ||
flex-shrink: 0; | |||
display: flex; | |||
justify-content: center; | |||
align-items: center; | |||
} | } | ||
/* Animação: Fica parado, desliza, fica parado, volta */ | |||
@keyframes animaCarrossel { | |||
0%, 45% { transform: translateX(0); } /* Imagem 1 visível */ | |||
50%, 95% { transform: translateX(-200px); } /* Desliza e mostra Imagem 2 */ | |||
100% { transform: translateX(0); } /* Volta para a Imagem 1 */ | |||
} | } | ||
/* ============================= */ | /* ============================= */ | ||
/* CARD CONTEUDOS EXCLUSIVO */ | /* CARD CONTEUDOS EXCLUSIVO */ | ||
/* ============================= */ | /* ============================= */ | ||
Edição das 15h03min de 18 de janeiro de 2026
/* =====================================
EVERLIGHT WIKI - COMMON.CSS
===================================== */
/* SidebarLogo*/
.sidebar-logo img {
max-width: 100px;
height: auto;
display: block;
margin: 0 auto;
}
/* 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% ;
}
/* 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;
font-size: 20px;
text-decoration: none;
}
.everlight-event-button a:hover {
background: #a11f1f;
}
/* =========================
CARDS PRINCIPAIS
========================= */
/* =====================================
IMAGENS SIMPLES COM HOVER (SEM GRID)
===================================== */
.hover-images {
display: flex;
flex-wrap: wrap;
gap: 16px;
justify-content: center;
align-items: center;
margin: 20px 0;
}
/* Remove qualquer estilo padrão do MediaWiki */
.hover-images .thumb,
.hover-images .image {
background: none ;
border: none ;
box-shadow: none ;
margin: 0 ;
padding: 0 ;
}
/* Imagens */
.hover-images img {
display: block;
transition: transform 0.3s ease, box-shadow 0.3s ease;
border-radius: 6px;
}
/* Efeito ao passar o mouse */
.hover-images img:hover {
transform: translateY(-6px) scale(1.03);
box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
}
/* EFEITO AO PASSAR O MOUSE */
.everlight-hover-gallery img:hover {
transform: scale(1.08) translateY(-6px);
box-shadow: 0 10px 22px rgba(0,0,0,0.25);
cursor: pointer;
}
/* =========================
TÍTULOS DE SEÇÃO
========================= */
.everlight-section-title {
font-size: 22px;
margin: 25px 0 15px;
border-bottom: 2px solid #ccc;
}
/* =========================
GUIAS
========================= */
.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 .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 - WIKI EVERLIGHT */
/* ================================================= */
/* RESET E CONTAINER */
.everlight-classes-system {
max-width: 1000px;
margin: 20px auto;
padding: 0 15px;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}
/* TÍTULO DA PÁGINA */
.everlight-page-title {
text-align: center;
margin-bottom: 40px;
padding-bottom: 20px;
border-bottom: 2px solid #e0e0e0;
}
.everlight-page-title h1 {
color: #2c3e50;
font-size: 32px;
margin-bottom: 15px;
font-weight: 700;
}
.everlight-page-title p {
color: #666;
font-size: 16px;
line-height: 1.6;
max-width: 800px;
margin: 0 auto;
}
/* GRADE PRINCIPAL (3 COLUNAS EXATAS) */
.everlight-main-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 25px;
margin-bottom: 40px;
}
@media (max-width: 900px) {
.everlight-main-grid {
grid-template-columns: repeat(2, 1fr);
}
}
@media (max-width: 600px) {
.everlight-main-grid {
grid-template-columns: 1fr;
}
}
/* CARD DA CLASSE (ESTILO EXATO DO SITE) */
.everlight-class-card {
background: white;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 4px 12px rgba(0,0,0,0.08);
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
cursor: pointer;
border: 2px solid transparent;
position: relative;
}
.everlight-class-card:hover {
transform: translateY(-8px);
box-shadow: 0 12px 24px rgba(0,0,0,0.15);
border-color: #3498db;
}
.everlight-class-card.active {
border-color: #2980b9;
background: #f8fafc;
}
.everlight-class-image {
height: 220px;
background: linear-gradient(135deg, #f5f7fa 0%, #e4e7eb 100%);
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
padding: 20px;
overflow: hidden;
}
/* IMAGENS COM EFEITO HOVER */
.everlight-img-hover {
transition: all 0.4s ease;
filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
max-height: 180px;
object-fit: contain;
}
.everlight-class-card:hover .everlight-img-hover {
transform: scale(1.08);
filter: drop-shadow(0 8px 16px rgba(0,0,0,0.2));
}
/* NOME DA CLASSE */
.everlight-class-name {
padding: 20px;
text-align: center;
background: white;
border-top: 1px solid #f1f1f1;
}
.everlight-class-title {
display: block;
color: #2c3e50;
font-size: 20px;
font-weight: 700;
margin-bottom: 5px;
}
.everlight-class-subtitle {
display: block;
color: #7f8c8d;
font-size: 14px;
font-weight: 500;
text-transform: uppercase;
letter-spacing: 1px;
}
/* ================================================= */
/* ÁREA DE EXPANSÃO (ABRE AO CLICAR) */
/* ================================================= */
.everlight-expansion-area {
display: none;
background: white;
border-radius: 12px;
margin: 20px 0 40px;
box-shadow: 0 6px 20px rgba(0,0,0,0.1);
border: 1px solid #e0e0e0;
animation: everlightSlideDown 0.4s ease-out;
}
.everlight-expansion-area.active {
display: block;
}
@keyframes everlightSlideDown {
from {
opacity: 0;
transform: translateY(-15px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.everlight-expansion-content {
padding: 30px;
}
.everlight-expansion-title {
color: #2c3e50;
font-size: 28px;
margin-bottom: 15px;
padding-bottom: 15px;
border-bottom: 2px solid #3498db;
font-weight: 700;
}
.everlight-expansion-description {
color: #555;
font-size: 16px;
line-height: 1.7;
margin-bottom: 30px;
padding-bottom: 20px;
border-bottom: 1px solid #eee;
}
/* ================================================= */
/* GRADE DE SUB-CLASSES (DENTRO DA EXPANSÃO) */
/* ================================================= */
.everlight-subclasses-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
gap: 25px;
margin-top: 20px;
}
.everlight-subclass-card {
background: #f8fafc;
border-radius: 10px;
padding: 20px;
transition: all 0.3s ease;
border: 1px solid #e2e8f0;
display: flex;
align-items: center;
gap: 20px;
}
.everlight-subclass-card:hover {
background: white;
border-color: #3498db;
box-shadow: 0 6px 12px rgba(52, 152, 219, 0.15);
transform: translateY(-3px);
}
.everlight-subclass-image {
flex-shrink: 0;
}
.everlight-subclass-img {
width: 100px;
height: 100px;
object-fit: contain;
transition: transform 0.3s ease;
filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}
.everlight-subclass-card:hover .everlight-subclass-img {
transform: scale(1.1);
}
.everlight-subclass-info {
flex-grow: 1;
}
.everlight-subclass-info h3 {
margin: 0 0 8px 0;
font-size: 18px;
font-weight: 700;
}
.everlight-subclass-info h3 a {
color: #2c3e50;
text-decoration: none;
transition: color 0.2s;
}
.everlight-subclass-info h3 a:hover {
color: #3498db;
}
.everlight-subclass-info p {
color: #666;
font-size: 14px;
line-height: 1.5;
margin: 0;
}
/* ================================================= */
/* ANIMAÇÕES EXTRAS E MELHORIAS */
/* ================================================= */
/* EFEITO DE CARREGAMENTO PARA AS IMAGENS */
.everlight-class-image {
position: relative;
}
.everlight-class-image::after {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
animation: loadingShimmer 1.5s infinite;
pointer-events: none;
}
@keyframes loadingShimmer {
0% { transform: translateX(-100%); }
100% { transform: translateX(100%); }
}
/* SETA INDICADORA NO CARD ATIVO */
.everlight-class-card.active::after {
content: '▼';
position: absolute;
bottom: -15px;
left: 50%;
transform: translateX(-50%);
color: #2980b9;
font-size: 20px;
animation: bounce 0.5s infinite alternate;
}
@keyframes bounce {
from { transform: translateX(-50%) translateY(0); }
to { transform: translateX(-50%) translateY(5px); }
}
/* BOTÃO DE FECHAR (OPCIONAL) */
.everlight-close-btn {
position: absolute;
top: 15px;
right: 15px;
background: #e74c3c;
color: white;
border: none;
width: 32px;
height: 32px;
border-radius: 50%;
font-size: 18px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: background 0.2s;
z-index: 10;
}
.everlight-close-btn:hover {
background: #c0392b;
}
/* ================================================= */
/* RESPONSIVIDADE ADICIONAL */
/* ================================================= */
/* TABLETS MENORES */
@media (max-width: 768px) {
.everlight-class-image {
height: 180px;
padding: 15px;
}
.everlight-img-hover {
max-height: 150px;
}
.everlight-expansion-content {
padding: 20px;
}
.everlight-subclass-card {
flex-direction: column;
text-align: center;
gap: 15px;
}
}
/* CELULARES */
@media (max-width: 480px) {
.everlight-classes-system {
padding: 0 10px;
}
.everlight-page-title h1 {
font-size: 24px;
}
.everlight-page-title p {
font-size: 14px;
}
.everlight-main-grid {
gap: 15px;
}
.everlight-class-image {
height: 150px;
}
.everlight-img-hover {
max-height: 120px;
}
.everlight-class-name {
padding: 15px;
}
.everlight-class-title {
font-size: 18px;
}
.everlight-subclasses-grid {
grid-template-columns: 1fr;
}
}
/* DARK MODE SUPPORT (OPCIONAL) */
@media (prefers-color-scheme: dark) {
.everlight-classes-system {
background: transparent;
}
.everlight-class-card,
.everlight-expansion-area,
.everlight-subclass-card {
background: #2d3748;
border-color: #4a5568;
}
.everlight-class-name,
.everlight-expansion-content {
background: #2d3748;
}
.everlight-class-title,
.everlight-expansion-title,
.everlight-subclass-info h3 a {
color: #e2e8f0;
}
.everlight-class-subtitle,
.everlight-expansion-description,
.everlight-subclass-info p {
color: #a0aec0;
}
.everlight-class-image {
background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
}
.everlight-subclass-card:hover {
background: #4a5568;
}
}
/* =========================
GRID DE CLASSES
========================= */
.classes-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
gap: 16px;
margin: 20px 0;
}
.class-item {
border: 1px solid #cfcfcf;
background: #f7f7f7;
padding: 15px 10px;
text-align: center;
transition: transform 0.25s ease, box-shadow 0.25s ease;
cursor: pointer;
}
.class-item:hover {
transform: translateY(-6px);
box-shadow: 0 8px 18px rgba(0,0,0,0.18);
background: #ffffff;
}
/* Imagens das classes */
.class-item img {
margin: 0 2px;
vertical-align: middle;
}
/* Nome da classe */
.class-item b,
.class-item strong {
display: block;
margin-top: 8px;
font-size: 14px;
}
/* =========================
LINKS EM TODO O CARD
========================= */
.class-link {
text-decoration: none;
color: inherit;
display: block;
}
.class-link:hover {
text-decoration: none;
color: inherit;
}
/* ===============================
ANIMAÇÃO E INTERAÇÃO – CLASSES
=============================== */
.class-item {
position: relative;
cursor: pointer;
transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.class-item:hover {
transform: translateY(-6px);
box-shadow: 0 8px 18px rgba(0,0,0,0.18);
background: #fdfdfd;
}
/* animação nas imagens */
.class-item img {
transition: transform 0.25s ease;
}
.class-item:hover img {
transform: scale(1.08);
}
/* remove underline e mantém o card inteiro clicável */
.class-item a {
text-decoration: none;
color: inherit;
display: block;
}
.class-item {
cursor: pointer;
transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.class-item:hover {
transform: translateY(-5px);
box-shadow: 0 8px 18px rgba(0,0,0,0.18);
}
/* ===============================
JOB PAGE – PADRÃO EVERLIGHT
=============================== */
.job-page {
max-width: 900px;
margin: 0 auto 40px;
font-size: 15px;
line-height: 1.6;
}
.job-header {
display: flex;
align-items: center;
gap: 20px;
padding: 20px;
background: #f6f7f9;
border: 1px solid #dcdcdc;
margin-bottom: 25px;
}
.job-title h1 {
margin: 0;
font-size: 28px;
}
.job-title p {
margin: 0;
color: #666;
font-weight: bold;
}
.job-section {
margin-bottom: 25px;
}
.job-section h2 {
font-size: 20px;
margin-bottom: 10px;
border-bottom: 2px solid #ccc;
padding-bottom: 4px;
}
.job-section h3 {
font-size: 16px;
margin-top: 15px;
}
.job-list {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 6px 20px;
margin: 10px 0;
}
.job-list li {
list-style: disc;
margin-left: 18px;
}
/* ===== TABELA DE ATRIBUTOS ===== */
.everlight-attr-table {
width: 100%;
border-collapse: collapse;
background: #ffffff;
margin: 20px 0 30px;
font-size: 14px;
}
.everlight-attr-table th {
background: #f2ea8c;
border: 1px solid #cfcfcf;
padding: 8px;
text-align: center;
}
.everlight-attr-table td {
border: 1px solid #cfcfcf;
padding: 8px;
text-align: center;
}
.everlight-attr-table tbody tr:hover {
background: #f9f9f9;
}
/* ===============================
PÁGINA DA CLASSE - APRENDIZ
=============================== */
.aprendiz-page {
max-width: 1200px;
margin: 20px auto;
padding: 10px;
}
.aprendiz-content {
display: flex;
gap: 20px;
}
/* TEXTO */
.aprendiz-text {
flex: 3;
background: #ffffff;
padding: 20px;
border: 1px solid #cfcfcf;
line-height: 1.7;
font-size: 14px;
}
.aprendiz-text h2 {
margin-top: 25px;
padding-bottom: 5px;
border-bottom: 2px solid #e0e0e0;
}
/* === Estilo da Página Aprendiz === */
.aprendiz-page {
max-width: 1200px;
margin: 25px auto;
padding: 10px;
}
.aprendiz-content {
display: flex;
gap: 24px;
}
.aprendiz-text {
flex: 3;
padding: 18px;
background: #fff;
border: 1px solid #cfcfcf;
font-size: 14px;
line-height: 1.6;
}
.aprendiz-infobox {
flex: 1;
background: #f9f9f9;
border: 1px solid #ccc;
font-size: 13px;
}
.infobox-title {
background: #e5e0a8;
padding: 8px;
font-weight: bold;
text-align: center;
font-size: 16px;
}
.infobox-table th, .infobox-table td {
padding: 6px;
text-align: left;
border-top: 1px solid #cfcfcf;
}
.infobox-images {
text-align: center;
padding: 10px;
}
/* INFOBOX */
.aprendiz-infobox {
flex: 1;
background: #f8f8f8;
border: 1px solid #cfcfcf;
font-size: 13px;
}
.infobox-title {
background: #f2ea8c;
text-align: center;
font-weight: bold;
padding: 8px;
font-size: 16px;
}
.infobox-images {
text-align: center;
padding: 10px;
}
.infobox-table {
width: 100%;
border-collapse: collapse;
}
.infobox-table th,
.infobox-table td {
border-top: 1px solid #cfcfcf;
padding: 6px;
text-align: left;
}
.infobox-table th {
background: #eeeeee;
width: 45%;
}
/* RESPONSIVO */
@media (max-width: 800px) {
.aprendiz-content {
flex-direction: column;
}
}
/* ============================= */
/* INFOBOX – APRENDIZES (CLONE) */
/* ============================= */
.aprendiz-infobox {
width: 300px;
background: #f2f2f2;
border: 1px solid #aaa;
font-size: 13px;
float: right;
margin: 0 0 20px 20px;
font-family: Arial, sans-serif;
}
.aprendiz-header {
background: #4a4a4a;
color: #fff;
padding: 6px;
text-align: center;
font-weight: bold;
display: flex;
justify-content: center;
align-items: center;
gap: 6px;
}
.aprendiz-main-image {
text-align: center;
padding: 10px;
background: #e6e6e6;
}
.aprendiz-section-title {
background: #4a4a4a;
color: #fff;
text-align: center;
font-weight: bold;
padding: 4px;
margin-top: 5px;
}
.aprendiz-section-title.dark {
background: #333;
}
.aprendiz-tabs {
display: flex;
gap: 10px;
padding: 6px;
font-size: 12px;
}
.aprendiz-tabs .tab {
color: #0645ad;
cursor: pointer;
}
.aprendiz-tabs .active {
font-weight: bold;
text-decoration: underline;
}
.aprendiz-sprites {
text-align: center;
padding: 6px;
}
.aprendiz-info-table {
width: 100%;
border-collapse: collapse;
}
.aprendiz-info-table th {
background: #f0f0f0;
border: 1px solid #ccc;
padding: 4px;
width: 40%;
text-align: left;
}
.aprendiz-info-table td {
border: 1px solid #ccc;
padding: 4px;
}
.aprendiz-info-table a {
color: #0645ad;
text-decoration: none;
}
.aprendiz-info-table a:hover {
text-decoration: underline;
}
/* Ajuste para ícones de armas na Infobox */
.aprendiz-weapons img {
margin: 2px;
padding: 2px;
border: 1px solid #ddd;
background: #fff;
border-radius: 4px;
width: 24px; /* Tamanho padrão de ícone de item */
height: 24px;
}
.aprendiz-bonus-table {
width: 100%;
border-collapse: collapse;
text-align: center;
}
.aprendiz-bonus-table th {
color: #0645ad;
font-weight: bold;
padding: 4px;
border: 1px solid #ccc;
}
.aprendiz-bonus-table td {
padding: 4px;
border: 1px solid #ccc;
}
/* ===== TABELA DE ATRIBUTOS ===== */
.everlight-attr-table {
width: 100%;
border-collapse: collapse;
background: #ffffff;
margin: 20px 0 30px;
font-size: 14px;
}
.everlight-attr-table th {
background: #f2ea8c;
border: 1px solid #cfcfcf;
padding: 8px;
text-align: center;
}
.everlight-attr-table td {
border: 1px solid #cfcfcf;
padding: 8px;
text-align: center;
}
.everlight-attr-table tbody tr:hover {
background: #f9f9f9;
}
/* ===== CARDS PRINCIPAIS ===== */
.everlight-cards {
display: flex;
gap: 14px;
justify-content: center;
flex-wrap: wrap;
}
/* Card */
.everlight-card {
width: 160px;
background: #ffffff;
border: 1px solid #cfd6dd;
text-align: center;
font-family: Arial, sans-serif;
padding-bottom: 8px;
}
/* Área da imagem */
.everlight-card-img {
width: 100%;
height: 100px;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
}
/* Imagem do MediaWiki */
.everlight-card-img img {
max-width: 100%;
max-height: 100%;
object-fit: contain; /* <<< ISSO É O SEGREDO */
}
/* Texto */
.everlight-card a {
display: block;
padding: 6px 4px;
font-weight: bold;
color: #0033cc;
text-decoration: none;
}
.everlight-card a:hover {
text-decoration: underline;
}
/* Remove borda de imagens com link */
.img-hover a img {
border: none ;
outline: none ;
box-shadow: none ;
}
/* Garante alinhamento correto */
.hover-images {
display: flex;
gap: 16px;
align-items: center;
}
.img-hover {
display: inline-block;
}
/* Efeito hover (imagem vem levemente para frente) */
.img-hover img {
transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.img-hover img:hover {
transform: translateY(-6px) scale(1.03);
box-shadow: 0 10px 20px rgba(0,0,0,0.25);
}
/* ============================= */
/* TESTE SCRIPTS - CLASSES inicio*/
/* ============================= */
/* =====================================
SLIDER HORIZONTAL – CONTEÚDOS EXCLUSIVOS
===================================== */
/* Garante que o container do carrossel seja a base para as setas */
.everlight-carousel {
position: relative;
display: flex;
align-items: center;
}
.nav-btn {
background: rgba(0,0,0,0.5);
color: white;
border-radius: 50%;
width: 40px;
height: 40px;
display: flex;
justify-content: center;
align-items: center;
transition: 0.3s;
}
.nav-btn:hover { background: #000; }
.exclusive-slider-wrapper {
position: relative;
width: 100%;
overflow: hidden;
margin: 20px 0;
}
/* Área rolável */
.exclusive-slider {
display: flex;
gap: 18px;
overflow-x: auto;
scroll-behavior: smooth;
padding: 10px 40px;
}
/* Remove barra de rolagem */
.exclusive-slider::-webkit-scrollbar {
display: none;
}
.exclusive-slider {
scrollbar-width: none;
}
/* Cada imagem */
.exclusive-slide {
flex: 0 0 auto;
}
/* Imagens */
.exclusive-slide img {
display: block;
border-radius: 6px;
transition: transform 0.25s ease, box-shadow 0.25s ease;
}
/* Hover – mantém seu padrão */
.exclusive-slide img:hover {
transform: translateY(-6px) scale(1.03);
box-shadow: 0 10px 22px rgba(0,0,0,0.25);
}
/* Setas */
.exclusive-arrow {
position: absolute;
top: 50%;
transform: translateY(-50%);
background: rgba(0,0,0,0.6);
color: #fff;
border: none;
width: 34px;
height: 60px;
cursor: pointer;
font-size: 28px;
z-index: 5;
}
.exclusive-arrow.left {
left: 0;
}
.exclusive-arrow.right {
right: 0;
}
.exclusive-arrow:hover {
background: rgba(0,0,0,0.85);
}
/* CONTAINER GERAL */
.everlight-carousel {
position: relative;
width: 100%;
overflow: hidden;
margin: 25px 0;
}
/* FAIXA DE IMAGENS */
.everlight-carousel-track {
display: flex;
gap: 20px;
overflow-x: auto;
scroll-behavior: smooth;
padding: 10px 40px;
}
/* remove barra feia */
.everlight-carousel-track::-webkit-scrollbar {
display: none;
}
/* IMAGENS */
.everlight-carousel-track img {
display: block;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
/* HOVER (vem para frente) */
.img-hover img:hover {
transform: translateY(-6px) scale(1.04);
box-shadow: 0 10px 22px rgba(0,0,0,0.25);
}
/* SETAS */
.carousel-btn {
position: absolute;
top: 50%;
transform: translateY(-50%);
background: rgba(0,0,0,0.6);
color: #fff;
border: none;
width: 36px;
height: 36px;
border-radius: 50%;
cursor: pointer;
z-index: 10;
}
.carousel-btn.left { left: 5px; }
.carousel-btn.right { right: 5px; }
.carousel-btn:hover {
background: rgba(0,0,0,0.85);
}
/* ============================= */
/* CARD CONTEUDOS EXCLUSIVO */
/* ============================= */
.everlight-carousel {
position: relative;
width: 100%;
overflow: hidden;
margin: 30px auto;
}
.carousel-wrapper {
display: flex;
gap: 20px;
overflow-x: hidden; /* Esconde a barra manual para o JS controlar */
scroll-behavior: smooth;
padding: 40px 0; /* Espaço para o item ativo crescer (scale) sem cortar */
white-space: nowrap;
}
.carousel-item {
flex: 0 0 auto; /* Impede as imagens de esmagarem */
transition: transform 0.4s ease, opacity 0.4s ease;
}
.carousel-item.active {
opacity: 1;
transform: scale(1.1);
}
.carousel-title {
margin-top: 8px;
font-weight: bold;
}
.nav-btn {
position: absolute;
top: 50%;
transform: translateY(-50%);
font-size: 30px;
cursor: pointer;
z-index: 10;
user-select: none;
padding: 10px;
}
.left-btn { left: 0; }
.right-btn { right: 0; }
/* ============================= */
/* HIDE */
/* ============================= */
/* Estilo das Seções de Classe */
.job-section {
margin-bottom: 15px;
border: 1px solid #ddd;
border-radius: 5px;
overflow: hidden;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
/* Estilo do Título (Aba) */
.job-section summary {
padding: 12px 15px;
cursor: pointer;
font-weight: bold;
list-style: none; /* Remove a setinha padrão em alguns browsers */
transition: background 0.3s;
outline: none;
}
.job-section summary:hover {
filter: brightness(0.95);
}
/* Cores por Categoria conforme sua imagem */
.human-job summary { background-color: #fdf2d9; } /* Bege */
.expanded-job summary { background-color: #eef2ad; } /* Amarelo */
.doram-job summary { background-color: #e9f5e9; } /* Verde */
/* Container Interno */
.job-content {
display: flex;
align-items: center;
justify-content: space-around;
background: #f9f9f9;
padding: 20px;
flex-wrap: wrap;
gap: 15px;
}
/* Estilo das Transclasses (Cores de destaque) */
.trans-name {
color: #2e7d32;
font-weight: bold;
}
/* ============================= */
/* aRVORE DE CLASSE */
/* ============================= */
<style>
.job-container { font-family: sans-serif; max-width: 900px; margin: 10px auto; }
.job-section { border: 1px solid #ddd; margin-bottom: 5px; border-radius: 4px; overflow: hidden; }
.job-section summary { padding: 10px 15px; cursor: pointer; font-weight: bold; background: #fdf2d9; color: #5a4a3a; list-style: none; outline: none; }
.job-section summary:hover { background: #f9e8bc; }
.job-section[open] summary { border-bottom: 1px solid #ddd; background: #f4e6c5; }
/* Cores Diferenciadas */
.expand-header summary { background: #eef2ad; color: #4a4a2a; }
.expand-header summary:hover { background: #e5eb8d; }
.content { display: flex; align-items: center; justify-content: center; background: #fff; padding: 20px; flex-wrap: wrap; gap: 15px; }
.evo-box { border: 1px dashed #bbb; padding: 12px; background: #fafafa; border-radius: 5px; display: flex; flex-direction: column; gap: 10px; }
.row { display: flex; align-items: center; gap: 10px; }
.trans { color: #2e7d32; font-weight: bold; }
.arrow { color: #888; font-weight: bold; }
</style>
/* ============================= */
/* CARROSEL INFOBOX CLASSES */
/* ============================= */
/* Container principal que esconde o que está fora */
.carrossel-everlight {
width: 200px;
height: 300px; /* Ajuste para a altura das suas imagens */
margin: 0 auto;
overflow: hidden;
position: relative;
border: 1px solid #ddd;
border-radius: 8px;
background: #f9f9f9;
}
/* O trilho que carrega as imagens lado a lado */
.carrossel-slider {
display: flex;
width: 400px; /* 200px da primeira + 200px da segunda */
height: 100%;
animation: animaCarrossel 10s infinite ease-in-out;
}
/* Cada bloco de imagem ocupa exatamente 200px */
.carrossel-item {
width: 200px;
flex-shrink: 0;
display: flex;
justify-content: center;
align-items: center;
}
/* Animação: Fica parado, desliza, fica parado, volta */
@keyframes animaCarrossel {
0%, 45% { transform: translateX(0); } /* Imagem 1 visível */
50%, 95% { transform: translateX(-200px); } /* Desliza e mostra Imagem 2 */
100% { transform: translateX(0); } /* Volta para a Imagem 1 */
}
/* ============================= */
/* CARD CONTEUDOS EXCLUSIVO */
/* ============================= */