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

fix footer

parent b3553847
No related branches found
No related tags found
No related merge requests found
...@@ -29,10 +29,15 @@ footer[role="contentinfo"] ...@@ -29,10 +29,15 @@ footer[role="contentinfo"]
display: flex display: flex
[class^="nav-"] [class^="nav-"]
margin-top: 0 margin-top: 0
display: block
li
display: inline-block
a
display: block
.credit + [class^="nav-"], .credit + [class^="nav-"],
[class^="nav-"] + [class^="nav-"] [class^="nav-"] + [class^="nav-"]
margin-left: auto margin-left: auto
margin-right: -$spacing1 margin-right: -$spacing0
.credit .credit
a a
...@@ -40,9 +45,9 @@ footer[role="contentinfo"] ...@@ -40,9 +45,9 @@ footer[role="contentinfo"]
// TODO : add padding on every link in typography ? // TODO : add padding on every link in typography ?
[class^="nav-"] [class^="nav-"]
margin-left: calc(#{$spacing1} / -2) margin-left: calc(#{$spacing0} / -2)
a a
padding: calc(#{$spacing1} / 2) padding: calc(#{$spacing0} / 2)
// END TODO // END TODO
@include media-breakpoint-up(md) @include media-breakpoint-up(md)
...@@ -50,7 +55,7 @@ footer[role="contentinfo"] ...@@ -50,7 +55,7 @@ footer[role="contentinfo"]
small + .credit small + .credit
&::before &::before
content: '—' content: '—'
margin: 0 calc(#{$spacing1} / 2) 0 0 margin: 0 calc(#{$spacing0} / 2) 0 0
ul ul
@include list-reset @include list-reset
...@@ -69,9 +74,9 @@ footer[role="contentinfo"] ...@@ -69,9 +74,9 @@ footer[role="contentinfo"]
.nav-legal, .nav-legal,
.nav-social .nav-social
flex-direction: row flex-direction: row
.nav-legal // .nav-legal
li:not(:first-child) // li:not(:first-child)
margin-left: -$spacing1 // margin-left: -$spacing0
.nav-social // .nav-social
li:not(:last-child) // li:not(:last-child)
margin-right: -$spacing1 // margin-right: -$spacing0
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