mirror of
https://github.com/rsms/inter.git
synced 2024-11-23 03:26:15 +03:00
web: adds a banner promotion support for the Equal Justice Initiative
This commit is contained in:
parent
932f7d15d2
commit
378ab05866
31
docs/_includes/eji-banner.html
Normal file
31
docs/_includes/eji-banner.html
Normal 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 the Equal Justice Initiative.
|
||||||
|
</a>
|
@ -94,6 +94,8 @@ endfor
|
|||||||
|
|
||||||
{{ content }}
|
{{ content }}
|
||||||
|
|
||||||
|
{% include eji-banner.html %}
|
||||||
|
|
||||||
{% if site.safe == true %}
|
{% if site.safe == true %}
|
||||||
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-105091131-2"></script>
|
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-105091131-2"></script>
|
||||||
<script>
|
<script>
|
||||||
|
Loading…
Reference in New Issue
Block a user