From ba50cd0232b902867999f9d1ba1e283f423d6b60 2014-12-03 17:29:24
From: Bradley M. Kuhn
Date: 2014-12-03 17:29:24
Subject: [PATCH] SVG bullet list of supporters on sponsors page.
This CSS, which I discovered from extensive research online, should work
to create a bulleted list with the bullets being the heart-shaped
Conservancy logo.
---
diff --git a/www/conservancy/static/conservancy.css b/www/conservancy/static/conservancy.css
index 67a3f9ba45a8282ec67f69e5deb49df02c4f6f2f..2c33614627c2b376d3309707071e416fd1234903 100644
--- a/www/conservancy/static/conservancy.css
+++ b/www/conservancy/static/conservancy.css
@@ -275,10 +275,35 @@ body.conservancy-supporter #navbar ul li.supporter a
background: url(/img/nav-bg-campaign-up.png) bottom repeat-x;
}
+#supporters ul {
+ list-style: none;
+ margin: 0;
+ padding: 0;
+}
+
+#supporters li:before {
+ content: '';
+ display: inline-block;
+ height: 2em;
+ width: 2em;
+ background-image: url(/img/conservancy-supporter-heart.svg);
+ background-size: contain;
+ background-repeat: no-repeat;
+ padding: 0.25em 1.2em 0.25em 0.25em;
+ vertical-align: middle;
+}
+
+#supporters li {
+ padding: 0.5em 2em 1em 2em;
+ margin-left: .25em;
+ list-style: none;
+}
+
#sponsor ul {
clear: all;
margin-bottom: 10px;
}
+
#sponsor li {
width: 100%;
float: left;
diff --git a/www/conservancy/static/img/conservancy-supporter-heart.svg b/www/conservancy/static/img/conservancy-supporter-heart.svg
new file mode 100644
index 0000000000000000000000000000000000000000..7ce984b2a8241ec1383834a42510b761e3b30018
--- /dev/null
+++ b/www/conservancy/static/img/conservancy-supporter-heart.svg
@@ -0,0 +1,468 @@
+
+
+
+
\ No newline at end of file
diff --git a/www/conservancy/static/sponsors/index.html b/www/conservancy/static/sponsors/index.html
index 3a6763c01e138859e538fbcff0ccd0e6a5a3da67..23c249a425847d7a8d06649daba5cba4aee0d457 100644
--- a/www/conservancy/static/sponsors/index.html
+++ b/www/conservancy/static/sponsors/index.html
@@ -47,9 +47,11 @@ any of its sponsors.
Conservancy Supporters are individuals who give $120 or more annually as
part of the Official Conservancy Supporter
program. Those who request public acknowledgment are listed here in
- alphabetical order: