-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' into fix/menu-issues
- Loading branch information
Showing
8 changed files
with
111 additions
and
14 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,75 @@ | ||
footer { | ||
background: $blue-500; | ||
height: rem(76); | ||
background: $dark-mint-500; | ||
color: $white; | ||
height: auto; | ||
margin-top: auto; | ||
position: relative; | ||
width: 100%; | ||
|
||
.container { | ||
margin: 0 auto; | ||
max-width: rem(1630); | ||
} | ||
|
||
.columns { | ||
padding: rem(40) rem(30); | ||
} | ||
|
||
.column + .column { | ||
border-top: solid rem(3) $off-white; | ||
margin-top: rem(60); | ||
padding-top: rem(20); | ||
} | ||
|
||
.logo { | ||
display: inline-block; | ||
height: rem(50.5); | ||
margin-left: rem(-4); | ||
padding: 0 rem(4); | ||
|
||
svg { | ||
display: block; | ||
height: rem(50.5); | ||
margin-bottom: 0; | ||
width: rem(172.77); | ||
} | ||
|
||
.brand__label { | ||
display: block; | ||
font-size: rem(12); | ||
} | ||
|
||
&::after { | ||
display: none; | ||
} | ||
} | ||
|
||
.nav { | ||
margin-top: rem(16); | ||
|
||
p { | ||
line-height: rem(28); | ||
} | ||
|
||
p + p { | ||
margin-top: 0; | ||
} | ||
} | ||
} | ||
|
||
@include breakpoint-up(lg) { | ||
footer .container { | ||
max-width: rem(1160); | ||
padding-left: 0; | ||
} | ||
|
||
footer .columns { | ||
display: grid; | ||
grid-template-columns: repeat(3, 1fr); | ||
padding: rem(60) 0; | ||
|
||
.column + .column { | ||
margin-top: 0; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
module.exports = { | ||
title: 'Footer', | ||
status: 'wip', | ||
context: { | ||
hasFooter: true, | ||
inFooter: true | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<div class="columns"> | ||
<div class="column"> | ||
<a class="logo link--inverse" rel="external" href="https://platform.coop"> | ||
{% render '@svg', {svg: 'logo', class: 'logo__image', viewBox: '0 0 282.08 78.75'}, true %} | ||
<span class="screen-reader-text">Platform Cooperativism Consortium</span> | ||
</a> | ||
<div class="nav"> | ||
<p><a class="link--inverse" rel="external" href="https://platform.coop/open-access-and-privacy-policy/">Our open access & privacy policy</a></p> | ||
<p><a class="link--inverse" rel="external" href="https://platform.coop/diversity-inclusion/">Our commitment to diversity & inclusion</a></p> | ||
</div> | ||
</div> | ||
<div class="column"> | ||
<div class="h4"><a rel="external" class="link--inverse" href="https://platform.coop/contact-us/">Contact us</a></div> | ||
<div> | ||
<strong>Email</strong><br /> | ||
<a class="link--inverse" href="mailto:info@platform.coop" rel="external">info@platform.coop</a> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters