MediaWiki:Gadget-GradientHeaders.js: Difference between revisions
From Elwiki
(Created page with "$('tr').each(function(){ var tr = $(this); if(!tr.hasClass('rainbow')){ tr.children('th').each(function(){ var th = $(this); var bgcolo...") |
mNo edit summary |
||
Line 5: | Line 5: | ||
var th = $(this); | var th = $(this); | ||
var bgcolor = th.css('background-color'); | var bgcolor = th.css('background-color'); | ||
th.css('background-image', 'linear-gradient(to bottom, ' + bgcolor + ' | th.css('background-image', 'linear-gradient(to bottom, eee, ' + bgcolor + ')'); | ||
}); | }); | ||
} | } | ||
}); | }); |