Jump to content

MediaWiki:Common.js: Difference between revisions

No edit summary
No edit summary
Line 17: Line 17:
     };
     };


     // Estilos comuns
     // Estilos comuns (Removido o Caps Lock aqui)
     var linkStyle = 'style="color: #ffffff !important; display: block; margin-bottom: 10px; font-size: 14px; text-decoration: none;"';
     var linkStyle = 'style="color: #ffffff !important; display: block; margin-bottom: 10px; font-size: 14px; text-decoration: none;"';
     var titleStyle = 'style="color: #ffffff !important; font-weight: bold; margin-bottom: 20px; font-size: 16px; border: none;"';
     var titleStyle = 'style="color: #ffffff !important; font-weight: bold; margin-bottom: 20px; font-size: 16px; border: none; text-transform: none;"';


     var html =  
     var html =  
Line 59: Line 59:
         '<div class="atronia-full-width-line"></div>' +
         '<div class="atronia-full-width-line"></div>' +


         // 4. SECÇÃO FINAL DE LOGOS COM LINKS ATIVOS
         // 4. SECÇÃO FINAL DE LOGOS AJUSTADA
         '<div style="padding: 40px 0; max-width: 1300px; margin: 0 auto; display: flex; align-items: flex-start; gap: 60px;">' +
         '<div style="padding: 40px 0; max-width: 1300px; margin: 0 auto; display: flex; align-items: flex-start; gap: 60px;">' +
              
              
             // Bloco Powered By
             // Bloco Powered By + Links Extra (Coluna Esquerda)
             '<div style="flex: 0 0 auto; width: 180px;">' +  
             '<div style="flex: 0 0 auto; width: 220px; display: flex; flex-direction: column; gap: 25px;">' +  
                 '<p style="font-size:11px; opacity:0.6; color:#ffffff !important; margin-bottom:15px; font-weight:bold; text-transform: uppercase;">Powered by:</p>' +
                 '<div>' +
                '<a href="https://www.igus.pt/" target="_blank">' +
                    '<p style="font-size:11px; opacity:0.6; color:#ffffff !important; margin-bottom:15px; font-weight:bold; text-transform: uppercase;">Powered by:</p>' +
                    '<img src="'+img.igus+'" style="height: auto; width: 100%; max-width: 180px; display: block; border:none;">' +
                    '<a href="https://www.igus.pt/" target="_blank">' +
                 '</a>' +
                        '<img src="'+img.igus+'" style="height: auto; width: 100%; max-width: 180px; display: block; border:none;">' +
                    '</a>' +
                 '</div>' +
               
                '<div>' +
                    '<p style="font-size: 13px; color: #ffffff !important; line-height: 1.6;">' +
                        '<strong>' +
                            '<a href="https://www.livroreclamacoes.pt/inicio/" target="_blank" rel="noopener" style="color: #ffffff !important; text-decoration: underline;">Livro de Reclamações</a><br>' +
                            '<a href="https://atronia.eu/privacy-policy/" target="_blank" rel="noopener" style="color: #ffffff !important; text-decoration: underline;">Privacy Policy</a>' +
                        '</strong>' +
                    '</p>' +
                '</div>' +
             '</div>' +
             '</div>' +


             // Bloco Co-sponsored By
             // Bloco Co-sponsored By (Coluna Direita)
             '<div style="flex: 1;">' +
             '<div style="flex: 1;">' +
                 '<p style="font-size:11px; opacity:0.6; color:#ffffff !important; margin-bottom:15px; font-weight:bold; text-transform: uppercase;">Co-sponsored by:</p>' +
                 '<p style="font-size:11px; opacity:0.6; color:#ffffff !important; margin-bottom:15px; font-weight:bold; text-transform: uppercase;">Co-sponsored by:</p>' +
                  
                  
                 '<div style="display: grid; grid-template-columns: repeat(2, auto); gap: 20px 40px; justify-content: start; align-items: center;">' +
                 '<div style="display: grid; grid-template-columns: repeat(2, auto); gap: 20px 40px; justify-content: start; align-items: center;">' +
                    // Compete 2030
                     '<a href="https://atronia.eu/wp-content/uploads/2025/12/Ficha-do-projeto-ATRONIA-LDA.pdf" target="_blank">' +
                     '<a href="https://atronia.eu/wp-content/uploads/2025/12/Ficha-do-projeto-ATRONIA-LDA.pdf" target="_blank">' +
                         '<img src="'+img.cp+'" style="height: 50px; max-width: 350px; width: auto; object-fit: contain; border:none;">' +
                         '<img src="'+img.cp+'" style="height: 50px; max-width: 350px; width: auto; object-fit: contain; border:none;">' +
                     '</a>' +
                     '</a>' +
                    // Centro 2030
                     '<a href="https://atronia.eu/wp-content/uploads/2025/09/Ficha-de-Operacao_Tilt-Wind.pdf" target="_blank">' +
                     '<a href="https://atronia.eu/wp-content/uploads/2025/09/Ficha-de-Operacao_Tilt-Wind.pdf" target="_blank">' +
                         '<img src="'+img.ce+'" style="height: 50px; max-width: 350px; width: auto; object-fit: contain; border:none;">' +
                         '<img src="'+img.ce+'" style="height: 50px; max-width: 350px; width: auto; object-fit: contain; border:none;">' +
                     '</a>' +
                     '</a>' +
                    // Pessoas 2030
                     '<a href="https://atronia.eu/wp-content/uploads/2025/01/Pessoas2030.jpg" target="_blank">' +
                     '<a href="https://atronia.eu/wp-content/uploads/2025/01/Pessoas2030.jpg" target="_blank">' +
                         '<img src="'+img.ps+'" style="height: 50px; max-width: 350px; width: auto; object-fit: contain; border:none;">' +
                         '<img src="'+img.ps+'" style="height: 50px; max-width: 350px; width: auto; object-fit: contain; border:none;">' +
                     '</a>' +
                     '</a>' +
                    // PRR
                     '<a href="https://atronia.eu/wp-content/uploads/2025/02/Ficha-de-Projeto.pdf" target="_blank">' +
                     '<a href="https://atronia.eu/wp-content/uploads/2025/02/Ficha-de-Projeto.pdf" target="_blank">' +
                         '<img src="'+img.pr+'" style="height: 50px; max-width: 350px; width: auto; object-fit: contain; border:none;">' +
                         '<img src="'+img.pr+'" style="height: 50px; max-width: 350px; width: auto; object-fit: contain; border:none;">' +