Reactive Github version on home page

This commit is contained in:
Xavier J 2017-01-03 10:24:58 +01:00
parent c122a64237
commit 2e04760d10
6 changed files with 28 additions and 165 deletions

View file

@ -50,7 +50,7 @@ function scroll_to() {
$('.js-scrollTo').on('click', function () { // Au clic sur un élément
var page = $(this).attr('cible'); // Page cible
var speed = 600; // Durée de l'animation (en ms)
$('html, body').animate({scrollTop: $(page).offset().top - 100}, speed); // Go
$('html, body').animate({scrollTop: $(page).offset().top - 200}, speed); // Go
return false;
});
}

View file

@ -1,17 +0,0 @@
$(document).on('page:load', all_video);
$(document).ready(all_video);
function all_video() {
$(".all_video").on('click', function(event){
$("#all_video").slideToggle(200);
if (event.stopPropagation) {
event.stopPropagation();
}
event.cancelBubble = true;
return false;
});
}

View file

@ -39,6 +39,10 @@
color: white;
}
.latest_release{
margin-left: 1%
}
#landing_body{
.split-hr-left {
margin-left: auto;