-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include a footer on each page which links through to the global TWC page.
- Loading branch information
1 parent
ba856e7
commit a0910e3
Showing
4 changed files
with
66 additions
and
0 deletions.
There are no files selected for viewing
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,6 @@ | ||
<footer class="footer"> | ||
<div class="footer-container"> | ||
<img alt="" role="presentation" aria-hidden="true" height="40" src="/assets/css/images/logo.svg" width="40" class="logo"> | ||
Proud to be part of the <a href="https://techworkerscoalition.org/">Tech Workers Coalition</a> | ||
</div> | ||
</footer> |
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,49 @@ | ||
@import 'variables'; | ||
|
||
// https://dvcs.w3.org/hg/FXTF/raw-file/tip/filters/index.html | ||
// | ||
// grayscale ex: filter: grayscale(100%); | ||
// sepia ex: filter: sepia(100%); | ||
// saturate ex: filter: saturate(0%); | ||
// hue-rotate ex: filter: hue-rotate(45deg); | ||
// invert ex: filter: invert(100%); | ||
// brightness ex: filter: brightness(15%); | ||
// contrast ex: filter: contrast(200%); | ||
// blur ex: filter: blur(2px); | ||
|
||
@mixin filter($filter-type,$filter-amount) { | ||
-webkit-filter: $filter-type+unquote('(#{$filter-amount})'); | ||
-moz-filter: $filter-type+unquote('(#{$filter-amount})'); | ||
-ms-filter: $filter-type+unquote('(#{$filter-amount})'); | ||
-o-filter: $filter-type+unquote('(#{$filter-amount})'); | ||
filter: $filter-type+unquote('(#{$filter-amount})'); | ||
} | ||
|
||
.footer { | ||
border-top: 1px solid; | ||
padding: 2em 2em; | ||
background: #000; | ||
color: #fff; | ||
text-align: left; | ||
|
||
a { | ||
color: #fff; | ||
display: inline-block; | ||
margin-left: .25em; | ||
|
||
&:hover { | ||
color: #e6141b; | ||
} | ||
} | ||
|
||
&-container { | ||
display: flex; | ||
align-items: center; | ||
justify-content: flex-start; | ||
} | ||
|
||
.logo { | ||
@include filter(invert, 1); | ||
margin-right: 10px; | ||
} | ||
} |