mirror of
https://github.com/Sped0n/bridget.git
synced 2026-04-17 03:29:31 -07:00
54 lines
1019 B
SCSS
54 lines
1019 B
SCSS
.image_container {
|
|
max-height: 55vmin;
|
|
position: absolute;
|
|
transform: translate(-50%, -50%);
|
|
|
|
img {
|
|
max-height: 55vmin;
|
|
width: auto;
|
|
}
|
|
}
|
|
|
|
.image_container[data-status="inactive"] {
|
|
opacity: 0;
|
|
transition: opacity 300ms ease-in-out;
|
|
}
|
|
|
|
.image_container[data-status="active"] {
|
|
opacity: 1;
|
|
transition: opacity 0ms ease-in-out;
|
|
}
|
|
|
|
.top {
|
|
transition: all 0.5s ease-in-out 1.5s;
|
|
max-height: calc(100vh - var(--footer-height));
|
|
width: auto;
|
|
max-width: 100vw;
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
img {
|
|
transition: all 0.5s ease-in-out 2s;
|
|
max-height: calc(100vh - var(--footer-height));
|
|
width: auto;
|
|
max-width: 100vw;
|
|
object-fit: contain;
|
|
}
|
|
}
|
|
|
|
.trailingImage1 {
|
|
transition: opacity 0.5s ease-in-out 1s;
|
|
opacity: 0;
|
|
}
|
|
.trailingImage2 {
|
|
transition: opacity 0.5s ease-in-out 0.75s;
|
|
opacity: 0;
|
|
}
|
|
.trailingImage3 {
|
|
transition: opacity 0.5s ease-in-out 0.5s;
|
|
opacity: 0;
|
|
}
|
|
.trailingImage4 {
|
|
transition: opacity 0.5s ease-in-out 0.25s;
|
|
opacity: 0;
|
|
} |