mirror of
https://github.com/lscambo13/ElegantFin.git
synced 2025-12-28 06:47:46 +00:00
New: Shift the media page content up when Now Playing bottom bar is visible
This commit is contained in:
@@ -92,9 +92,6 @@
|
|||||||
--sidePadding: 3.3%;
|
--sidePadding: 3.3%;
|
||||||
--itemColumnGap: 1em;
|
--itemColumnGap: 1em;
|
||||||
|
|
||||||
--primaryItemPageNegativeSpace: 14vh;
|
|
||||||
--secondaryItemPageNegativeSpace: 60vh;
|
|
||||||
--clearLogoBottomSpace: 11em;
|
|
||||||
--minEpisodeCardWidth: 26em;
|
--minEpisodeCardWidth: 26em;
|
||||||
|
|
||||||
--blurSmallest: blur(2px);
|
--blurSmallest: blur(2px);
|
||||||
@@ -163,6 +160,10 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
html {
|
html {
|
||||||
|
--primaryItemPageNegativeSpace: 14vh;
|
||||||
|
--secondaryItemPageNegativeSpace: 60vh;
|
||||||
|
--clearLogoBottomSpace: 11em;
|
||||||
|
|
||||||
font-family: "Inter", sans-serif;
|
font-family: "Inter", sans-serif;
|
||||||
font-optical-sizing: auto;
|
font-optical-sizing: auto;
|
||||||
font-weight: 425;
|
font-weight: 425;
|
||||||
@@ -170,6 +171,11 @@ html {
|
|||||||
-webkit-tap-highlight-color: transparent !important;
|
-webkit-tap-highlight-color: transparent !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.layout-desktop:has(.nowPlayingBar:not(.hide)) {
|
||||||
|
--primaryItemPageNegativeSpace: calc(14vh + 5em);
|
||||||
|
--secondaryItemPageNegativeSpace: calc(60vh + 5em);
|
||||||
|
}
|
||||||
|
|
||||||
.layout-mobile {
|
.layout-mobile {
|
||||||
--itemColumnGap: 0;
|
--itemColumnGap: 0;
|
||||||
--headerColorGradient: var(--headerColorGradientAlt);
|
--headerColorGradient: var(--headerColorGradientAlt);
|
||||||
|
|||||||
Reference in New Issue
Block a user