Rename scripts => js & css => sass
This commit is contained in:
69
resources/sass/views/galeri.scss
Normal file
69
resources/sass/views/galeri.scss
Normal file
@@ -0,0 +1,69 @@
|
||||
@use "../mixins";
|
||||
@use "../keyframes";
|
||||
@use "../variables";
|
||||
|
||||
#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-text {
|
||||
overflow: auto;
|
||||
background: variables.$clr_brand_gradient;
|
||||
|
||||
h1 {
|
||||
margin: 2.5vh 0;
|
||||
text-align: center;
|
||||
font: 600 2.5vw "Montserrat", sans-serif;
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
|
||||
.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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user