MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary Tag: Reverted |
No edit summary Tag: Manual revert |
||
| Line 10: | Line 10: | ||
/* --- | /* --- ESTILOS APENAS PARA O SCROLLING TEXT --- */ | ||
.atronia-scrolling-container { | .atronia-scrolling-container { | ||
background-color: #121e1c; | background-color: #121e1c; | ||
| Line 22: | Line 17: | ||
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 */ | |||
} | } | ||
.atronia-scrolling-content { | .atronia-scrolling-content { | ||
display: inline-block; | display: inline-block; | ||
animation: atronia-scroll 30s linear infinite; | animation: atronia-scroll 30s linear infinite; | ||
} | } | ||
.atronia-scrolling-content span { | .atronia-scrolling-content span { | ||
font-family: sans-serif; | font-family: sans-serif; | ||
| Line 32: | Line 30: | ||
font-weight: bold; | font-weight: bold; | ||
color: transparent; | color: transparent; | ||
-webkit-text-stroke: 1px rgba(255,255,255,0.3); | -webkit-text-stroke: 1px rgba(255,255,255,0.3); /* Efeito vazado do site */ | ||
text-transform: uppercase; | text-transform: uppercase; | ||
padding-right: 50px; | padding-right: 50px; | ||
} | } | ||
@keyframes atronia-scroll { | @keyframes atronia-scroll { | ||
0% { transform: translateX(0); } | 0% { transform: translateX(0); } | ||
| Line 41: | Line 40: | ||
} | } | ||
/* | |||
#custom-atronia-footer | |||
/* 1. Esconder rodapés e elementos nativos da MediaWiki */ | |||
#footer, .mw-footer, #catlinks, #p-cactions, #p-personal { | |||
display: none !important; | |||
} | |||
/* 2. ESTILOS GERAIS DO FOOTER */ | |||
#custom-atronia-footer, | |||
#custom-atronia-footer p, | |||
#custom-atronia-footer h4, | |||
#custom-atronia-footer span { | |||
color: #ffffff !important; | color: #ffffff !important; | ||
opacity: 1 !important; | |||
} | } | ||
/* | /* 3. GRELHA DE PATROCINADORES (2 à esquerda | 2 à direita) */ | ||
.sponsor-grid { | .sponsor-grid { | ||
display: grid !important; | display: grid !important; | ||
grid-template-columns: repeat(2, auto) !important; | /* Cria 2 colunas de tamanho automático */ | ||
gap: 20px 40px !important; | grid-template-columns: repeat(2, auto) !important; | ||
max-width: fit-content !important; | gap: 20px 40px !important; /* 20px entre linhas, 40px entre colunas */ | ||
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: | width: 350px !important; /* Largura fixa da "caixa" */ | ||
height: 70px !important; | height: 70px !important; /* Altura fixa da "caixa" */ | ||
object-fit: contain !important; | object-fit: contain !important; /* Garante que o logo caiba na caixa sem esticar */ | ||
object-position: left center !important; | object-position: left center !important; /* Alinha o logo à esquerda dentro da caixa */ | ||
display: block !important; | |||
filter: none !important; | |||
} | |||
/* Remove margens extras que a Wiki coloca em links com imagens */ | |||
.sponsor-grid a { | |||
display: block !important; | display: block !important; | ||
line-height: 0 !important; | |||
text-decoration: none !important; | |||
} | } | ||
/* | /* 4. LINKS DAS COLUNAS (MENU, SOLUTIONS, ETC) */ | ||
.atronia-col a, .footer-legal-link { | .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; | display: block !important; | ||
color: #ffffff !important; | color: #ffffff !important; | ||
| Line 73: | Line 106: | ||
text-decoration: none !important; | text-decoration: none !important; | ||
margin-bottom: 12px !important; | margin-bottom: 12px !important; | ||
opacity: 1 !important; | |||
background: none !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 */ | ||