Pastel colors
This commit is contained in:
parent
48501957a1
commit
5564f49b1f
1 changed files with 7 additions and 0 deletions
|
@ -18,4 +18,11 @@ $(document).ready(function() {
|
||||||
nextArrow: '<span class="arrow right glyphicon glyphicon-chevron-right" aria-hidden="true">Next</span>',
|
nextArrow: '<span class="arrow right glyphicon glyphicon-chevron-right" aria-hidden="true">Next</span>',
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Formatting of live news
|
||||||
|
$('.feedpage-body .panel').each(function() {
|
||||||
|
var hue = Math.floor(Math.random() * 360);
|
||||||
|
var pastel = 'hsl(' + hue + ', 100%, 87.5%)';
|
||||||
|
$(this).css('border-top', '3px solid ' + pastel);
|
||||||
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue