1
1
mirror of https://github.com/rsms/inter.git synced 2024-11-22 19:14:19 +03:00

web: adds a banner promotion support for the Equal Justice Initiative

This commit is contained in:
Rasmus Andersson 2020-06-28 14:24:52 -07:00
parent 932f7d15d2
commit 378ab05866
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,31 @@
<style>
#eji-banner {
position: fixed;
left:0; right:0; top: 0;
height:3rem;
padding: 6rem 1rem 0 1rem;
background:#111;
z-index:999;
transform:translate(0, -6rem);
text-align: center;
text-decoration: none;
font-size:14px;
box-shadow: 0 1px 0 0 rgba(255,255,255,0.2);
display: flex;
align-items: center;
justify-content: center;
color: #eee;
font-weight: 500;
}
#eji-banner:hover {
background: #000;
color: #fff;
}
:root {
padding-top:3rem;
}
</style>
<a id="eji-banner" href="https://support.eji.org/give/153413/#!/donation/checkout">
Black Lives Matter. Support&nbsp;the&nbsp;Equal&nbsp;Justice&nbsp;Initiative.
</a>

View File

@ -94,6 +94,8 @@ endfor
{{ content }}
{% include eji-banner.html %}
{% if site.safe == true %}
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-105091131-2"></script>
<script>