mirror of
https://github.com/hanzo-apps/gallery.git
synced 2026-11-02 05:17:01 +00:00
110 lines
2.0 KiB
SCSS
110 lines
2.0 KiB
SCSS
#hero {
|
|
position: relative;
|
|
|
|
@include breaks (870px) {
|
|
height: 100vh;
|
|
padding-top: 0;
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
.image {
|
|
position: absolute;
|
|
width: 120%;
|
|
height: 100%;
|
|
top: 0;
|
|
left: 0;
|
|
|
|
@include breaks (1440px) {
|
|
width: 160%;
|
|
|
|
@include breaks (870px) {
|
|
width: 220%;
|
|
}
|
|
}
|
|
}
|
|
|
|
.txt {
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
flex-direction: column;
|
|
align-items: start;
|
|
position: relative;
|
|
z-index: 2;
|
|
|
|
@include breaks (870px) {
|
|
text-align: left;
|
|
}
|
|
}
|
|
}
|
|
|
|
#about {
|
|
.about_block {
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
@include breaks (1120px) {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.txt {
|
|
width: 50%;
|
|
padding: 50px;
|
|
|
|
|
|
@include breaks (1120px) {
|
|
width: 100%;
|
|
padding: 0;
|
|
padding-bottom: 100px;
|
|
}
|
|
}
|
|
|
|
.image {
|
|
width: 50%;
|
|
|
|
@include breaks (1120px) {
|
|
width: 100%;
|
|
}
|
|
|
|
img {
|
|
width: 150%;
|
|
|
|
@include breaks (1120px) {
|
|
width: 120%;
|
|
|
|
@include breaks (550px) {
|
|
width: 200%;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
&:nth-child(2) {
|
|
|
|
@include breaks (1120px) {
|
|
flex-direction: column-reverse;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
#awwards {
|
|
display: flex;
|
|
gap: 150px;
|
|
align-items: center;
|
|
|
|
@include breaks (1440px) {
|
|
gap: 100px;
|
|
justify-content: space-between;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
img {
|
|
width: 250px;
|
|
filter: grayscale(100%);
|
|
|
|
@include breaks (1440px) {
|
|
width: 200px;
|
|
}
|
|
}
|
|
} |