Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions assets/css/_home.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1241,6 +1241,11 @@
overflow: hidden;
background: #09090a;
box-shadow: 0 0 0 1px var(--line);
// iOS Safari draws a video a fraction of a pixel smaller than its rounded, overflow-clipped box, so the poster
// underneath showed as thin light lines at the edges (Isaac 2026-10-07). Own layer + mask = clean clipping.
isolation: isolate;
transform: translateZ(0);
-webkit-mask-image: -webkit-radial-gradient(white, black);

img,
video {
Expand All @@ -1254,13 +1259,22 @@
}

video {
inset: -1px;
width: calc(100% + 2px);
height: calc(100% + 2px);
opacity: 0;
transition: opacity .3s var(--ease);
}

&.on video {
opacity: 1;
}

// once the film shows, the poster must not peek through anywhere
&.on picture {
visibility: hidden;
transition: visibility 0s .3s;
}
}

.film-btn {
Expand Down
Loading