ElEditors, Interface administrators, Administrators
70,866
edits
No edit summary |
No edit summary |
||
Line 271: | Line 271: | ||
if (window.location.pathname == '/w/Special:RecentChanges') $('#mw-site-navigation .sidebar-chunk a[href="/w/Special:RecentChanges"]').addClass('mw-has-selflink'); | if (window.location.pathname == '/w/Special:RecentChanges') $('#mw-site-navigation .sidebar-chunk a[href="/w/Special:RecentChanges"]').addClass('mw-has-selflink'); | ||
$('#p-banner').html("<span><span class='main-accent'>El</span>wiki</span>"); | $('#p-banner').html("<span><span class='main-accent'>El</span>wiki</span>"); | ||
$('table[cellpadding="5"][border="1"][style] tr').each(function () { | // $('table[cellpadding="5"][border="1"][style] tr').each(function () { | ||
// let rgb = $(this).css('backgroundColor'); | |||
// // let colors = rgb.match(/\d+/g); | |||
// // let o = Math.round(((parseInt(colors[1]) * 299) + (parseInt(colors[2]) * 587) + (parseInt(colors[3]) * 114)) / 1000); | |||
// // if (o < 125) { | |||
// // $(this).css('color', 'white'); | |||
// // } | |||
}); | // }); | ||
}); | }); |