ElEditors, Interface administrators, Administrators
70,866
edits
No edit summary |
No edit summary |
||
Line 311: | Line 311: | ||
if (o < 160 && rgb != 'rgba(0, 0, 0, 0)') { | if (o < 160 && 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 { | } else if ($(this).parents('.instance-page').length) { | ||
$(this).css('color', 'black').css('text-shadow', 'none'); | $(this).css('color', 'black').css('text-shadow', 'none'); | ||
} | } |