Skip to content

Commit

Permalink
remove BLM banner (#5007)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris authored Jun 12, 2020
1 parent 1c05785 commit 8bb0c80
Showing 1 changed file with 0 additions and 56 deletions.
56 changes: 0 additions & 56 deletions site/src/routes/_layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -54,74 +54,18 @@
<Icon name="github"/>
</NavItem>
</Nav>
<div class="BLM">
<a
target="_blank"
rel="noopener noreferrer"
href="https://blacklivesmatter.com/"
>Black Lives Matter</a>.

Support

<a
target="_blank"
rel="noopener noreferrer"
href="https://www.joincampaignzero.org/"
>Campaign Zero</a>, the

<a
target="_blank"
rel="noopener noreferrer"
href="https://support.eji.org/give/153413/#!/donation/checkout"
>Equal&nbsp;Justice&nbsp;Initiative</a>, and

<a
target="_blank"
rel="noopener noreferrer"
href="https://bailfunds.github.io/"
>local bail funds</a>.
</div>
{/if}

<main>
<slot></slot>
</main>

<style>
.BLM {
background-color: black;
color: white;
position: fixed;
bottom: 0;
width: 100vw;
text-align: center;
padding: 1em;
z-index: 999;
}
.BLM a {
white-space: nowrap;
}
main {
position: relative;
margin: 0 auto;
/* padding: var(--nav-h) var(--side-nav) 0 var(--side-nav); */
padding: var(--nav-h) 0 0 0;
padding-bottom: 64px; /* BLM */
overflow-x: hidden;
}
@media screen and (max-width: 769px) {
main {
padding-bottom: 90px; /* BLM */
}
}
@media screen and (max-width: 377px) {
.BLM {
font-size: 85%;
}
main {
padding-bottom: 75px; /* BLM */
}
}
</style>

0 comments on commit 8bb0c80

Please sign in to comment.