From 72879675d83175ac4d82fc85a54105b930e108d0 Mon Sep 17 00:00:00 2001 From: Ayushya Amitabh Date: Sun, 12 Jul 2020 14:25:53 -0400 Subject: [PATCH] v1.4.1-release/website --- website/scripts/Stickied.js | 4 ++-- website/styles/medium.css | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/website/scripts/Stickied.js b/website/scripts/Stickied.js index 209e526..b0a7a2c 100644 --- a/website/scripts/Stickied.js +++ b/website/scripts/Stickied.js @@ -10,13 +10,13 @@ var GET_INIT = 0; function handleSticky() { const logo = document.querySelector('.logo'); const get = document.querySelector('.landing .link-button'); - if (window.scrollY >= LOGO_INIT + logo.offsetHeight * 1.5) { + if (window.scrollY >= LOGO_INIT + logo.offsetHeight * 2) { logo.classList.add('stickied'); } else { logo.classList.remove('stickied'); } if (get) { - if (window.scrollY >= GET_INIT + get.offsetHeight * 1.5) { + if (window.scrollY >= GET_INIT + get.offsetHeight * 2) { get.classList.add('stickied'); } else { get.classList.remove('stickied'); diff --git a/website/styles/medium.css b/website/styles/medium.css index 2bf5c55..360612c 100644 --- a/website/styles/medium.css +++ b/website/styles/medium.css @@ -127,6 +127,11 @@ body { transform: scale(3); margin-bottom: 3rem; } + +footer { + padding-bottom: 17rem; +} + footer .title { font-size: 2rem; }