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;
|
||||
|
||||
Reference in New Issue
Block a user