Jump to content

MediaWiki:Common.css: Difference between revisions

No edit summary
Tag: Manual revert
No edit summary
Line 9: Line 9:
/* Footer Atronia Website */
/* Footer Atronia Website */


 
/* --- BLOCO DE SCROLL (TECH THAT MAKES SENSE) --- */
/* --- ESTILOS APENAS PARA O SCROLLING TEXT --- */
.atronia-scrolling-container {
.atronia-scrolling-container {
     background-color: #121e1c;
     background-color: #121e1c !important;
     overflow: hidden;
     overflow: hidden;
     white-space: nowrap;
     white-space: nowrap;
     padding: 25px 0;
     padding: 25px 0;
     border-top: 1px solid rgba(255,255,255,0.1);
     border-top: 1px solid rgba(255,255,255,0.1);
     border-bottom: 1px solid rgba(255,255,255,0.1); /* Cria a linha separadora */
     border-bottom: 1px solid rgba(255,255,255,0.1);
}
}


Line 29: Line 28:
     font-size: 50px;
     font-size: 50px;
     font-weight: bold;
     font-weight: bold;
     color: transparent;
     color: transparent !important;
     -webkit-text-stroke: 1px rgba(255,255,255,0.3); /* Efeito vazado do site */
     -webkit-text-stroke: 1px rgba(255,255,255,0.3);
     text-transform: uppercase;
     text-transform: uppercase;
     padding-right: 50px;
     padding-right: 50px;
Line 40: Line 39:
}
}


/* --- ESTILOS DO RODAPÉ (CORES E HOVERS) --- */
#custom-atronia-footer {
    background-color: #121e1c !important;
    color: #ffffff !important;
}


 
/* Forçar cor branca em TODOS os links e estados */
/* 1. Esconder rodapés e elementos nativos da MediaWiki */
#custom-atronia-footer a,  
#footer, .mw-footer, #catlinks, #p-cactions, #p-personal {
#custom-atronia-footer a:link,  
     display: none !important;
#custom-atronia-footer a:visited,
#custom-atronia-footer .atronia-col a {
    color: #ffffff !important;
    text-decoration: none !important;
    opacity: 0.8;
    transition: opacity 0.2s ease;
     background: none !important;
}
}


/* 2. ESTILOS GERAIS DO FOOTER */
/* Efeito Hover - Brilho e Sublinhado */
#custom-atronia-footer,
#custom-atronia-footer a:hover {
#custom-atronia-footer p,
    opacity: 1 !important;
#custom-atronia-footer h4,
    text-decoration: underline !important;
#custom-atronia-footer span {
     color: #ffffff !important;
     color: #ffffff !important;
    opacity: 1 !important;
}
}


/* 3. GRELHA DE PATROCINADORES (2 à esquerda | 2 à direita) */
/* Grelha de Logos 2x2 (Mantendo a correção anterior) */
.sponsor-grid {
.sponsor-grid {
     display: grid !important;
     display: grid !important;
    /* Cria 2 colunas de tamanho automático */
     grid-template-columns: repeat(2, auto) !important;
     grid-template-columns: repeat(2, auto) !important;  
     gap: 20px 40px !important;
     gap: 20px 40px !important; /* 20px entre linhas, 40px entre colunas */
     max-width: fit-content !important;
     max-width: fit-content !important;  
     align-items: center !important;
     align-items: center !important;
}
}


/* Garante que os links não interfiram na grelha */
#custom-atronia-footer a:has(.footer-sponsor-img),
.sponsor-grid a {
    display: block !important;
    width: auto !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
}
/* Ajuste de tamanho uniforme e centralização */
.footer-sponsor-img {
.footer-sponsor-img {
     width: 350px !important; /* Largura fixa da "caixa" */
     width: 250px !important;  
     height: 70px !important; /* Altura fixa da "caixa" */
     height: 70px !important;
     object-fit: contain !important; /* Garante que o logo caiba na caixa sem esticar */
     object-fit: contain !important;
     object-position: left center !important; /* Alinha o logo à esquerda dentro da caixa */
     object-position: left center !important;
     display: block !important;
     display: block !important;
    filter: none !important;
}
}


/* Remove margens extras que a Wiki coloca em links com imagens */
/* Esconder elementos nativos da Wiki */
.sponsor-grid a {
#footer, .mw-footer, #catlinks, #p-cactions, #p-personal { display: none !important; }
    display: block !important;
    line-height: 0 !important;
    text-decoration: none !important;
}
 
/* 4. LINKS DAS COLUNAS (MENU, SOLUTIONS, ETC) */
.atronia-col a,
.atronia-col a:link,
.atronia-col a:visited,
.atronia-col a:active,
.footer-legal-link,
.footer-legal-link:visited {
    display: block !important;
    color: #ffffff !important;
    font-size: 14px !important;
    text-decoration: none !important;
    margin-bottom: 12px !important;
    opacity: 1 !important;
    background: none !important;
    padding-right: 0 !important;
}
 
.footer-legal-link {
    display: inline-block !important;
    font-weight: bold !important;
}
 
#custom-atronia-footer a:hover,
.atronia-col a:hover,
.footer-legal-link:hover {
    text-decoration: underline !important;
    color: #ffffff !important;
}
 
/* 5. TÍTULOS DAS COLUNAS */
.atronia-col h4 {
    font-size: 14px !important;
    font-weight: bold !important;
    margin-bottom: 20px !important;
    border: none !important;
    text-transform: none !important;
}
 
.atronia-col {
    min-width: 120px;
    margin-bottom: 20px;
}


/* Fim do Footer Atronia Website */
/* Fim do Footer Atronia Website */