From fd268b7fde8438d9044a384f3632fcab1c08e133 Mon Sep 17 00:00:00 2001 From: Michael Foiani Date: Tue, 6 Sep 2022 08:46:31 -0400 Subject: fix links --- CS 1300_files/style.css | 5 ++-- index.js | 3 +- index2.html | 78 ++++++++++++++++++++++++++----------------------- style.css | 63 +++++++++++++++++++++++++++++---------- 4 files changed, 93 insertions(+), 56 deletions(-) diff --git a/CS 1300_files/style.css b/CS 1300_files/style.css index 80a524e..dad14eb 100644 --- a/CS 1300_files/style.css +++ b/CS 1300_files/style.css @@ -264,10 +264,9 @@ html { /* The sidepanel links */ .sidepanel a { - padding: 8px 8px 8px 32px; text-decoration: none; font-size: 25px; - color: #818181; + color: white; display: block; transition: 0.3s; } @@ -456,7 +455,7 @@ html { } -@media only screen and (max-width: 575px) { +@media only screen and (max-width: 500px) { #calendar-iframe { max-height: 50vh; } diff --git a/index.js b/index.js index 07115b5..84e3aeb 100644 --- a/index.js +++ b/index.js @@ -19,12 +19,11 @@ const observer = new IntersectionObserver(entries => { } }, { threshold: [...Array(THRESHOLD_FIDELITY).keys()].map(num => num/THRESHOLD_FIDELITY), - rootMargin: '-50px', + rootMargin: '-50px' }); // after two seconds pause the video setTimeout(() => { - console.log('fired') videoTitle.pause(); videoTitle.currentTime = 2; observer.observe(videoTitle); diff --git a/index2.html b/index2.html index 973dc6c..f1291db 100644 --- a/index2.html +++ b/index2.html @@ -4,8 +4,8 @@ - + CS 1300 - UI/UX 2022 @@ -13,17 +13,18 @@ - +