@import "tailwindcss" source(none); @source "../public/*.html"; :root { --immich-dark-primary: rgb(172 203 250); --immich-dark-secondary: rgb(33 33 33); --immich-dark-secondary-border: rgb(33 33 33 / .1); --selected-bg: rgb(172 203 250 / .1); --selected-border: rgb(172 203 250 / .1); --immich-dark-hover-bg: rgb(17 24 39); --immich-dark-hover-border: rgb(31 41 55); } body { background: black; color-scheme: dark; color: white; height: 100vh; max-height: 100vh; display: flex; flex-direction: column; margin: 0; font-family: "Overpass", sans-serif; overflow: hidden; } main, #slideshow { height: 100%; display: flex; flex-direction: column; overflow: hidden; } /* 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 { height: 100%; overflow: scroll; margin-inline: 1rem; } #album-search { display: block; padding: 1rem; border: 0; margin: 1rem auto; width: 100%; max-width: 768px; background-color: var(--immich-dark-secondary); font-family: "Overpass", sans-serif; &:focus { outline: 2px solid rgb(55, 65, 81) } } #albums-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(768px, 1fr)); width: max-content; margin: auto; padding: 2rem; .album { position: relative; display: flex; height: 10rem; gap: 1.5em; padding: 1rem; border: 1px solid transparent; border-bottom: 1px solid var(--selected-border); border-top: 1px solid var(--selected-border); } } @media (max-width: 512px) { #albums-container { grid-template-columns: 1fr 1fr; gap: 1.5rem; width: 100%; } } @media (max-width: 768px) { .carousel-cell { width: 70vw; margin: 12px; } } #menu { a { display: flex; align-items: center; justify-content: center; text-decoration: none; width: 100%; gap: 1rem; span { font-size: .875rem; line-height: 1.25rem; font-weight: 500; } } }