Skip to content
Snippets Groups Projects
Commit 08230062 authored by alexisben's avatar alexisben
Browse files

fix menu mobile

parent f43eadff
No related branches found
No related tags found
No related merge requests found
...@@ -46,7 +46,10 @@ header[role="banner"] ...@@ -46,7 +46,10 @@ header[role="banner"]
transition: filter $header-sticky-transition transition: filter $header-sticky-transition
@include media-breakpoint-up(desktop) @include media-breakpoint-up(desktop)
height: $header-logo-height-desktop height: $header-logo-height-desktop
@include media-breakpoint-down(desktop)
html.has-menu-opened &
nav[role="navigation"]
padding-bottom: 0
// TODO : Est-ce au bon endroit ? // TODO : Est-ce au bon endroit ?
body body
&::after &::after
...@@ -76,8 +79,7 @@ body ...@@ -76,8 +79,7 @@ body
header[role="banner"] header[role="banner"]
nav[role="navigation"] nav[role="navigation"]
padding-top: $header-nav-padding-y padding-top: $header-nav-padding-y
@include media-breakpoint-up(desktop) padding-bottom: $header-nav-padding-y
padding-bottom: $header-nav-padding-y
.container .container
align-items: center align-items: center
display: flex display: flex
......
...@@ -56,6 +56,18 @@ ...@@ -56,6 +56,18 @@
figure figure
margin-bottom: calc(#{-$spacing5} + #{$spacing2}) margin-bottom: calc(#{-$spacing5} + #{$spacing2})
margin-top: $spacing1 margin-top: $spacing1
figcaption
position: absolute
left: 0
right: 0
bottom: 0
padding-top: $spacing0
transform: translateY(100%)
padding-left: half($grid-gutter-sm)
padding-right: half($grid-gutter-sm)
picture:not(last-child)
margin-bottom: $spacing2
@include media-breakpoint-up(desktop) @include media-breakpoint-up(desktop)
$negative-margin-bottom: px2rem(150) $negative-margin-bottom: px2rem(150)
.content .content
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment