Fix: Updated the media bar plugin styling on mobile to match the desktop layout

This commit is contained in:
lscambo13
2025-08-06 10:03:55 -07:00
parent 41c6259e85
commit 0f897b91cd

View File

@@ -41,8 +41,16 @@
} }
/* this is my own take */ /* this is my own take */
.layout-desktop #slides-container, .rating-value {
.layout-tv #slides-container { flex-wrap: wrap;
justify-content: center;
}
.age-rating {
font-size: 0.8em;
}
#slides-container {
width: calc(100vw - (2 * var(--sidePadding))); width: calc(100vw - (2 * var(--sidePadding)));
height: 60%; height: 60%;
top: 8em; top: 8em;
@@ -56,24 +64,46 @@
top: 0em; top: 0em;
} }
.layout-desktop .logo-container, .layout-mobile #slides-container {
.layout-tv .logo-container { top: 10em;
}
.logo-container {
top: 10vh; top: 10vh;
} }
.layout-desktop .backdrop, .backdrop,
.layout-desktop .backdrop-container, .backdrop-container,
.layout-desktop .backdrop-overlay, .backdrop-overlay {
.layout-tv .backdrop,
.layout-tv .backdrop-container,
.layout-tv .backdrop-overlay {
mask-image: none; mask-image: none;
-webkit-mask-image: none; -webkit-mask-image: none;
} }
.layout-desktop .backdrop-overlay, .backdrop-overlay {
.layout-tv .backdrop-overlay {
background: linear-gradient(0deg, rgba(0, 0, 0, .85), 40%, transparent); background: linear-gradient(0deg, rgba(0, 0, 0, .85), 40%, transparent);
} }
@media only screen and (max-width: 767px) and (orientation: portrait) {
.button-container {
top: calc(50% + 20vh);
transform: translateX(-50%) scale(0.8);
}
.info-container {
/* top: calc(50% + 6vh); */
}
.tomato-rating {
display: none;
}
.dots-container {
top: calc(50% + 19vh);
}
.backdrop {
transform-origin: center;
}
}
/* this styles the media bar plugin - end */ /* this styles the media bar plugin - end */