:root { --immich-dark-primary: rgb(172 203 250); } .font-bold { font-weight: 700 } body { background: black; color: white; height: 100vh; max-height: 100vh; display: flex; flex-direction: column; margin: 0; font-family: "Overpass", sans-serif; } main, #slideshow { height: 100%; display: flex; flex-direction: column; } svg { fill: white; width: 100%; height: 100%; } /* slideshow */ #slideshow-carousel { height: 100% } .carousel-cell { height: 100%; width: 80vw; margin: 24px; } .carousel-cell img { vertical-align: middle; /* border-radius: 10px; */ height: 100%; max-width: 100%; object-fit: contain; } #slideshow-share button, #slideshow-bottom-controls button { background: none; border: none; padding: 0; } #slideshow-share svg { height: 24px; width: 24px; } #slideshow-share button { padding: 12px; width: 48px; height: 48px; } #slideshow-share, #slideshow-bottom-controls { display: flex; width: 80vw; margin: auto; justify-content: right; } #slideshow-bottom-controls { display: grid; grid-template-columns: repeat(3, 1fr); margin: 48px auto; max-width: 768px; button { width: 48px; height: 48px; margin: auto; } } /* albums */ #albums { width: 100%; height: 100%; overflow: scroll; } #albums-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 2.5rem; margin: auto; padding: 2rem; .album-thumb { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 1rem; margin-bottom: 1rem; } } @media (max-width: 512px) { #albums-container { grid-template-columns: 1fr 1fr; gap: 1.5rem; .album-info { font-size-adjust: .4; } } } @media (max-width: 768px) { .carousel-cell { width: 70vw; margin: 12px; } } footer { width: 100%; } #bottom-container { max-width: 1024px; margin: auto; } #menu { a { display: flex; color: white; align-items: center; justify-content: center; text-decoration: none; width: 100%; gap: 1rem; &:hover { color: var(--immich-dark-primary); svg{ fill: var(--immich-dark-primary) } } svg { height: 24px; width: 24px } span { font-size: .875rem; line-height: 1.25rem; font-weight: 500; } } display: flex; width: 100%; padding: 1rem; gap: 2ex; box-sizing: border-box; border-top: 1px solid rgb(55, 65, 81); }