mirror of
https://github.com/IAmParadox27/jellyfin-plugin-media-bar.git
synced 2026-11-05 15:42:48 +01:00
source-in is a -webkit-mask-composite value and is not valid for the standard mask-composite property, which accepts only add, subtract, intersect and exclude. Firefox drops the invalid declaration and falls back to the initial value add, which unions the two mask layers instead of intersecting them. The horizontal fade is lost and the 40% wide backdrop hard cuts against the playing trailer. Chromium is unaffected either way because it honours the -webkit-mask-composite line that follows, which is left unchanged. .video-container already uses the intersect and source-in pairing.
902 lines
15 KiB
CSS
902 lines
15 KiB
CSS
/*
|
|
* Jellyfin Slideshow by M0RPH3US v5.0.1
|
|
*/
|
|
|
|
@import url(https://fonts.googleapis.com/css2?family=Archivo+Narrow:ital,wght@0,400..700;1,400..700&display=swap);
|
|
|
|
.backdrop.animate {
|
|
animation:
|
|
frostedGlass 1.2s cubic-bezier(0.4, 0, 0.2, 1),
|
|
kenBurnsZoomIn 10s ease-out forwards;
|
|
}
|
|
|
|
.logo.animate {
|
|
animation: frostedGlass 1.2s cubic-bezier(0.4, 0, 0.2, 1);
|
|
}
|
|
|
|
@keyframes frostedGlass {
|
|
from {
|
|
filter: blur(8px);
|
|
opacity: 0.7;
|
|
}
|
|
|
|
to {
|
|
filter: blur(0);
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@keyframes kenBurnsZoomIn {
|
|
from {
|
|
transform: scale3d(1, 1, 0);
|
|
}
|
|
|
|
to {
|
|
transform: scale3d(1.1, 1.1, 0.1);
|
|
}
|
|
}
|
|
|
|
.bar-loading {
|
|
z-index: 99999999 !important;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
background-color: #000;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
opacity: 1;
|
|
transition: opacity 0.3s ease-in-out;
|
|
overflow: hidden;
|
|
will-change: opacity;
|
|
}
|
|
|
|
.bar-loading.hide {
|
|
opacity: 0;
|
|
}
|
|
|
|
.loader-content {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 20px;
|
|
width: 250px;
|
|
height: auto;
|
|
}
|
|
|
|
.bar-loading h1 {
|
|
width: 250px;
|
|
margin: 0 auto;
|
|
height: 250px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.bar-loading h1 div {
|
|
width: 250px;
|
|
max-height: 250px;
|
|
display: block;
|
|
object-fit: contain;
|
|
opacity: 0;
|
|
transition: opacity 0.5s ease-in-out;
|
|
}
|
|
|
|
.progress-container {
|
|
width: 200px;
|
|
height: 6px;
|
|
display: flex;
|
|
align-items: center;
|
|
position: relative;
|
|
}
|
|
|
|
.progress-bar {
|
|
height: 5px;
|
|
background: white;
|
|
border-radius: 2px;
|
|
transition: width 0.2s ease-in-out;
|
|
}
|
|
|
|
.progress-gap {
|
|
width: 6px;
|
|
height: 5px;
|
|
background: transparent;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.unfilled-bar {
|
|
height: 5px;
|
|
background: #686868;
|
|
border-radius: 2px;
|
|
flex-grow: 1;
|
|
transition: width 0.2s ease-in-out;
|
|
}
|
|
|
|
.splashLogo {
|
|
height: 12%;
|
|
}
|
|
|
|
/* .video-container {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
height: 100%;
|
|
width: 0;
|
|
z-index: 2;
|
|
overflow: hidden;
|
|
transition:
|
|
width 0.5s ease-in-out,
|
|
opacity 0.5s ease-in-out;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
mask-image:
|
|
linear-gradient(to right, transparent 10%, black 30%),
|
|
linear-gradient(to top, transparent 2%, rgba(0, 0, 0, 0.5) 6%, black 8%);
|
|
|
|
-webkit-mask-image:
|
|
linear-gradient(to right, transparent 10%, black 30%),
|
|
linear-gradient(to top, transparent 2%, rgba(0, 0, 0, 0.5) 6%, black 8%);
|
|
|
|
mask-composite: intersect;
|
|
-webkit-mask-composite: source-in;
|
|
}
|
|
|
|
.video-container.active {
|
|
opacity: 1;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.video-player {
|
|
width: 100%;
|
|
height: 100%;
|
|
} */
|
|
|
|
.video-container {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
width: 100vw;
|
|
height: 56.25vw;
|
|
min-height: 100vh;
|
|
min-width: 177.77vh;
|
|
z-index: 0;
|
|
pointer-events: none;
|
|
overflow: hidden;
|
|
opacity: 0;
|
|
transition: opacity 0.5s ease-in-out;
|
|
mask-image:
|
|
linear-gradient(to right, transparent 10%, black 30%),
|
|
linear-gradient(to top, transparent 15%, rgba(0, 0, 0, 0.5) 20%, black 30%);
|
|
|
|
-webkit-mask-image:
|
|
linear-gradient(to right, transparent 10%, black 30%),
|
|
linear-gradient(to top, transparent 15%, rgba(0, 0, 0, 0.5) 20%, black 30%);
|
|
|
|
mask-composite: intersect;
|
|
-webkit-mask-composite: source-in;
|
|
}
|
|
|
|
.video-container.active {
|
|
opacity: 1;
|
|
}
|
|
|
|
.video-player {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.video-player iframe {
|
|
width: 100%;
|
|
height: 100%;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.volume-toggle {
|
|
position: absolute;
|
|
top: 5rem;
|
|
right: 3.5rem;
|
|
cursor: pointer;
|
|
color: white;
|
|
z-index: 10;
|
|
opacity: 0.3;
|
|
transition: opacity 0.3s ease;
|
|
text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
|
|
}
|
|
|
|
.volume-toggle:hover {
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.volume-toggle i {
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
@media (max-width: 1599px) {
|
|
.volume-toggle {
|
|
top: 8rem;
|
|
}
|
|
.volume-toggle i {
|
|
font-size: 2rem;
|
|
}
|
|
}
|
|
|
|
.backdrop.low-quality {
|
|
filter: blur(0.5px);
|
|
transform: scale(1.01);
|
|
transition:
|
|
filter 0.3s ease-in-out,
|
|
transform 0.3s ease-in-out;
|
|
}
|
|
|
|
.backdrop.high-quality {
|
|
filter: blur(0);
|
|
transform: scale(1);
|
|
transition:
|
|
filter 0.3s ease-in-out,
|
|
transform 0.3s ease-in-out;
|
|
}
|
|
|
|
.logo.low-quality {
|
|
filter: brightness(1) blur(0.5px);
|
|
transition: filter 0.3s ease-in-out;
|
|
}
|
|
|
|
.logo.high-quality {
|
|
filter: brightness(1.1) blur(0);
|
|
transition: filter 0.3s ease-in-out;
|
|
}
|
|
|
|
.homeSectionsContainer {
|
|
position: relative;
|
|
top: 65vh;
|
|
z-index: 6;
|
|
}
|
|
|
|
#slides-container {
|
|
position: relative;
|
|
width: 100vw;
|
|
height: 90%;
|
|
overflow: hidden;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.arrow {
|
|
position: absolute;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
font-size: 12px;
|
|
cursor: pointer;
|
|
color: #fff;
|
|
z-index: 5;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
-webkit-tap-highlight-color: #fff0;
|
|
}
|
|
|
|
.left-arrow {
|
|
left: 20px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.right-arrow {
|
|
right: 20px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.pause-button {
|
|
position: absolute;
|
|
top: 5rem;
|
|
right: 0.8rem;
|
|
cursor: pointer;
|
|
color: white;
|
|
z-index: 10;
|
|
opacity: 0.3;
|
|
transition: opacity 0.3s ease;
|
|
text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
|
|
}
|
|
|
|
.pause-button i {
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.pause-button:hover {
|
|
opacity: 0.9;
|
|
}
|
|
|
|
@media (max-width: 1599px) {
|
|
.pause-button {
|
|
top: 8rem;
|
|
}
|
|
|
|
.pause-button i {
|
|
font-size: 2rem;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.pause-button i {
|
|
font-size: 2.5rem;
|
|
}
|
|
}
|
|
|
|
.dots-container {
|
|
position: absolute;
|
|
top: calc(50% + 18vh);
|
|
right: 3%;
|
|
z-index: 5;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
width: auto;
|
|
height: auto;
|
|
transition: opacity 0.3s ease-in-out;
|
|
}
|
|
|
|
.dot {
|
|
display: inline-block;
|
|
width: 0.5em;
|
|
height: 0.5em;
|
|
margin: 0 5px;
|
|
background-color: #cecece99;
|
|
border-radius: 50%;
|
|
transform-origin: center;
|
|
transition:
|
|
transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
|
|
background-color 0.5s ease-in-out;
|
|
}
|
|
|
|
.dot.active {
|
|
background-color: #fff;
|
|
transform: scale(1.7);
|
|
}
|
|
|
|
.slide {
|
|
opacity: 0;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
transition: opacity 0.5s ease-in-out;
|
|
z-index: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.slide.active {
|
|
opacity: 1;
|
|
z-index: 1;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.backdrop-container {
|
|
position: absolute;
|
|
top: 0%;
|
|
right: 0%;
|
|
width: 100%;
|
|
height: 100%;
|
|
mask-image: linear-gradient(
|
|
to top,
|
|
#fff0 2%,
|
|
rgb(0 0 0 / 0.5) 6%,
|
|
#000000 8%
|
|
);
|
|
-webkit-mask-image: linear-gradient(
|
|
to top,
|
|
#fff0 2%,
|
|
rgb(0 0 0 / 0.5) 6%,
|
|
#000000 8%
|
|
);
|
|
}
|
|
|
|
.backdrop {
|
|
right: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
object-position: center 20%;
|
|
border-radius: 5px;
|
|
z-index: 3;
|
|
transition:
|
|
width 1.5s ease-in-out,
|
|
mask-image 1.5s ease-in-out,
|
|
-webkit-mask-image 1.5s ease-in-out;
|
|
will-change: width;
|
|
}
|
|
|
|
.backdrop.with-video {
|
|
width: 40%;
|
|
mask-image:
|
|
linear-gradient(to top, #fff0 2%, rgb(0 0 0 / 0.5) 6%, #000000 8%),
|
|
linear-gradient(to right, black 30%, transparent 85%);
|
|
|
|
-webkit-mask-image:
|
|
linear-gradient(to top, #fff0 2%, rgb(0 0 0 / 0.5) 6%, #000000 8%),
|
|
linear-gradient(to right, black 30%, transparent 85%);
|
|
|
|
mask-composite: intersect;
|
|
-webkit-mask-composite: source-in;
|
|
}
|
|
|
|
.backdrop-overlay {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: rgba(0, 0, 0, 0.2);
|
|
border-radius: 5px;
|
|
z-index: 4;
|
|
mask-image: linear-gradient(
|
|
to top,
|
|
#fff0 2%,
|
|
rgb(0 0 0 / 0.5) 4%,
|
|
#000000 6%
|
|
);
|
|
-webkit-mask-image: linear-gradient(
|
|
to top,
|
|
#fff0 2%,
|
|
rgb(0 0 0 / 0.5) 4%,
|
|
#000000 6%
|
|
);
|
|
}
|
|
|
|
.gradient-overlay {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: linear-gradient(
|
|
130deg,
|
|
rgba(29, 29, 29, 0.65) 10%,
|
|
rgba(29, 29, 29, 0.35) 30%,
|
|
rgba(29, 29, 29, 0) 100%
|
|
);
|
|
z-index: 4;
|
|
mask-image: linear-gradient(
|
|
to top,
|
|
#fff0 2%,
|
|
rgb(0 0 0 / 0.5) 4%,
|
|
#000000 6%
|
|
);
|
|
-webkit-mask-image: linear-gradient(
|
|
to top,
|
|
#fff0 2%,
|
|
rgb(0 0 0 / 0.5) 4%,
|
|
#000000 6%
|
|
);
|
|
}
|
|
|
|
.logo-container {
|
|
width: 40%;
|
|
height: 35%;
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
z-index: 5;
|
|
top: 15vh;
|
|
left: 4vw;
|
|
}
|
|
|
|
.logo {
|
|
max-height: 70%;
|
|
max-width: 100%;
|
|
height: auto;
|
|
width: auto;
|
|
object-fit: contain;
|
|
filter: brightness(1.5);
|
|
font-size: 4rem;
|
|
}
|
|
|
|
.plot-container {
|
|
position: absolute;
|
|
top: calc(50% + 8vh);
|
|
color: #fff;
|
|
height: 15%;
|
|
width: 90%;
|
|
left: 4vw;
|
|
z-index: 5;
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: flex-start;
|
|
text-align: justify;
|
|
box-sizing: border-box;
|
|
transition: width 0.5s ease-in-out;
|
|
}
|
|
|
|
.plot-container.with-video {
|
|
width: 45%;
|
|
}
|
|
|
|
.plot {
|
|
display: -webkit-box;
|
|
line-clamp: 2;
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.genre {
|
|
display: flex;
|
|
gap: 5px;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: absolute;
|
|
top: calc(50% + 4vh);
|
|
left: 4vw;
|
|
text-align: center;
|
|
color: #fff;
|
|
font-family: "Archivo Narrow", sans-serif;
|
|
z-index: 5;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.button-container {
|
|
position: absolute;
|
|
top: calc(50% + 17vh);
|
|
left: 4vw;
|
|
display: flex;
|
|
z-index: 5;
|
|
justify-content: space-between;
|
|
gap: 15px;
|
|
}
|
|
|
|
.play-button {
|
|
display: inline-flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 8px 16px;
|
|
border: solid 0px rgba(255, 255, 255, 0);
|
|
font-family: "Archivo Narrow", sans-serif;
|
|
font-size: 18px;
|
|
white-space: nowrap;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
font-weight: 700;
|
|
gap: 6px;
|
|
-webkit-tap-highlight-color: #fff0;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.detail-button {
|
|
font-size: 18px;
|
|
color: rgb(0, 0, 0);
|
|
border-radius: 50%;
|
|
height: 50px;
|
|
width: 50px;
|
|
border: none;
|
|
cursor: pointer;
|
|
transition: color 0.2s;
|
|
-webkit-tap-highlight-color: #fff0;
|
|
}
|
|
|
|
.favorite-button {
|
|
font-size: 18px;
|
|
color: red;
|
|
border-radius: 50%;
|
|
height: 50px;
|
|
width: 50px;
|
|
border: none;
|
|
cursor: pointer;
|
|
transition: color 0.2s;
|
|
-webkit-tap-highlight-color: #fff0;
|
|
}
|
|
|
|
.favorite-button.favorited {
|
|
color: red;
|
|
}
|
|
|
|
.favorite-button::before {
|
|
content: "favorite_outline";
|
|
font-family: "Material Icons";
|
|
}
|
|
|
|
.favorite-button.favorited::before {
|
|
content: "favorite";
|
|
font-family: "Material Icons";
|
|
}
|
|
|
|
.play-button::before {
|
|
content: "play_arrow";
|
|
font-family: "Material Icons";
|
|
}
|
|
|
|
.detail-button::before {
|
|
content: "info_outline";
|
|
font-family: "Material Icons";
|
|
}
|
|
|
|
.play-button::before,
|
|
.detail-button::before,
|
|
.favorite-button::before,
|
|
.favorite-button.favorited::before {
|
|
font-weight: 600;
|
|
display: inline-block;
|
|
font-size: 22px;
|
|
color: inherit;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.play-button:hover,
|
|
.detail-button:hover,
|
|
.favorite-button:hover {
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.info-container {
|
|
position: absolute;
|
|
top: calc(50% + 0vh);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
left: 4vw;
|
|
color: #fff;
|
|
z-index: 5;
|
|
align-content: center;
|
|
flex-wrap: wrap;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.misc-info {
|
|
font-family: "Archivo Narrow", sans-serif;
|
|
display: flex;
|
|
align-items: center;
|
|
z-index: 5;
|
|
position: relative;
|
|
gap: 10px;
|
|
}
|
|
|
|
.runTime {
|
|
font-family: "Archivo Narrow", sans-serif;
|
|
display: flex;
|
|
align-items: center;
|
|
align-content: center;
|
|
justify-content: center;
|
|
flex-wrap: wrap;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.community-rating-star {
|
|
color: #f2b01e;
|
|
font-size: 1.4em;
|
|
height: auto !important;
|
|
margin-right: 0.125em;
|
|
width: auto !important;
|
|
}
|
|
|
|
.star-rating-container {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.critic-rating {
|
|
-webkit-align-items: center;
|
|
align-items: center;
|
|
display: flex;
|
|
min-height: 1.2em;
|
|
gap: 0.25em;
|
|
}
|
|
|
|
.age-rating {
|
|
display: flex;
|
|
align-items: center;
|
|
border-radius: 5px;
|
|
background: rgb(255 255 255 / 0.8);
|
|
color: #000;
|
|
border: none;
|
|
font-weight: 600;
|
|
white-space: nowrap;
|
|
padding: 0 0.5em;
|
|
}
|
|
|
|
.date {
|
|
font-family: "Archivo Narrow", sans-serif;
|
|
font-weight: 500;
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
align-content: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.separator-icon {
|
|
font-size: 10px;
|
|
color: aquamarine;
|
|
}
|
|
|
|
.featured-content {
|
|
display: none;
|
|
}
|
|
|
|
/*Portrait-Modes Phone*/
|
|
@media only screen and (max-width: 767px) and (orientation: portrait) {
|
|
.plot-container {
|
|
display: none;
|
|
}
|
|
|
|
.backdrop-container {
|
|
position: absolute;
|
|
right: 0%;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.video-container {
|
|
display: none !important;
|
|
}
|
|
|
|
.volume-toggle i {
|
|
display: none !important;
|
|
}
|
|
|
|
.backdrop.with-video {
|
|
width: 100% !important;
|
|
mask-image: none !important;
|
|
}
|
|
|
|
.backdrop {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
object-position: center 20%;
|
|
z-index: 3;
|
|
mask-image: linear-gradient(
|
|
to top,
|
|
#fff0 2%,
|
|
rgb(0 0 0 / 0.5) 6%,
|
|
#000000 8%
|
|
);
|
|
-webkit-mask-image: linear-gradient(
|
|
to top,
|
|
#fff0 2%,
|
|
rgb(0 0 0 / 0.5) 6%,
|
|
#000000 8%
|
|
);
|
|
}
|
|
|
|
.gradient-overlay {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: rgb(0 0 0 / 0.25);
|
|
z-index: 4;
|
|
pointer-events: none;
|
|
mask-image: linear-gradient(
|
|
to top,
|
|
#fff0 2%,
|
|
rgb(0 0 0 / 0.5) 6%,
|
|
#000000 8%
|
|
);
|
|
-webkit-mask-image: linear-gradient(
|
|
to top,
|
|
#fff0 2%,
|
|
rgb(0 0 0 / 0.5) 6%,
|
|
#000000 8%
|
|
);
|
|
}
|
|
|
|
.dots-container {
|
|
top: calc(50% + 20vh);
|
|
left: 50%;
|
|
transform: translateX(-50%) scale(0.8);
|
|
background-color: #ffffff00;
|
|
}
|
|
|
|
.dot.active {
|
|
transform: scale(1.6);
|
|
}
|
|
|
|
.genre {
|
|
top: calc(50% + 15vh);
|
|
left: 50%;
|
|
width: 100%;
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
.info-container {
|
|
top: calc(50% + 10vh);
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
width: 95%;
|
|
}
|
|
|
|
.button-container {
|
|
top: calc(50% + 25vh);
|
|
left: 50%;
|
|
transform: translateX(-50%) scale(0.95);
|
|
}
|
|
|
|
.logo {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
max-height: 60%;
|
|
max-width: 100%;
|
|
width: auto;
|
|
z-index: 5;
|
|
filter: brightness(1.5);
|
|
transform: translate(-50%, -50%);
|
|
transition: filter 0.3s ease;
|
|
}
|
|
|
|
.logo-container {
|
|
width: 75%;
|
|
height: 25%;
|
|
position: relative;
|
|
display: flex;
|
|
align-items: start;
|
|
z-index: 5;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
}
|
|
}
|
|
|
|
/*Landscape Mode Phones*/
|
|
@media only screen and (max-height: 767px) and (orientation: landscape) {
|
|
#slides-container {
|
|
height: 100%;
|
|
}
|
|
|
|
.homeSectionsContainer {
|
|
top: 57vh;
|
|
}
|
|
|
|
.button-container {
|
|
left: 3vw;
|
|
transform: scale(0.85);
|
|
}
|
|
|
|
.dots-container {
|
|
scale: 0.6;
|
|
}
|
|
|
|
.info-container {
|
|
top: calc(50% + -10vh);
|
|
}
|
|
|
|
.plot-container {
|
|
top: calc(50% + 6vh);
|
|
}
|
|
|
|
.genre {
|
|
top: calc(50% + -1vh);
|
|
}
|
|
|
|
.logo-container {
|
|
height: 30%;
|
|
top: 10%;
|
|
}
|
|
|
|
.logo-container,
|
|
.info-container,
|
|
.genre,
|
|
.plot-container {
|
|
left: 5vw;
|
|
}
|
|
}
|
|
|
|
@media only screen and (min-width: 2560px) {
|
|
.button-container {
|
|
top: calc(50% + 15vh);
|
|
}
|
|
|
|
.dots-container {
|
|
top: calc(50% + 15vh);
|
|
}
|
|
}
|