Files
watchparty/website/styles/medium.css
T
2020-08-05 21:45:32 -04:00

299 lines
6.0 KiB
CSS

/************************************************************************
Copyright (C) Ayushya Amitabh - All Rights Reserved
Unauthorized copying of this file, via any medium is strictly prohibited
Proprietary and confidential
Written by Ayushya Amitabh <admin@chromewatchparty.com>, 2020
https://www.chromewatchparty.com/copyright
=========================================================================
ALL CONTENT ON WATCH PARTY'S WEBSITE OR IN WATCH PARTY'S CHROME EXTENSION APP, UNLESS OTHERWISE
CITED ARE THE SOLE INTELECTUAL PROPERTY OF AYUSHYA AMITABH, AND MAY NOT BE
COPIED, EDITED, OR REPRODUCED WITHOUT PERMISSION.
************************************************************************/
html {
font-size: 6.5px !important;
}
body {
font-size: 6.5px !important;
display: flex;
min-height: 100vh;
flex-direction: column;
}
.features,
.supported {
max-width: 75%;
flex: 1;
}
.supported-logo {
margin-bottom: 6rem;
}
.link-button {
transition: all ease-in-out 0.2s !important;
border: 1px solid var(--cta);
background: none;
color: var(--cta);
position: relative;
}
.link-button::before {
content: '';
height: 100%;
top: 0;
width: 0;
position: absolute;
border-radius: 7rem;
left: 0;
background: var(--cta);
transition: all ease-in-out 0.3s;
}
.link-button:hover {
color: var(--primary);
z-index: 10;
}
.link-button:hover::before {
width: 100%;
z-index: -1;
}
.logo {
font-size: 10rem;
transition: all ease-in-out 0.3s;
}
.logo.stickied {
font-size: 2rem;
letter-spacing: 0.8rem;
position: fixed;
background-color: var(--primary);
width: 100%;
left: 0;
top: 0;
padding: 3rem 10rem;
z-index: 999 !important;
}
.landing .link-button.stickied {
position: fixed;
right: 0rem;
top: 0;
border-radius: 0;
font-size: 2rem;
z-index: 1999 !important;
border: none !important;
box-shadow: none !important;
}
.landing .link-button.stickied::before {
border-radius: 0;
}
.landing .supported .supported-logo {
position: relative;
border-bottom: 2px solid var(--cta);
}
.landing .supported .supported-logo[data-full-support]::before,
.landing .supported .supported-logo[data-beta-support]::before,
.landing .supported .supported-logo[data-upcoming-support]::before {
bottom: 0;
height: 0;
left: 0;
opacity: 0;
font-size: 1.5rem;
}
.landing .supported .supported-logo[data-full-support]:hover::before,
.landing .supported .supported-logo[data-beta-support]:hover::before,
.landing .supported .supported-logo[data-upcoming-support]:hover::before {
opacity: 1;
bottom: 0;
height: 1.6rem;
letter-spacing: 1.05px;
padding-top: 1.5rem;
z-index: -1;
}
.feature-card {
background-color: var(--primary-medium);
z-index: 1;
width: 30rem;
height: 30rem;
margin: -1px;
display: inline-block;
padding: 3rem;
transition: all 0.3s ease-in;
position: relative;
}
.feature-icon {
z-index: 1;
background-position: center !important;
transition: all ease-out 0.3s;
border-radius: 100%;
width: 0;
margin: 0 auto;
height: 0;
background-size: cover !important;
padding: 5rem;
background-color: black;
position: absolute;
top: 13rem;
left: 13rem;
}
.feature-card .feature-text {
z-index: 1;
display: table;
line-height: 0;
opacity: 0;
text-align: center;
overflow: hidden;
}
.feature-card:hover {
background-color: var(--cta);
box-shadow: -5px 5px 100px #000000;
z-index: 100;
transform: scale(1.1);
}
.feature-card:hover .feature-text {
display: table;
color: var(--primary-light);
line-height: initial;
opacity: 1;
}
.feature-card:hover .feature-icon {
position: relative;
top: -35%;
left: unset;
transform: scale(3);
margin-bottom: 3rem;
}
footer {
padding-bottom: 17rem;
}
footer .title {
font-size: 2rem;
}
footer .built-with {
display: block;
}
footer .link-button {
max-width: fit-content;
display: inline-table;
margin-right: 3rem;
padding: 0.8rem 3.375rem;
font-size: 2.5rem;
}
.copyright .landing {
max-width: 75%;
}
.copyright.welcome .landing {
max-width: none;
}
.welcome .logo a,
.copyright .logo a {
position: relative;
}
.welcome .logo a::before,
.copyright .logo a::before {
content: '';
height: 100%;
top: 0;
width: 0;
position: absolute;
left: -1rem;
background: var(--cta);
transition: all ease-in-out 0.3s;
}
.welcome .logo a:hover::before,
.copyright .logo a:hover::before {
width: calc(100% + 1rem);
z-index: -1;
}
.welcome .logo a:hover,
.copyright .logo a:hover {
color: var(--primary);
}
.welcome .landing video {
max-width: 45%;
}
.welcome .landing .supported-logo {
position: relative;
border-bottom: 1px solid var(--cta);
}
.welcome .landing#tips .tip {
padding-right: 0;
transition: all ease-out 0.3s;
}
.welcome .landing#tips .link-button {
max-width: fit-content;
display: inline-table;
margin-right: 3rem;
padding: 0.8rem 3.375rem;
font-size: 2.5rem;
}
.welcome .landing .supported-logo::before {
content: 'START WATCHING';
position: absolute;
width: 100%;
bottom: 0;
height: 0;
left: 0;
opacity: 0;
transition: all ease-out 0.3s;
font-size: 1.5rem;
text-align: center;
color: var(--primary);
font-family: 'GlacialBold';
background-color: var(--cta);
padding: 1rem 0;
}
.welcome .landing .supported-logo[data-support]::before {
content: attr(data-support);
text-transform: uppercase;
}
.welcome .landing .supported-logo:hover::before {
opacity: 1;
bottom: 0;
height: 2rem;
letter-spacing: 1.05px;
z-index: -1;
}
.welcome .landing {
flex: 1;
}
.welcome .landing#tips .tip h6 {
color: var(--primary-light);
transition: all ease-out 0.3s;
}
.welcome .landing#tips .tip p {
color: var(--primary-medium);
transition: all ease-out 0.3s;
}
.welcome .landing#tips .tip:hover h6,
.welcome .landing#tips .tip:hover p {
color: var(--primary-text);
}
.welcome .landing#tips .tip:hover {
background-color: var(--primary-medium);
margin-left: -2.5rem;
border-top-left-radius: 2rem;
border-bottom-left-radius: 2rem;
margin-top: 2rem;
margin-bottom: 2rem;
padding-left: 2.5rem;
}
.welcome .landing#tips .tip:last-of-type {
margin-bottom: 3rem;
}