55 lines
926 B
SCSS
55 lines
926 B
SCSS
@use "../mixins";
|
|
|
|
#fullscreen {
|
|
margin: 0;
|
|
padding: 0;
|
|
display: none;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 100%;
|
|
height: 100vh;
|
|
background: black;
|
|
|
|
#fullscreen-img {
|
|
max-width: 100%;
|
|
max-height: 100vh;
|
|
object-fit: cover;
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
|
|
.gallery {
|
|
display: flex;
|
|
flex-direction: row;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
align-items: center;
|
|
overflow: hidden;
|
|
|
|
.photo-container {
|
|
margin: 1vh 1vw;
|
|
width: 25%;
|
|
height: 25%;
|
|
overflow: hidden;
|
|
|
|
.photo {
|
|
width: 100%;
|
|
height: 100%;
|
|
cursor: pointer;
|
|
transition: 750ms all ease-in-out;
|
|
filter: brightness(80%);
|
|
|
|
&:hover {
|
|
filter: brightness(100%);
|
|
transform: scale(1.3);
|
|
}
|
|
|
|
@include mixins.mx_ismobile {
|
|
&:active {
|
|
filter: brightness(100%);
|
|
transform: scale(1.3);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |