mirror of https://github.com/Damillora/Shian.git
51 lines
928 B
SCSS
51 lines
928 B
SCSS
|
|
.gallery {
|
|
display: flex;
|
|
flex-direction: row;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
|
|
&__image {
|
|
width: 100%;
|
|
padding: 1rem;
|
|
}
|
|
|
|
&__popup {
|
|
position: fixed;
|
|
height: 100vh;
|
|
width: 100vw;
|
|
visibility: visible;
|
|
@include transition;
|
|
left: 0;
|
|
top: 0;
|
|
padding: 4rem;
|
|
z-index: 20;
|
|
background-color: rgba(0,0,0,0.7);
|
|
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
align-items: center;
|
|
|
|
&.hidden {
|
|
height: 0;
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
}
|
|
|
|
img {
|
|
max-height: 100%;
|
|
}
|
|
}
|
|
|
|
&__exit {
|
|
position: fixed;
|
|
right: 0;
|
|
top: 0;
|
|
margin: 1rem 2rem;
|
|
font-size: $text-2xl;
|
|
color: $white;
|
|
z-index: 30;
|
|
cursor: pointer;
|
|
}
|
|
} |