Compare commits

...

35 Commits

Author SHA1 Message Date
Samira eee19b47e0 Applied itemsContainer styling from desktop to mobile as well
Deploy to Unraid Share / copy-file (push) Successful in 5s
2026-04-29 22:58:40 +02:00
Samira a4afdf96e2 Changed horizontal padding to 5%
Deploy to Unraid Share / copy-file (push) Successful in 10s
2026-04-29 22:39:36 +02:00
Samira df38f118d3 Fixed hiding of characters left by moving around season title on mobile 2026-04-29 20:06:33 +02:00
Samira 15d3e3ba52 Matched media titles padding on mobile to homepage
Deploy to Unraid Share / copy-file (push) Successful in 10s
2026-04-29 19:23:31 +02:00
Samira 295d42f322 Refactor for clarity 2026-04-29 19:15:27 +02:00
Samira 96f9485a1e Added padding to titles on mobile 2026-04-29 19:14:55 +02:00
Samira 5e8de743ae Refactor and commenting of old code
Deploy to Unraid Share / copy-file (push) Successful in 10s
2026-04-28 17:49:29 +02:00
Samira ea6562946a Applied starry background to media detail pages on mobile as well 2026-04-28 17:22:50 +02:00
Samira 00b72fe044 Added clarifying comments 2026-04-28 17:18:17 +02:00
Samira 780317e469 Set size of starry background to depend on screen width as well 2026-04-28 16:55:42 +02:00
Samira 699dfdc39f Fixed header disappearing when scrolling on phone
Deploy to Unraid Share / copy-file (push) Successful in 7s
2026-04-28 14:57:53 +02:00
Samira 6379aebc5b Added clarifying comment
Deploy to Unraid Share / copy-file (push) Successful in 11s
2026-04-28 14:40:04 +02:00
Samira 3aa9620bf1 Fixed push applying on smaller screens instead of the other way around 2026-04-28 14:39:00 +02:00
Samira 8b51756ac7 Push content down from under graphic
Deploy to Unraid Share / copy-file (push) Successful in 12s
2026-04-27 23:24:10 +02:00
Samira c96a761dc7 Fixed header buttons not displaying
Deploy to Unraid Share / copy-file (push) Successful in 4s
2026-04-27 22:13:01 +02:00
Samira 18ad8d5e63 Fixed milky way sizing on non-1080p screens
Deploy to Unraid Share / copy-file (push) Successful in 9s
2026-04-27 22:03:58 +02:00
Samira acf71045ff Incorporated stars on media detail pages as well 2026-04-27 17:43:42 +02:00
Samira 171f16c847 Fixed milky way positioning being dependent on viewport height
Deploy to Unraid Share / copy-file (push) Successful in 11s
2026-04-27 16:56:01 +02:00
Samira 705dbce4c2 Fixed wonky media detail page
Deploy to Unraid Share / copy-file (push) Successful in 10s
2026-04-26 04:01:45 +02:00
Samira 0780f366b6 Added starry background
Deploy to Unraid Share / copy-file (push) Successful in 12s
2026-04-26 01:53:01 +02:00
Samira 951678264b Added milky way graphic to header
Deploy to Unraid Share / copy-file (push) Successful in 12s
2026-04-26 01:42:21 +02:00
Samira 52d771d99f Applied smaller width to homepage as well
Deploy to Unraid Share / copy-file (push) Successful in 12s
2026-04-24 21:35:26 +02:00
Samira 0807f9d2c3 Added fade-out to scrollable lists
Deploy to Unraid Share / copy-file (push) Successful in 11s
2026-04-24 20:09:48 +02:00
Samira 4fed2c0d1d Improved and fixed css selectors for lists
Deploy to Unraid Share / copy-file (push) Successful in 4s
2026-04-24 14:42:27 +02:00
Samira a1d6e58635 FIxed no gap on scrollable lists 2026-04-24 14:35:16 +02:00
Samira 5578886e46 Fixed scrollable horizontal lists centering their content
Deploy to Unraid Share / copy-file (push) Successful in 4s
2026-04-24 14:32:55 +02:00
Samira 73e10b31ef Changed layout of episode title
Deploy to Unraid Share / copy-file (push) Successful in 11s
2026-04-24 14:23:38 +02:00
Samira 4ef92b5e78 Added transition to episode hover 2026-04-23 21:32:01 +02:00
Samira 9e3f7ec75d Fixed episode buttons not being visible on phone
Deploy to Unraid Share / copy-file (push) Successful in 6s
2026-04-23 20:36:32 +02:00
Samira 43d8d6ec52 Only show episode play button on hover 2026-04-23 20:35:57 +02:00
Samira f4c80d1f97 Only show episode buttons on hover
Deploy to Unraid Share / copy-file (push) Successful in 12s
2026-04-23 20:28:25 +02:00
Samira 9390c23a87 Changed layout of episode cards for better readability
Deploy to Unraid Share / copy-file (push) Successful in 12s
2026-04-23 17:52:23 +02:00
Samira fe7d9b2f04 Changed size of portrait cards to allow break after three cards
Deploy to Unraid Share / copy-file (push) Successful in 8s
2026-04-22 19:40:02 +02:00
Samira f2ba963f6e Fixed updated class name
Deploy to Unraid Share / copy-file (push) Successful in 11s
2026-04-22 19:04:24 +02:00
Samira 6c1b757c99 Fixed background not changing
Deploy to Unraid Share / copy-file (push) Successful in 4s
2026-04-22 15:58:20 +02:00
+197 -22
View File
@@ -1,3 +1,4 @@
/* Set size of logo, depending on orientation */
@media (orientation: landscape) {
:root {
--logo-width: clamp(34.08em, 40vw, 56.89em);
@@ -12,21 +13,111 @@
}
}
/* Set size of background, depending on screen width */
@media (max-width: 100em) {
/* Set static graphic width on smaller screens */
:root {
--background-width: 100rem;
}
}
@media (min-width: 100em) {
/* Set graphic to width of screen */
:root {
--background-width: 100%;
}
}
/* ============================== */
/* Header
/* Global
/* ============================== */
/* Enable rem to match media queries */
html {
font-size: unset !important;
}
body {
font-size: 93% !important;
}
/* Add Milky Way graphic to header */
.skinHeader {
/* Position graphic behind header */
margin-top: calc(-1 * (0.2202 * var(--background-width)));
height: 100%;
padding-top: calc(0.2202 * var(--background-width));
/* Add graphic */
backdrop-filter: none !important;
background-color: rgba(0, 0, 0, 0.4);
background-color: rgba(0, 0, 0, 0) !important;
background-image: url("https://static.zomerkoningin.nl/andromeda/images/milkyway_header.webp");
background-repeat: no-repeat;
background-size: var(--background-width) auto;
background-position-x: center;
background-position-y: top;
/* Pass-through clicks */
pointer-events: none;
/* Keep header visible when scrolling on phone */
transform: unset !important;
}
.skinHeader > .headerTop {
flex-grow: 0 !important;
}
.skinHeader > * {
/* Limit pass-through to graphic only */
pointer-events: auto;
}
@media (min-width: 100em) {
/* Push content down from under graphic on wider screens */
div.skinBody > div.page {
padding-top: 15rem !important;
}
}
/* Add starry background */
.backdropContainer {
background-image: url("https://static.zomerkoningin.nl/andromeda/images/nightsky.webp");
background-size: var(--background-width) auto;
background-position: center center;
}
.backgroundContainer {
display: none;
}
/* Add fade-out to scrollable lists */
div:has(> div > .emby-scroller-container) {
mask: linear-gradient(90deg, transparent 0, black 12.5%), linear-gradient(270deg, transparent 0, black 12.5%);
mask-composite: intersect;
}
/* ============================== */
/* Homepage
/* ============================== */
/* Center sections on desktop */
.layout-desktop .sections > div {
margin-left: auto;
margin-right: auto;
width: 75%;
padding-left: unset !important;
padding-right: unset !important;
}
/* Match padding to other pages on mobile */
.layout-mobile .verticalSection > * {
padding-left: 5% !important;
padding-right: 5% !important;
}
/* Remove margin in favour of flex gap */
.itemsContainer > * {
margin: unset !important;
}
/* ============================== */
/* Media detail page
/* ============================== */
/* Background */
/* Remove backdrop used as padding on desktop */
.layout-desktop .itemBackdrop {
display: none;
}
/* Position backdrop on mobile */
.layout-mobile .itemBackdrop {
margin-top: unset;
@@ -37,29 +128,36 @@
width: 100%;
height: 100%;
}
.layout-mobile .backgroundContainer {
background-color: rgba(0, 0, 0, 0.86);
}
/* Remove shadow in favour of starry background */
.detailPagePrimaryContainer {
background-color: transparent;
background-color: transparent !important;
}
/* Logo */
/* Show stars in background */
.layout-desktop .backdropContainer > .backdropImage {
opacity: 0.14 !important;
}
.layout-mobile .itemBackdrop {
opacity: 0.14 !important;
}
/* Instead of an element as padding, use a pseudo-element */
.layout-desktop .libraryPage.itemDetailPage::before {
/* Increase padding along screen width */
height: calc(30vw - var(--logo-height));
max-height: 13.35em;
}
.layout-mobile .libraryPage.itemDetailPage::before {
/* Use static padding on mobile */
height: 10.3em;
}
.libraryPage.itemDetailPage::before {
display: block;
height: calc(30vw - var(--logo-height));
max-height: 13.35em;
content: "";
}
/* Position logo after padding */
.layout-mobile .detailLogo {
display: block;
}
@@ -78,7 +176,7 @@
background-position: bottom;
}
/* Poster */
/* Hide poster */
.detailImageContainer {
display: none;
}
@@ -100,6 +198,12 @@
background: rgba(0,0,0,0) !important;
}
/* Add padding to titles on mobile */
.layout-mobile .nameContainer > * {
padding-left: 5% !important;
padding-right: 5% !important;
}
/* Media title */
.nameContainer h1 {
/* Position on top of logo to keep link */
@@ -126,6 +230,26 @@
font-size: var(--logo-height);
}
/* Episode title */
.nameContainer h3.itemName.infoText.subtitle bdi {
display: flex;
flex-direction: column;
place-items: center;
gap: 1em;
font-size: larger;
/* Hide characters left by moving around season title */
text-indent: -1ch;
overflow: hidden;
}
/* Season title */
.nameContainer h3.itemName.infoText.subtitle bdi [data-type="Season"] {
text-indent: 0;
font-size: .72em;
font-weight: normal;
}
/* Original title */
.nameContainer h4 {
text-align: center;
@@ -152,12 +276,17 @@
background: rgba(0,0,0,0);
}
.layout-desktop .detailPageContent {
padding: unset !important;
width: 75%;
margin-left: auto;
margin-right: auto;
}
.layout-mobile .detailPageContent > div > * {
padding-left: 5% !important;
padding-right: 5% !important;
}
.detailPageContent {
padding: unset !important;
}
/* Disable right padding */
.layout-desktop .detailPageContent .padded-right {
@@ -218,16 +347,27 @@
width: unset !important;
}
/* Seasons */
.layout-desktop .childrenItemsContainer {
padding: unset !important;
justify-content: center;
/* List of seasons */
/* Replace margin with gap */
.itemsContainer {
display: flex;
gap: 1.2em;
}
.layout-desktop .childrenItemsContainer > .card > .cardBox {
.itemsContainer > .card > .cardBox {
margin-right: unset !important;
}
.itemsContainer.padded-right:not(.padded-left) {
padding: unset !important; /* Remove right padding if left padding is not present */
}
.itemsContainer.vertical-wrap {
justify-content: center; /* Only center if wrapping is enabled */
}
@media (min-width: 87.5em) {
.overflowPortraitCard, .overflowSquareCard {
width: 12.5vw !important;
}
}
/* Scrollable lists */
.layout-desktop .detailVerticalSection {
@@ -236,15 +376,26 @@
/* Resize episode view */
.listItem-content {
position: relative;
height: 7.73em; /* Set height of container */
--poster-margin: .75em;
--poster-width: 19.5vw;
}
/* Fit content to container */
/* Resize episode poster */
.listItem-content .listItemImage.listItemImage-large {
margin-right: var(--poster-margin);
width: var(--poster-width);
height: 100%;
background-position: 50%;
}
/* Resize episode body */
.listItem-content .listItemBody {
padding: 0 .75em;
position: absolute;
left: calc(var(--poster-width) + var(--poster-margin));
height: 100%;
padding: 0 .75em;
display: flex;
flex-flow: column;
}
@@ -260,7 +411,7 @@
padding-top: .5em;
}
/* Add fade-out on overflow */
/* Add fade-out on episode body overflow */
.listItem-content .listItemBody .listItem-overview p {
margin: 0;
height: 100%;
@@ -272,6 +423,30 @@
) 100% 50% / 100% 100% repeat-x;
}
/* Position episode buttons */
.listItem-content .listViewUserDataButtons {
position: absolute;
bottom: 0;
right: 0;
}
/* Only show user data buttons on hover */
.layout-desktop .listItem-content .listViewUserDataButtons {
opacity: 0;
}
.layout-desktop .listItem:hover .listItem-content .listViewUserDataButtons {
opacity: 1;
transition: .2s ease-out;
}
/* Only show play button on hover */
.layout-desktop .listItemImageButton.itemAction[data-action="resume"] {
opacity: 0;
}
.layout-desktop .listItem:hover .listItemImageButton.itemAction[data-action="resume"] {
opacity: 1;
}
/* Floating indicator */
.innerCardFooter {
margin: .5em;