Files
bridget/assets/scss/_partial/_collection.scss
2024-03-17 16:08:40 +08:00

30 lines
484 B
SCSS

.collection {
display: flex;
flex-direction: column;
gap: 20vh;
padding-top: calc(var(--window-height) * 0.35);
margin-top: calc(var(--nav-height) * -1);
img {
position: sticky;
top: calc(var(--window-height) * 0.35);
width: 60vw;
height: 20vh;
object-fit: contain;
transform: translate3d(0, -50%, 0);
align-self: center;
&:last-child {
margin-bottom: calc(var(--window-height) * 0.4);
}
}
}
.hidden {
display: none;
}