MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined"); | @import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined"); | ||
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:FILL@0..1"); | @import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:FILL@0..1"); | ||
/* Footer Atronia Website */ | /* Footer Atronia Website */ | ||
/* 1. Esconder rodapés e elementos nativos da MediaWiki */ | |||
/* Esconder rodapés e elementos nativos da MediaWiki */ | |||
#footer, .mw-footer, #catlinks, #p-cactions, #p-personal { | #footer, .mw-footer, #catlinks, #p-cactions, #p-personal { | ||
display: none !important; | display: none !important; | ||
} | } | ||
/* | /* 2. ESTILOS GERAIS DO FOOTER */ | ||
#custom-atronia-footer, | #custom-atronia-footer, | ||
#custom-atronia-footer p, | #custom-atronia-footer p, | ||
| Line 21: | Line 23: | ||
} | } | ||
/* Garante que os links | /* 3. GRELHA DE PATROCINADORES (2 à esquerda | 2 à direita) */ | ||
#custom-atronia-footer a:has(.footer-sponsor-img) { | .sponsor-grid { | ||
display: | display: grid !important; | ||
/* Cria 2 colunas de tamanho automático */ | |||
grid-template-columns: repeat(2, auto) !important; | |||
gap: 20px 40px !important; /* 20px entre linhas, 40px entre colunas */ | |||
max-width: fit-content !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; | width: auto !important; | ||
padding: 0 !important; | |||
background: none !important; | |||
border: none !important; | |||
} | } | ||
/* Força o tamanho | /* Força o tamanho padrão das imagens */ | ||
.footer-sponsor-img { | .footer-sponsor-img { | ||
height: 45px !important; | height: 45px !important; | ||
width: auto !important; | width: auto !important; | ||
display: | display: block !important; | ||
filter: none !important; | |||
} | } | ||
/* | /* 4. LINKS DAS COLUNAS (MENU, SOLUTIONS, ETC) */ | ||
. | |||
.atronia-col a, | .atronia-col a, | ||
.atronia-col a:link, | .atronia-col a:link, | ||
| Line 73: | Line 80: | ||
} | } | ||
/* 5. TÍTULOS DAS COLUNAS */ | |||
.atronia-col h4 { | .atronia-col h4 { | ||
font-size: 14px !important; | font-size: 14px !important; | ||
| Line 86: | Line 94: | ||
} | } | ||
/* Fim do Footer Atronia Website */ | |||