MediaWiki:Common.js: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 482: Line 482:
     console.log(headerList);
     console.log(headerList);
     headerList.each(function(){
     headerList.each(function(){
         var bgc = $(this).css('background-color');
         $(this).css('background-mask-image', 'linear-gradient(to bottom, #000, #fff, #000)');
        $(this).css('background-image', 'linear-gradient(to bottom, #eee, ' + bgc + ')');
     });
     });
     rainbowList.css({
     rainbowList.css({
         'backgroundColor': 'orange'
         'backgroundColor': 'rainbow'
     });
     });
});
});