mirror of
https://github.com/hanzo-apps/gallery.git
synced 2026-10-30 14:48:38 +00:00
91 lines
1.6 KiB
SCSS
91 lines
1.6 KiB
SCSS
.hero {
|
|
height: 100vh;
|
|
display: flex;
|
|
justify-content: center;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
text-align: center;
|
|
position: relative;
|
|
|
|
@include breaks (870px) {
|
|
height: auto;
|
|
padding-top: 40vw;
|
|
padding-bottom: 10vw;
|
|
|
|
@include breaks (550px) {
|
|
padding-top: 220px;
|
|
padding-bottom: 5vw;
|
|
}
|
|
}
|
|
|
|
h1 {
|
|
position: relative;
|
|
z-index: 2;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.hero_img {
|
|
position: absolute;
|
|
overflow: hidden;
|
|
cursor: pointer;
|
|
|
|
@include breaks (870px) {
|
|
display: none;
|
|
}
|
|
|
|
img {
|
|
width: 105%;
|
|
height: 150%;
|
|
object-fit: cover;
|
|
transform: scale(1.1);
|
|
transition: transform $transition;
|
|
pointer-events: none;
|
|
}
|
|
|
|
&:hover {
|
|
img {
|
|
transform: scale(1.2);
|
|
}
|
|
}
|
|
}
|
|
|
|
.img_1 {
|
|
width: 15%;
|
|
top: 1%;
|
|
left: 20%;
|
|
}
|
|
|
|
.img_2 {
|
|
width: 25%;
|
|
right: 7%;
|
|
top: 15%;
|
|
}
|
|
|
|
.img_3 {
|
|
width: 18%;
|
|
left: 0;
|
|
bottom: 15%;
|
|
}
|
|
|
|
.img_4 {
|
|
width: 25%;
|
|
bottom: 0%;
|
|
left: 15%;
|
|
}
|
|
|
|
.img_5 {
|
|
width: 16%;
|
|
right: 0%;
|
|
top: 38%;
|
|
}
|
|
|
|
.img_6 {
|
|
width: 30%;
|
|
right: 10%;
|
|
bottom: 0%;
|
|
}
|
|
}
|
|
|
|
.hero_heading {
|
|
overflow: hidden;
|
|
} |