MediaWiki:Common.js: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
$(function() { | $(function() { | ||
// 1. LINKS DAS IMAGENS ( | // 1. LINKS DAS IMAGENS (Usando os ficheiros originais para evitar erros de miniatura) | ||
var img = { | var img = { | ||
instagram: "https://wiki.atronia.eu/images/b/b7/Instagram.png", | instagram: "https://wiki.atronia.eu/images/b/b7/Instagram.png", | ||
linkedin: "https://wiki.atronia.eu/images/9/99/Linkdin.png", | linkedin: "https://wiki.atronia.eu/images/9/99/Linkdin.png", | ||
facebook: "https://wiki.atronia.eu/images/5/55/Facebook.png", | facebook: "https://wiki.atronia.eu/images/5/55/Facebook.png", | ||
centro: "https://wiki.atronia.eu/images | centro: "https://wiki.atronia.eu/images/c/ce/Centro.png", | ||
compete: "https://wiki.atronia.eu/images | compete: "https://wiki.atronia.eu/images/9/92/Compete.png", | ||
pessoas: "https://wiki.atronia.eu/images | pessoas: "https://wiki.atronia.eu/images/2/20/Pessoas.png", | ||
prr: "https://wiki.atronia.eu/images | prr: "https://wiki.atronia.eu/images/4/42/Prr.png", | ||
igus: "https://wiki.atronia.eu/images/3/37/Igus.png" | igus: "https://wiki.atronia.eu/images/3/37/Igus.png" | ||
}; | }; | ||
| Line 46: | Line 46: | ||
'<div>' + | '<div>' + | ||
'<p style="font-size: 11px; color: #888; text-transform: uppercase; margin-bottom: 15px;">Powered by:</p>' + | '<p style="font-size: 11px; color: #888; text-transform: uppercase; margin-bottom: 15px;">Powered by:</p>' + | ||
'<img src="'+img.igus+'" | '<img src="'+img.igus+'" style="width: 140px; height: auto;">' + | ||
'</div>' + | '</div>' + | ||
'<div style="flex: 1;">' + | '<div style="flex: 1;">' + | ||
'<p style="font-size: 11px; color: #888; text-transform: uppercase; margin-bottom: 15px;">Co-sponsored by:</p>' + | '<p style="font-size: 11px; color: #888; text-transform: uppercase; margin-bottom: 15px;">Co-sponsored by:</p>' + | ||
'<div style="display: flex; flex-wrap: wrap; gap: 20px; align-items: center; opacity: 0.9;">' + | '<div style="display: flex; flex-wrap: wrap; gap: 20px; align-items: center; opacity: 0.9;">' + | ||
'<img src="'+img.compete+'" | '<img src="'+img.compete+'" style="height: 45px; width: auto;">' + | ||
'<img src="'+img.centro+'" | '<img src="'+img.centro+'" style="height: 45px; width: auto;">' + | ||
'<img src="'+img.pessoas+'" | '<img src="'+img.pessoas+'" style="height: 45px; width: auto;">' + | ||
'<img src="'+img.prr+'" | '<img src="'+img.prr+'" style="height: 45px; width: auto;">' + | ||
'</div>' + | '</div>' + | ||
'</div>' + | '</div>' + | ||
| Line 66: | Line 66: | ||
'</div>'; | '</div>'; | ||
// Injeção | // Injeção | ||
$('#custom-atronia-footer').remove(); | $('#custom-atronia-footer').remove(); | ||
$('body').append(footerHTML); | $('body').append(footerHTML); | ||