MediaWiki:Common.js: Unterschied zwischen den Versionen

Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 9: Zeile 9:
         position: fixed;
         position: fixed;
   top: 120px;
   top: 120px;
             left: 80px;
             left: 70px;
             width: 250px;
             width: 250px;
             height: 250px;
             height: 250px;

Version vom 16. Dezember 2025, 12:41 Uhr

/* Das folgende JavaScript wird für alle Benutzer geladen. */

$(() => {
    $('img#watermark').remove();
    const $watermark = $('<img></img>')
    	.attr('src', '/archiumprojekte1/dags/archium/Logo.svg')
    	.attr('id', 'watermark')
    	.attr('style', `
        	position: fixed;
  			top: 120px;
            left: 70px;
            width: 250px;
            height: 250px;
            opacity: .7;
            filter: grayscale(1) contrast(2) drop-shadow(3px 3px 5px black);
            mix-blend-mode: multiply;
        `);
    
    $('body').prepend($watermark);
    
});