MediaWiki:Common.js: Unterschied zwischen den Versionen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 13: | Zeile 13: | ||
height: 250px; | height: 250px; | ||
opacity: .7; | opacity: .7; | ||
filter: grayscale(1) contrast(2); | filter: grayscale(1) contrast(2) drop-shadow(3px 3px 5px black); | ||
mix-blend-mode: multiply; | mix-blend-mode: multiply; | ||
`); | `); | ||
Version vom 15. Dezember 2025, 19:31 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: 80px;
width: 250px;
height: 250px;
opacity: .7;
filter: grayscale(1) contrast(2) drop-shadow(3px 3px 5px black);
mix-blend-mode: multiply;
`);
$('body').prepend($watermark);
});