del old files
This commit is contained in:
358
styles.css
358
styles.css
@@ -30,7 +30,7 @@ body {
|
||||
transition: width 0.5s ease, filter 0.8s ease, scale 2s ease;
|
||||
transform-origin: top;
|
||||
animation: objectPositionAnimation 45s ease-in-out infinite;
|
||||
border-radius: 1em;
|
||||
border-radius: 2.1em;
|
||||
}
|
||||
|
||||
.logo {
|
||||
@@ -40,7 +40,7 @@ body {
|
||||
max-height: 9em;
|
||||
max-width: 29em;
|
||||
width: auto;
|
||||
z-index: 3;
|
||||
z-index: 7;
|
||||
text-shadow: -2px 2px 4px rgba(0, 0, 0, 0.5);
|
||||
filter: drop-shadow(1px 1px 1px);
|
||||
pointer-events: none;
|
||||
@@ -79,61 +79,19 @@ body {
|
||||
text-shadow: 1px 1px 4px rgba(0, 0, 0, 1);
|
||||
}
|
||||
|
||||
.details-button {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* MARK: modified
|
||||
css for back and skip button
|
||||
*/
|
||||
.back-button,
|
||||
.skip-button {
|
||||
position: absolute;
|
||||
color: #D3D3D3;
|
||||
color: #fff;
|
||||
cursor: pointer;
|
||||
z-index: 10;
|
||||
font-family: "Titillium Web", sans-serif;
|
||||
text-shadow: 1px 1px 4px rgba(0, 0, 0, 1);
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
letter-spacing: normal;
|
||||
line-height: 1;
|
||||
text-transform: none;
|
||||
white-space: nowrap;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
text-rendering: optimizeLegibility;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
-webkit-font-feature-settings: "liga";
|
||||
font-feature-settings: "liga";
|
||||
border-radius: 50%;
|
||||
box-sizing: border-box;
|
||||
opacity: 0.5;
|
||||
transition: opacity 0.3s ease, background 0.3s ease;
|
||||
font-size: 1.62em;
|
||||
width: 1.7em;
|
||||
height: 1.7em;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 2em;
|
||||
}
|
||||
|
||||
.back-button:hover,
|
||||
.skip-button:hover {
|
||||
background: #ffffff70;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.skip-button {
|
||||
right: 0.5em;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
}
|
||||
|
||||
.back-button {
|
||||
left: 0.5em;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
/* display: none; */ /* Optional, if activated later */
|
||||
.details-button {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.material-icons {
|
||||
@@ -203,7 +161,7 @@ css for back and skip button
|
||||
|
||||
.age-rating {
|
||||
position: absolute;
|
||||
top: 0.1em;
|
||||
top: 0.5em;
|
||||
left: 2em;
|
||||
text-align: left;
|
||||
font-family: "Titillium Web", sans-serif;
|
||||
@@ -226,9 +184,9 @@ css for back and skip button
|
||||
|
||||
.plot {
|
||||
position: absolute;
|
||||
bottom: 0.1em;
|
||||
left: 2.2em;
|
||||
right: 0;
|
||||
top: -0.3em;
|
||||
left: 50vw;
|
||||
transform: translateX(-50%);
|
||||
color: #fff;
|
||||
font-family: "Titillium Web", sans-serif;
|
||||
font-size: 0.95em;
|
||||
@@ -245,13 +203,14 @@ css for back and skip button
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
border-bottom-left-radius: 0.45em;
|
||||
transition: opacity 0.1s ease, max-height 0.8s ease, width 0.3s ease;
|
||||
transition: opacity 0.1s ease, max-height 0.8s ease, width 0.3s ease, left 0.3s ease;
|
||||
opacity: 0;
|
||||
max-width: 96vw;
|
||||
opacity: 1;
|
||||
-webkit-line-clamp: 2;
|
||||
line-clamp: 2;
|
||||
max-height: 7.8em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.genres {
|
||||
@@ -349,19 +308,17 @@ css for back and skip button
|
||||
transform: scale(1);
|
||||
}
|
||||
|
||||
/* .slide:hover .clickable-overlay {} */
|
||||
/*.slide:hover .clickable-overlay {}*/
|
||||
|
||||
.slide:hover .clickable-overlay::before {
|
||||
opacity: 0;
|
||||
backdrop-filter: blur(0px);
|
||||
}
|
||||
|
||||
/*
|
||||
.slide:hover .logo {}
|
||||
|
||||
.slide:hover .plot {}
|
||||
*/
|
||||
|
||||
.slide:hover .lorem-ipsum::before {
|
||||
opacity: 1;
|
||||
backdrop-filter: blur(2px);
|
||||
@@ -393,7 +350,7 @@ css for back and skip button
|
||||
|
||||
.logo {
|
||||
transform: translateX(-50%) translateY(-50%);
|
||||
top: 10.5em;
|
||||
top: 6.5em;
|
||||
left: 50% !important;
|
||||
max-width: 70%;
|
||||
max-height: 45%;
|
||||
@@ -567,12 +524,13 @@ css for back and skip button
|
||||
|
||||
@media (max-width:1000px) and (orientation:portrait) {
|
||||
.back-button {
|
||||
left: 0em;
|
||||
top: 5em !important;
|
||||
left: 0.5em;
|
||||
}
|
||||
|
||||
.skip-button {
|
||||
right: 0em;
|
||||
/*top: 50% !important;*/
|
||||
top: 5em !important;
|
||||
right: 0.5em;
|
||||
}
|
||||
|
||||
.genres {
|
||||
@@ -593,6 +551,10 @@ css for back and skip button
|
||||
}
|
||||
|
||||
@media (max-width:1000px) and (orientation:landscape) {
|
||||
.slide {
|
||||
height: 70vh;
|
||||
}
|
||||
|
||||
.community-rating {
|
||||
left: 89vw !important;
|
||||
}
|
||||
@@ -602,12 +564,13 @@ css for back and skip button
|
||||
}
|
||||
|
||||
.back-button {
|
||||
left: 0em;
|
||||
top: 4em !important;
|
||||
left: 0.5em;
|
||||
}
|
||||
|
||||
.skip-button {
|
||||
right: 0em;
|
||||
/*top: 50% !important;*/
|
||||
top: 4em !important;
|
||||
right: 0.5em;
|
||||
}
|
||||
|
||||
.genres {
|
||||
@@ -628,74 +591,124 @@ css for back and skip button
|
||||
@media (min-width: 1001px) {
|
||||
.logo {
|
||||
max-height: 45%;
|
||||
top: 50vh;
|
||||
top: 34vh;
|
||||
max-width: 47em;
|
||||
left: 50%;
|
||||
transition: transform 0.1s ease, max-height 0.3s ease;
|
||||
transition: transform 0.1s ease, left 0.3s ease, max-height 0.3s ease;
|
||||
}
|
||||
}
|
||||
|
||||
.watch-trailer-button {
|
||||
display: none;
|
||||
}
|
||||
.lorem-ipsum {
|
||||
left: 50vw;
|
||||
transition: left 0.3s ease;
|
||||
transform: translateX(-50%);
|
||||
top: unset;
|
||||
bottom: 3.2em;
|
||||
padding-left: unset;
|
||||
}
|
||||
|
||||
.backdrop {
|
||||
left: 0em;
|
||||
width: 100%;
|
||||
transition: width 0.5s ease, left 0.5s ease, filter 0.8s ease, transform 2s ease;
|
||||
}
|
||||
.watch-trailer-button {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.genres {
|
||||
left: 8em;
|
||||
z-index: 9;
|
||||
max-width: 39em;
|
||||
}
|
||||
.backdrop {
|
||||
left: 0em;
|
||||
width: 100%;
|
||||
transition: width 0.5s ease, left 0.5s ease, filter 0.8s ease, transform 2s ease;
|
||||
}
|
||||
|
||||
.community-rating {
|
||||
top: 16.45em;
|
||||
left: 31em;
|
||||
font-size: 1em;
|
||||
}
|
||||
.genres {
|
||||
left: 50vw;
|
||||
top: unset;
|
||||
bottom: 5em;
|
||||
transition: left 0.3s;
|
||||
z-index: 9;
|
||||
max-width: 39em;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
|
||||
.critic-rating {
|
||||
position: absolute;
|
||||
top: 16.45em;
|
||||
left: 26.5em;
|
||||
font-size: 1em;
|
||||
}
|
||||
.community-rating {
|
||||
top: 16.45em;
|
||||
left: 31em;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
.text-container::before {
|
||||
content: '';
|
||||
z-index: 5;
|
||||
display: flex;
|
||||
position: absolute;
|
||||
width: 100vw;
|
||||
top: -19.3em;
|
||||
height: 3em;
|
||||
background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.7) 6.25%, rgba(0, 0, 0, 0.68) 12.5%, rgba(0, 0, 0, 0.66) 18.75%, rgba(0, 0, 0, 0.64) 25%, rgba(0, 0, 0, 0.6) 31.25%, rgba(0, 0, 0, 0.56) 37.5%, rgba(0, 0, 0, 0.51) 43.75%, rgba(0, 0, 0, 0.45) 50%, rgba(0, 0, 0, 0.38) 56.25%, rgba(0, 0, 0, 0.31) 62.5%, rgba(0, 0, 0, 0.22) 68.75%, rgba(0, 0, 0, 0.14) 75%, rgba(0, 0, 0, 0.13) 81.25%, rgba(0, 0, 0, 0) 100%);
|
||||
opacity: 0.8;
|
||||
backdrop-filter: blur(1px);
|
||||
border-top-right-radius: 1em;
|
||||
border-top-left-radius: 1em;
|
||||
-webkit-mask-image: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.25) 3%, rgba(0, 0, 0, 0.5) 7%, rgba(0, 0, 0, 0.75) 15%, rgba(0, 0, 0, 0.9) 25%, rgba(0, 0, 0, 1) 35%, rgba(0, 0, 0, 1) 100%);
|
||||
mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.25) 3%, rgba(0, 0, 0, 0.5) 7%, rgba(0, 0, 0, 0.75) 15%, rgba(0, 0, 0, 0.9) 25%, rgba(0, 0, 0, 1) 35%, rgba(0, 0, 0, 1) 100%);
|
||||
}
|
||||
.critic-rating {
|
||||
position: absolute;
|
||||
top: 16.45em;
|
||||
left: 26.5em;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
.text-container::after {
|
||||
content: '';
|
||||
background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.7) 6.25%, rgba(0, 0, 0, 0.68) 12.5%, rgba(0, 0, 0, 0.66) 18.75%, rgba(0, 0, 0, 0.64) 25%, rgba(0, 0, 0, 0.6) 31.25%, rgba(0, 0, 0, 0.56) 37.5%, rgba(0, 0, 0, 0.51) 43.75%, rgba(0, 0, 0, 0.45) 50%, rgba(0, 0, 0, 0.38) 56.25%, rgba(0, 0, 0, 0.31) 62.5%, rgba(0, 0, 0, 0.22) 68.75%, rgba(0, 0, 0, 0.14) 75%, rgba(0, 0, 0, 0.13) 81.25%, rgba(0, 0, 0, 0) 100%);
|
||||
z-index: 5;
|
||||
display: flex;
|
||||
position: absolute;
|
||||
width: 100vw;
|
||||
border-top-right-radius: 1em;
|
||||
border-top-left-radius: 1em;
|
||||
bottom: 0em;
|
||||
height: 3em;
|
||||
opacity: 0.8;
|
||||
backdrop-filter: blur(1px);
|
||||
-webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.25) 3%, rgba(0, 0, 0, 0.5) 7%, rgba(0, 0, 0, 0.75) 15%, rgba(0, 0, 0, 0.9) 25%, rgba(0, 0, 0, 1) 35%, rgba(0, 0, 0, 1) 100%);
|
||||
mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.25) 3%, rgba(0, 0, 0, 0.5) 7%, rgba(0, 0, 0, 0.75) 15%, rgba(0, 0, 0, 0.9) 25%, rgba(0, 0, 0, 1) 35%, rgba(0, 0, 0, 1) 100%);
|
||||
.back-button {
|
||||
display: inline-flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: 1.2em;
|
||||
height: 1.2em;
|
||||
border-radius: 50%;
|
||||
overflow: hidden;
|
||||
transition: background 0.3s, color 0.3s;
|
||||
color: #ffffffa1;
|
||||
left: 0.5em;
|
||||
top: 5em;
|
||||
}
|
||||
|
||||
.skip-button {
|
||||
display: inline-flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: 1.2em;
|
||||
height: 1.2em;
|
||||
border-radius: 50%;
|
||||
overflow: hidden;
|
||||
transition: background 0.3s, color 0.3s;
|
||||
color: #ffffffa1;
|
||||
right: 0.5em;
|
||||
top: 5em;
|
||||
}
|
||||
|
||||
.text-container::before {
|
||||
content: '';
|
||||
z-index: 5;
|
||||
display: flex;
|
||||
position: absolute;
|
||||
width: 100vw;
|
||||
top: -19.3em;
|
||||
height: 3em;
|
||||
background: transparent;
|
||||
backdrop-filter: blur(0px);
|
||||
border-top-right-radius: 1em;
|
||||
border-top-left-radius: 1em;
|
||||
-webkit-mask-image: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.25) 3%, rgba(0, 0, 0, 0.5) 7%, rgba(0, 0, 0, 0.75) 15%, rgba(0, 0, 0, 0.9) 25%, rgba(0, 0, 0, 1) 35%, rgba(0, 0, 0, 1) 100%);
|
||||
mask-image: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.25) 3%, rgba(0, 0, 0, 0.5) 7%, rgba(0, 0, 0, 0.75) 15%, rgba(0, 0, 0, 0.9) 25%, rgba(0, 0, 0, 1) 35%, rgba(0, 0, 0, 1) 100%);
|
||||
}
|
||||
|
||||
.text-container::after {
|
||||
content: '';
|
||||
background: linear-gradient(0deg, rgb(0% 0% 0% / 0.98) 0%, rgb(0% 0% 0% / 0.9705847873975829) 6.25%, rgb(0% 0% 0% / 0.9427009709305305) 12.5%, rgb(0% 0% 0% / 0.8974201100282472) 18.75%, rgb(0% 0% 0% / 0.8364823227814083) 25%, rgb(0% 0% 0% / 0.7622294141796051) 31.25%, rgb(0% 0% 0% / 0.6775148818588941) 37.5%, rgb(0% 0% 0% / 0.5855942577879029) 43.75%, rgb(0% 0% 0% / 0.49000000000000005) 50%, rgb(0% 0% 0% / 0.39440574221209723) 56.25%, rgb(0% 0% 0% / 0.3024851181411061) 62.5%, rgb(0% 0% 0% / 0.217770585820395) 68.75%, rgb(0% 0% 0% / 0.14351767721859177) 75%, rgb(0% 0% 0% / 0.0825798899717528) 81.25%, rgb(0% 0% 0% / 0.03729902906946947) 87.5%, rgb(0% 0% 0% / 0.009415212602417067) 93.75%, rgb(0% 0% 0% / 0) 100%);
|
||||
z-index: 5;
|
||||
display: flex;
|
||||
position: absolute;
|
||||
width: 100vw;
|
||||
border-bottom-left-radius: 1em;
|
||||
bottom: 0em;
|
||||
height: 22.5em;
|
||||
opacity: 1;
|
||||
backdrop-filter: blur(0px);
|
||||
-webkit-mask-image: linear-gradient(0deg, rgb(0% 0% 0% / 0.98) 0%, rgb(0% 0% 0% / 0.9705847873975829) 6.25%, rgb(0% 0% 0% / 0.9427009709305305) 12.5%, rgb(0% 0% 0% / 0.8974201100282472) 18.75%, rgb(0% 0% 0% / 0.8364823227814083) 25%, rgb(0% 0% 0% / 0.7622294141796051) 31.25%, rgb(0% 0% 0% / 0.6775148818588941) 37.5%, rgb(0% 0% 0% / 0.5855942577879029) 43.75%, rgb(0% 0% 0% / 0.49000000000000005) 50%, rgb(0% 0% 0% / 0.39440574221209723) 56.25%, rgb(0% 0% 0% / 0.3024851181411061) 62.5%, rgb(0% 0% 0% / 0.217770585820395) 68.75%, rgb(0% 0% 0% / 0.14351767721859177) 75%, rgb(0% 0% 0% / 0.0825798899717528) 81.25%, rgb(0% 0% 0% / 0.03729902906946947) 87.5%, rgb(0% 0% 0% / 0.009415212602417067) 93.75%, rgb(0% 0% 0% / 0) 100%);
|
||||
mask-image: linear-gradient(0deg, rgb(0% 0% 0% / 0.98) 0%, rgb(0% 0% 0% / 0.9705847873975829) 6.25%, rgb(0% 0% 0% / 0.9427009709305305) 12.5%, rgb(0% 0% 0% / 0.8974201100282472) 18.75%, rgb(0% 0% 0% / 0.8364823227814083) 25%, rgb(0% 0% 0% / 0.7622294141796051) 31.25%, rgb(0% 0% 0% / 0.6775148818588941) 37.5%, rgb(0% 0% 0% / 0.5855942577879029) 43.75%, rgb(0% 0% 0% / 0.49000000000000005) 50%, rgb(0% 0% 0% / 0.39440574221209723) 56.25%, rgb(0% 0% 0% / 0.3024851181411061) 62.5%, rgb(0% 0% 0% / 0.217770585820395) 68.75%, rgb(0% 0% 0% / 0.14351767721859177) 75%, rgb(0% 0% 0% / 0.0825798899717528) 81.25%, rgb(0% 0% 0% / 0.03729902906946947) 87.5%, rgb(0% 0% 0% / 0.009415212602417067) 93.75%, rgb(0% 0% 0% / 0) 100%);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.skip-button:hover {
|
||||
background: #101010a8;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.back-button:hover {
|
||||
background: #101010a8;
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
|
||||
.age-rating {
|
||||
@@ -876,18 +889,11 @@ css for back and skip button
|
||||
font-size: 133%;
|
||||
}
|
||||
|
||||
/* .backdrop {}
|
||||
/*
|
||||
.backdrop {}
|
||||
|
||||
.age-rating {}
|
||||
|
||||
.back-button {
|
||||
top: 38vh;
|
||||
}
|
||||
|
||||
.skip-button {
|
||||
top: 38vh;
|
||||
}
|
||||
|
||||
.video-container {}
|
||||
|
||||
.text-container::before {}
|
||||
@@ -896,9 +902,6 @@ css for back and skip button
|
||||
|
||||
.lorem-ipsum {}
|
||||
*/
|
||||
.logo {
|
||||
top: 38vh;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 3000px) {
|
||||
@@ -923,10 +926,11 @@ css for back and skip button
|
||||
|
||||
#video-overlay {
|
||||
position: fixed;
|
||||
top: 13vh;
|
||||
top: 10vh;
|
||||
border-radius: 1em;
|
||||
left: 0vw;
|
||||
width: 100%;
|
||||
height: 140vh;
|
||||
width: 94.5vw;
|
||||
height: 55vh;
|
||||
background-color: rgb(0, 0, 0);
|
||||
z-index: 1000;
|
||||
display: flex;
|
||||
@@ -938,12 +942,30 @@ css for back and skip button
|
||||
|
||||
#video-overlay-content {
|
||||
position: relative;
|
||||
width: 90%;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
height: 60%;
|
||||
height: 100%;
|
||||
background-color: #000;
|
||||
}
|
||||
|
||||
@media (orientation: portrait) {
|
||||
#video-overlay {
|
||||
position: fixed;
|
||||
top: 10vh;
|
||||
border-radius: 1em;
|
||||
left: 0vw;
|
||||
width: 87.5vw;
|
||||
height: 68vh;
|
||||
background-color: rgb(0, 0, 0);
|
||||
z-index: 1000;
|
||||
display: flex;
|
||||
background-size: cover;
|
||||
padding: 6vh;
|
||||
padding-top: 10vh;
|
||||
margin-top: -10vh;
|
||||
}
|
||||
}
|
||||
|
||||
#close-overlay {
|
||||
position: absolute;
|
||||
top: -1em;
|
||||
@@ -998,4 +1020,64 @@ css for back and skip button
|
||||
vertical-align: middle;
|
||||
font-size: 0.85em;
|
||||
opacity: 0.75;
|
||||
}
|
||||
|
||||
.logo {
|
||||
opacity: 0;
|
||||
animation: fadeIn 1.5s ease-in forwards;
|
||||
animation-delay: 1s;
|
||||
}
|
||||
|
||||
@keyframes fadeIn {
|
||||
to {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.plot {
|
||||
opacity: 0;
|
||||
animation: fadeIn 1s ease-in forwards;
|
||||
animation-delay: 2s;
|
||||
}
|
||||
|
||||
@keyframes fadeIn {
|
||||
to {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.genres {
|
||||
opacity: 0;
|
||||
animation: fadeIn 1s ease-in forwards;
|
||||
animation-delay: 1.5s;
|
||||
}
|
||||
|
||||
@keyframes fadeIn {
|
||||
to {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.lorem-ipsum {
|
||||
opacity: 0;
|
||||
animation: fadeIn 1s ease-in forwards;
|
||||
animation-delay: 1.5s;
|
||||
}
|
||||
|
||||
@keyframes fadeIn {
|
||||
to {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.text-container::after {
|
||||
opacity: 0.7;
|
||||
animation: fadeIn 1.5s ease-in forwards;
|
||||
animation-delay: 1s;
|
||||
}
|
||||
|
||||
@keyframes fadeIn {
|
||||
to {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user