modifications header + parallax home
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
z-index: 99;
|
||||
div {
|
||||
max-width: 100%;
|
||||
max-height: 7vh;
|
||||
max-height: 10vh;
|
||||
display: flex;
|
||||
flex-wrap: nowrap;
|
||||
justify-content: space-between;
|
||||
@@ -30,8 +30,12 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
@media (min-width: $breakpoint_tablet) {
|
||||
padding-right: 2rem;
|
||||
}
|
||||
@media (min-width: $breakpoint_desktop) {
|
||||
width: 10vw;
|
||||
padding-right: 1vw;
|
||||
}
|
||||
}
|
||||
#block-erabletheme-logoerable {
|
||||
@@ -54,6 +58,9 @@
|
||||
}
|
||||
@media (min-width: $breakpoint_desktop) {
|
||||
width: 10vw;
|
||||
padding-left: 3vw;
|
||||
padding-top: 0.4rem;
|
||||
padding-bottom: 0.4rem;
|
||||
}
|
||||
}
|
||||
#block-erabletheme-navigationprincipale {
|
||||
@@ -64,7 +71,7 @@
|
||||
height: 100%;
|
||||
align-items: center;
|
||||
justify-content: space-around;
|
||||
padding: 0 5vw;
|
||||
padding: 0 2vw;
|
||||
li {
|
||||
font-family: 'Marianne', sans-serif;
|
||||
font-size: $m_font_size;
|
||||
@@ -79,7 +86,6 @@
|
||||
background-color: $fluo_green;
|
||||
}
|
||||
a.is-active {
|
||||
font-weight: 400;
|
||||
background-color: $fluo_green;
|
||||
}
|
||||
}
|
||||
@@ -120,13 +126,14 @@
|
||||
#block-erabletheme-header {
|
||||
#hamburger {
|
||||
cursor: pointer;
|
||||
width: 7vh;
|
||||
width: 10vh;
|
||||
height: 100%;
|
||||
background-color: $fluo_green;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: space-around;
|
||||
padding: 0.5rem 0;
|
||||
h2 {
|
||||
font-size: $sm_font_size;
|
||||
font-family: 'Marianne', sans-serif;
|
||||
@@ -168,7 +175,7 @@
|
||||
transition: max-height 0.9s ease, padding 0.5s ease-out;
|
||||
position: fixed;
|
||||
background-color: $dark_green;
|
||||
top: 7vh;
|
||||
top: 10vh;
|
||||
left: 0;
|
||||
width: 100vw;
|
||||
z-index: 0;
|
||||
|
@@ -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%;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user