MediaWiki:Common.css
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
===================================== */
/* 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;
}
/* =========================
EVERLIGHT – CARDS PRINCIPAIS
Crop automático 300x180
========================= */
.everlight-cards {
display: flex;
flex-wrap: wrap;
gap: 20px;
justify-content: center;
}
.everlight-card {
width: 300px;
background: transparent;
border-radius: 8px;
overflow: hidden;
text-align: center;
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.everlight-card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 20px rgba(0,0,0,0.6);
}
/* Área da imagem */
.everlight-card .img {
width: 100%;
height: 180px;
overflow: hidden;
background: transparent;
display: flex;
align-items: center;
justify-content: center;
}
/* Imagem do MediaWiki */
.everlight-card .img img {
width: 100%;
height: 100%;
object-fit: cover;
}
/* Título do card */
.everlight-card a {
display: block;
padding: 10px 0;
color: #0000FF;
font-weight: bold;
text-decoration: none;
}
.everlight-card a:hover {
color: transparent;
}