ElEditors, Interface administrators, Administrators
70,857
edits
No edit summary |
No edit summary |
||
Line 300: | Line 300: | ||
if ($(this).parents('.section-characters').length) return; | if ($(this).parents('.section-characters').length) return; | ||
if (o < 155 && rgb != 'rgba(0, 0, 0, 0)') { | if (o < 155 && rgb != 'rgba(0, 0, 0, 0)') { | ||
$(this | $(this).addClass('force-white'); //css('color', 'white').css('text-shadow', '1px 1px 1px #000'); | ||
} else if ($(this).parents('.instance-page').length || $(this).parents('.auto-header-color').length || force) { | |||
} else if ($(this).parents('.instance-page').length || | $(this).addClass('force-black'); //.css('color', 'black').css('text-shadow', 'none'); | ||
$(this | |||
} | } | ||
}); | }); |