Update branding & home page

Add BBC Young Reporter branding & update positioning of articles on home 
page
This commit is contained in:
Matthew Grove
2019-03-04 21:25:35 +00:00
parent 620aadcc6e
commit 3b67b7a5d7
34 changed files with 1897 additions and 18 deletions

View File

@@ -0,0 +1,13 @@
$(window).scroll(function() {
if ($(this).scrollTop() >= 55) {
$('.top-scroll-button').fadeIn(500);
}
if ($(this).scrollTop() < 55) {
$('.top-scroll-button').fadeOut(500);
}
});
function scrollUp() {
$('body, html, .mdc-drawer-app-content, #main-content, .mdc-top-app-bar--short-fixed-adjust').animate({
scrollTop: 0
}, 500);
}