Update frontpage.md

This commit is contained in:
kload@kload.fr 2014-03-15 15:04:28 +01:00 committed by YunoHost
parent 3144f32189
commit 2e43a2886b

View file

@ -232,6 +232,11 @@
jQuery('.boring-part').css({ jQuery('.boring-part').css({
marginTop: jQuery(window).height() + 100 marginTop: jQuery(window).height() + 100
}); });
jQuery( window ).resize(function() {
jQuery('.boring-part').css({
marginTop: jQuery('.teasing-part').height() + 100
});
});
jQuery('.yolo').hide(); jQuery('.yolo').hide();
randomNumber = Math.floor((Math.random()*jQuery('.yolo').length)+1); randomNumber = Math.floor((Math.random()*jQuery('.yolo').length)+1);
color = jQuery('.yolo.' + randomNumber).css('color'); color = jQuery('.yolo.' + randomNumber).css('color');