summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRasmus Andersson <rasmus@notion.se>2020-06-29 00:24:52 +0300
committerRasmus Andersson <rasmus@notion.se>2020-06-29 00:24:52 +0300
commit378ab05866aab4cb0d71a5f502961d6a54da0770 (patch)
tree83b284cc8f3993107d5d1d1da166dc2ec5db851f /docs
parent932f7d15d26e7bb52e51f0ca9ddd6b94ab48127e (diff)
downloadinter-378ab05866aab4cb0d71a5f502961d6a54da0770.tar.xz
web: adds a banner promotion support for the Equal Justice Initiative
Diffstat (limited to 'docs')
-rw-r--r--docs/_includes/eji-banner.html31
-rw-r--r--docs/_layouts/default.html2
2 files changed, 33 insertions, 0 deletions
diff --git a/docs/_includes/eji-banner.html b/docs/_includes/eji-banner.html
new file mode 100644
index 000000000..d9733d3fe
--- /dev/null
+++ b/docs/_includes/eji-banner.html
@@ -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>
diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html
index 865f3374a..d722c8006 100644
--- a/docs/_layouts/default.html
+++ b/docs/_layouts/default.html
@@ -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>