feat: Modification du design du menu
continuous-integration/drone/push Build is passing Details
continuous-integration/drone Build is passing Details

This commit is contained in:
Simon 2023-06-07 10:55:33 +02:00
parent 66c8256a1f
commit 0fdafbd1ef
2 changed files with 36 additions and 9 deletions

View File

@ -161,25 +161,31 @@
height: 100vh height: 100vh
z-index: 100 z-index: 100
background: white background: white
flex-direction: column
justify-content: center justify-content: center
flex-wrap: wrap
align-items: last baseline
align-content: center
@media (orientation: landscape) .viemunicipale
flex-direction: row order: 1
align-items: last baseline .economie
order: 2
.cadredevie
order: 3
.associations
order: 4
img img
display: inherit display: inherit
.menu .menu
height: auto height: auto
width: 200px
flex-direction: column flex-direction: column
margin-bottom: 1rem margin: .7rem
padding: .7rem
box-shadow: rgba(0, 0, 0, 0.15) 0px 3px 3px 0px box-shadow: rgba(0, 0, 0, 0.15) 0px 3px 3px 0px
.menu.withSubmenu
padding: 10px
.submenu .submenu
display: flex display: flex
position: relative position: relative
@ -195,6 +201,21 @@
.menu:before .menu:before
content: none content: none
@media screen and (max-width: 320px)
font-size: .9rem
flex-direction: row
flex-wrap: wrap;
align-items: center;
align-content: center;
.menu
width: 150px
a
padding: 0
.submenu
font-size: .8rem
img
display: none
.open-button .open-button
display: none display: none
white-space: nowrap white-space: nowrap

View File

@ -94,10 +94,17 @@ body
.containerGrid .containerGrid
display: flex display: flex
@media screen and (max-width: $size-md)
flex-direction: column
.actus .actus
width: 75% width: 75%
@media screen and (max-width: $size-md)
width: 100%
.infos .infos
width: 25% width: 25%
@media screen and (max-width: $size-md)
width: 100%
padding-left: 0
padding: 7rem 0 0 1rem padding: 7rem 0 0 1rem
display: block display: block
@ -170,7 +177,6 @@ body
background-position: center -50px background-position: center -50px
background-size: 70% background-size: 70%
@media screen and (max-width: $size-md) @media screen and (max-width: $size-md)
margin: 0
background-position-x: 120% background-position-x: 120%
background-size: 50% background-size: 50%