MediaWiki:Common.js: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 311: Line 311:
         if (o < 180 && rgb != 'rgba(0, 0, 0, 0)') {
         if (o < 180 && rgb != 'rgba(0, 0, 0, 0)') {
             $(this).css('color', 'white').css('text-shadow', '1px 1px 1px #000');
             $(this).css('color', 'white').css('text-shadow', '1px 1px 1px #000');
        } else {
            $(this).css('color', 'black').css('text-shadow', 'none');
         }
         }
     });
     });