modifications header + parallax home

This commit is contained in:
Valentin
2023-12-21 12:48:12 +01:00
parent 7a93f85fd3
commit 3414034491
8 changed files with 292 additions and 108 deletions

View File

@@ -30,8 +30,8 @@
right: -8vw;
}
@media (min-width: $breakpoint_tablet) {
left: -40vw;
top: -16vw;
left: -35vw;
top: -20vw;
> div {
transform: scaleX(-1);
left: -55vw;
@@ -42,11 +42,8 @@
> div:nth-of-type(2) {
display: none;
}
}
@media (min-width: $breakpoint_desktop) {
> div:nth-of-type(3) {
transform: scaleX(-1) rotate(-25deg);
top: -25vh;
background-image: url(../assets/formes/forme_6.png);
}
}
}
@@ -223,7 +220,7 @@
background-size: contain;
background-image: url(../assets/formes/forme_5.png);
position: absolute;
margin-top: 35vh;
top: 35vh;
}
> div:nth-of-type(2) {
width: 100%;
@@ -232,8 +229,8 @@
background-size: contain;
background-image: url(../assets/formes/forme_2.png);
position: absolute;
margin-top: 40vh;
margin-left: 12vw;
top: 40vh;
left: 12vw;
}
}
@media (min-width: $breakpoint_desktop) {
@@ -242,11 +239,11 @@
top: 0;
right: -2vw;
> div:first-of-type {
margin-top: -16vh;
top: -16vh;
}
> div:nth-of-type(2) {
margin-top: -8vh;
margin-left: 4vw;
top: -8vh;
left: 4vw;
}
}
}
@@ -358,8 +355,7 @@
bottom: -10vh;
@media (min-width: $breakpoint_desktop) {
transform: rotate(0deg);
bottom: unset;
top: -5vh;
bottom: 5vh;
left: 0;
width: 60%;
}
@@ -419,7 +415,6 @@
}
@media (min-width: $breakpoint_desktop) {
transform: none;
right: -4vw;
width: 60%;
}
}