MediaWiki:Vector-2022.js: Difference between revisions
Appearance
m fixing the last edit |
testing - background for vector |
||
| Line 1: | Line 1: | ||
$('body').children().wrapAll('<div class=" | // create body overlay | ||
$('body').children().wrapAll('<div class="mw-body-overlay"></div>'); | |||
// create object just for packground | |||
$('.mw-body-overlay').prepend('<div class="custom-background"></div>'); | |||
$('.custom_background').css({'height': $('.mw-body-overlay').outerHeight()}); | |||
Revision as of 09:13, 8 November 2025
// create body overlay
$('body').children().wrapAll('<div class="mw-body-overlay"></div>');
// create object just for packground
$('.mw-body-overlay').prepend('<div class="custom-background"></div>');
$('.custom_background').css({'height': $('.mw-body-overlay').outerHeight()});