diff --git a/website/index.html b/website/index.html index da09b43..124b988 100644 --- a/website/index.html +++ b/website/index.html @@ -19,12 +19,43 @@ - Watch Party -
- TEST +
+ WATCH PARTY + + GET CHROME EXTENSION + SUPPORT WATCH PARTY +
+
+ GET CHROME EXTENSION + + + WATCH PARTY + + +
+
+
+ +
Watch Party Works With
+
+
+
+
+
+
+
+
+
+
+
+ 234 +
+
diff --git a/website/media/Disney.webp b/website/media/Disney.webp new file mode 100644 index 0000000..835fc67 Binary files /dev/null and b/website/media/Disney.webp differ diff --git a/website/media/Hulu.png b/website/media/Hulu.png new file mode 100644 index 0000000..3faefd0 Binary files /dev/null and b/website/media/Hulu.png differ diff --git a/website/media/Netflix.png b/website/media/Netflix.png new file mode 100644 index 0000000..151775b Binary files /dev/null and b/website/media/Netflix.png differ diff --git a/website/media/Prime.png b/website/media/Prime.png new file mode 100644 index 0000000..761cd60 Binary files /dev/null and b/website/media/Prime.png differ diff --git a/website/media/Youtube.png b/website/media/Youtube.png new file mode 100644 index 0000000..64d91a3 Binary files /dev/null and b/website/media/Youtube.png differ diff --git a/website/scripts/Stickied.js b/website/scripts/Stickied.js index 7ee2642..394dfb1 100644 --- a/website/scripts/Stickied.js +++ b/website/scripts/Stickied.js @@ -1,20 +1,11 @@ +function handleSticky() { + if (window.scrollY >= window.innerHeight * 0.65) { + document.querySelector('header').setAttribute('data-header-visible', true); + } else { + document.querySelector('header').setAttribute('data-header-visible', false); + } +} window.onload = function () { - let originalTitlePosition = null; - window.addEventListener('scroll', function (ev) { - const title = document.getElementsByClassName('title')[0]; - const support = document.getElementsByClassName('support')[0]; - const request = document.getElementsByClassName('request')[0]; - - if (originalTitlePosition === null) originalTitlePosition = title.offsetTop; - if (window.scrollY > originalTitlePosition) { - support.classList.add('stickied'); - title.classList.add('stickied'); - request.classList.add('stickied'); - request.style.right = support.clientWidth + 64 + 'px'; - } else { - support.classList.remove('stickied'); - title.classList.remove('stickied'); - request.classList.remove('stickied'); - } - }); + this.handleSticky(); + window.addEventListener('scroll', this.handleSticky); }; diff --git a/website/styles/extrasmall.css b/website/styles/extrasmall.css index 9640fc4..ba6020e 100644 --- a/website/styles/extrasmall.css +++ b/website/styles/extrasmall.css @@ -1,6 +1,150 @@ body { - background-color: var(--primary); + background-color: rgb(var(--primary)); + background: url('../media/static.gif'); + margin: 0; + max-width: 100vw; + height: 100vh; } -* { - color: var(--secondary); +a { + text-decoration: none; +} +header { + opacity: 0; + z-index: -1; + transition: all ease-in-out 0.3s; + position: fixed; + top: 0; + left: 0; + width: calc(100% - 20px); + height: fit-content; + display: flex; + flex-direction: row; + align-items: center; + padding: 5px 10px; +} +header brand { + font-size: 1rem; + padding: 5px 15px; + text-align: center; + background-color: rgb(var(--secondary)); + color: rgb(var(--primary)); + border-radius: 13px; +} +header a { + display: none; +} +spacer { + flex: 1; +} +header[data-header-visible='true'] { + opacity: 1; + z-index: 9999; +} +section { + max-width: 100%; + height: 100%; + margin: 0; + background-color: rgba(var(--primary), 1); +} +section:nth-of-type(1) { + width: 100%; + height: 100%; + background: linear-gradient( + 180deg, + rgba(var(--primary), 0) 0%, + rgba(var(--primary), 0.3) 25%, + rgba(var(--primary), 0.7) 100% + ); +} +section:nth-of-type(2) { + background: linear-gradient( + 180deg, + rgba(var(--primary), 0.7) 0%, + rgba(var(--primary), 0.85) 50%, + rgba(var(--primary), 1) 100% + ); +} +section.landing { + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; +} +section.landing .brand { + font-size: 1.75rem; + border-radius: 1.75rem; + border: 2px solid rgb(var(--primary)); + padding: 10px 26px; + color: rgb(var(--secondary)); + transition: all ease-in-out 0.3s; +} +section.landing .brand:hover { + background-color: rgb(var(--primary)); +} +section.landing .brand span { + filter: drop-shadow(-5px 5px 0px rgb(var(--primary))); + text-align: center; + display: flex; +} +section.landing .get { + font-weight: 700; + background-color: rgb(var(--primary)); + letter-spacing: 1.5px; + color: rgb(var(--secondary)); + margin-bottom: 5px; + font-size: 0.75rem; + padding: 5px 13px; + border-radius: 13px; +} +section.intro { + display: flex; + justify-content: center; + align-items: center; +} +section.intro .inner { + max-width: 75%; +} +section.intro .inner img { + max-width: 100%; + height: auto; + border-radius: 26px; + transition: all ease-in-out 0.3s; + border: 2px solid transparent; +} +section.intro .inner img:hover { + border: 2px solid rgb(var(--secondary)); + filter: drop-shadow(0 0 40px rgba(var(--tertiary), 0.5)); +} +section.intro .inner .supported { + display: flex; +} +section.intro .inner .supports { + color: rgb(var(--secondary)); + text-align: center; + margin-top: 5px; + font-variant: all-small-caps; + letter-spacing: 1.5px; + font-weight: 400; +} +section.intro .inner .supported div { + flex: 1; + height: 50px; + background-size: 75%; + background-position: center; + background-repeat: no-repeat; +} +section.intro .inner .supported div.netflix { + background-image: url('../media/Netflix.png'); +} +section.intro .inner .supported div.hulu { + background-image: url('../media/Hulu.png'); +} +section.intro .inner .supported div.disney { + background-image: url('../media/Disney.webp'); +} +section.intro .inner .supported div.prime { + background-image: url('../media/Prime.png'); +} +section.intro .inner .supported div.youtube { + background-image: url('../media/Youtube.png'); } diff --git a/website/styles/small.css b/website/styles/small.css index e69de29..3f7438e 100644 --- a/website/styles/small.css +++ b/website/styles/small.css @@ -0,0 +1,59 @@ +header a { + color: rgb(var(--secondary)); + display: block; + text-decoration: none; + font-size: 0.75rem; + background-color: rgb(var(--primary)); + padding: 5px 10px; + font-weight: 700; + letter-spacing: 1.5px; + margin-left: 5px; + padding: 5px 13px; + border-radius: 13px; +} +section.landing .brand { + font-size: 3.25rem; + border-radius: 3.25rem; + padding: 5px 45px; +} +section.landing .get { + font-size: 1rem; +} + +section.intro { + display: flex; + justify-content: center; + align-items: center; +} +section.intro .inner { + max-width: 50%; +} +section.intro .inner img { + max-width: 100%; + height: auto; + border-radius: 26px; + transition: all ease-in-out 0.3s; + border: 2px solid transparent; +} +section.intro .inner img:hover { + border: 2px solid rgb(var(--secondary)); + filter: drop-shadow(0 0 40px rgba(var(--tertiary), 0.5)); +} +section.intro .inner .supported { + display: flex; +} +section.intro .inner .supports { + color: rgb(var(--secondary)); + text-align: center; + margin-top: 5px; + font-variant: all-small-caps; + letter-spacing: 1.5px; + font-weight: 400; +} +section.intro .inner .supported div { + flex: 1; + height: 100px; + background-size: 75%; + background-position: center; + background-repeat: no-repeat; +} diff --git a/website/styles/variables-dark.css b/website/styles/variables-dark.css index 6bd7122..4ca2cce 100644 --- a/website/styles/variables-dark.css +++ b/website/styles/variables-dark.css @@ -1,8 +1,8 @@ :root { - --primary: #353e4a; - --primary-complement: #fbf8ef; - --secondary: #9acb34; - --secondary-complement: #7da329; - --tertiary: #04ddd9; - --tertiary-complement: #02a19f; + --primary: 0, 0, 0; + --primary-complement: 251, 248, 239; + --secondary: 192, 243, 0; + --secondary-complement: 125, 163, 41; + --tertiary: 4, 221, 217; + --tertiary-complement: 2, 161, 159; } diff --git a/website/styles/variables.css b/website/styles/variables.css index 9e83660..fa2e298 100644 --- a/website/styles/variables.css +++ b/website/styles/variables.css @@ -1,8 +1,8 @@ :root { - --primary: #fbf8ef; - --primary-complement: #353e4a; - --secondary: #7da329; - --secondary-complement: #9acb34; - --tertiary: #02a19f; - --tertiary-complement: #04ddd9; + --primary: 251, 248, 239; + --primary-complement: 0, 0, 0; + --secondary: 125, 163, 41; + --secondary-complement: 154, 203, 52; + --tertiary: 2, 161, 159; + --tertiary-complement: 4, 221, 217; }