Skip to content

Commit 79032b5

Browse files
authored
Merge pull request #4424 from rtfd/davidfischer/cloudflare-sponsor-logo
Add Sponsors list to footer
2 parents 83da8d3 + 7c7dba5 commit 79032b5

File tree

9 files changed

+68
-1
lines changed

9 files changed

+68
-1
lines changed

docs/sponsors.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Current sponsors
1111

1212
* `Rackspace`_ - They cover all of our hosting expenses every month. This is a pretty large sum of money, averaging around $3,000/mo, and we are really grateful to have them as a sponsor.
1313
* `Mozilla`_ - Mozilla has given us a `MOSS grant`_ for building specific features, and have funded Eric Holscher to work on Read the Docs at $1,000/mo for 2016.
14+
* `Cloudflare`_ - Cloudflare is providing us with an enterprise plan of their SSL for SaaS Providers product that enables us to provide SSL certificates for custom domains.
1415
* You? (Email us at [email protected] for more info)
1516

1617
Past sponsors
@@ -32,6 +33,7 @@ Past sponsors
3233
.. _Rackspace: http://www.rackspace.com/
3334
.. _Mozilla: https://www.mozilla.org/en-US/
3435
.. _Twilio: http://twilio.com/
36+
.. _Cloudflare: https://www.cloudflare.com/
3537

3638

3739
Sponsorship Information

media/css/core.css

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -653,6 +653,33 @@ p.build-missing { font-size: .8em; color: #9d9a55; margin: 0 0 3px; }
653653
#footer a, #footer a:visited { color: #e3e3e3; text-decoration: none; }
654654
#footer a:hover, #footer a:active { color: white; text-decoration: underline; }
655655

656+
/* Sponsors */
657+
#footer .sponsors {
658+
margin-top: 30px;
659+
text-align: center;
660+
}
661+
#footer .sponsors .sponsor {
662+
display: inline-block;
663+
text-align: center;
664+
text-decoration: none;
665+
padding: 10px;
666+
}
667+
#footer .sponsors .sponsor img {
668+
width: 90px;
669+
height: auto;
670+
}
671+
#footer .sponsors .sponsor-name {
672+
font-size: 12px;
673+
}
674+
#footer .sponsors .sponsor-description {
675+
font-size: 10px;
676+
color: #BCC1C3;
677+
}
678+
#footer .sponsors .sponsor-name, #footer .sponsors .sponsor-description {
679+
text-align: center;
680+
line-height: 1.4;
681+
}
682+
656683
/* Social icons */
657684
#footer .social { font-family: FontAwesome; text-align: center; }
658685
#footer .social:after { clear: both; content: ''; display: table; }

media/images/sponsors/azure.png

5.61 KB
Loading

media/images/sponsors/cloudflare.png

2.99 KB
Loading

media/images/sponsors/elastic.png

4.33 KB
Loading

media/images/sponsors/newrelic.png

10.2 KB
Loading

media/images/sponsors/pagerduty.png

2.11 KB
Loading

media/images/sponsors/sentry.png

4.79 KB
Loading

readthedocs/templates/base.html

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,8 @@ <h4>{% trans 'Business Info' %}</h4>
202202
<div class="clearfix"></div>
203203

204204
<div class="footer-bottom">
205+
<hr>
206+
205207
<div class="column-copyright">
206208
<p>
207209
<small>&copy; Copyright {% now "Y" %}, {% trans 'Read the Docs, Inc & contributors' %}</small>
@@ -231,9 +233,45 @@ <h4>{% trans 'Business Info' %}</h4>
231233
</form>
232234
</div>
233235
{% endblock language-select-form %}
236+
234237
</div>
235238

236-
{% endblock %}
239+
<div class="clearfix"></div>
240+
241+
<div class="sponsors">
242+
<a class="sponsor" href="https://azure.microsoft.com" rel="noopener" target="_blank">
243+
<img src="{% static '/media/images/sponsors/azure.png' %}" alt="Microsoft Azure" class="sponsor-image">
244+
<div class="sponsor-name">Microsoft Azure</div>
245+
<div class="sponsor-description">Cloud Computing</div>
246+
</a>
247+
<a class="sponsor" href="https://cloudflare.com" rel="noopener" target="_blank">
248+
<img src="{% static '/media/images/sponsors/cloudflare.png' %}" alt="CloudFlare" class="sponsor-image">
249+
<div class="sponsor-name">Cloudflare</div>
250+
<div class="sponsor-description">DNS &amp; SSL</div>
251+
</a>
252+
<a class="sponsor" href="https://sentry.io/" rel="noopener" target="_blank">
253+
<img src="{% static '/media/images/sponsors/sentry.png' %}" alt="Sentry" class="sponsor-image">
254+
<div class="sponsor-name">Sentry</div>
255+
<div class="sponsor-description">Monitoring</div>
256+
</a>
257+
<a class="sponsor" href="https://www.elastic.co/" rel="noopener" target="_blank">
258+
<img src="{% static '/media/images/sponsors/elastic.png' %}" alt="Elastic" class="sponsor-image">
259+
<div class="sponsor-name">Elastic</div>
260+
<div class="sponsor-description">Search</div>
261+
</a>
262+
<a class="sponsor" href="https://newrelic.com/" rel="noopener" target="_blank">
263+
<img src="{% static '/media/images/sponsors/newrelic.png' %}" alt="New Relic" class="sponsor-image">
264+
<div class="sponsor-name">New Relic</div>
265+
<div class="sponsor-description">Performance</div>
266+
</a>
267+
<a class="sponsor" href="https://www.elastic.co/" rel="noopener" target="_blank">
268+
<img src="{% static '/media/images/sponsors/pagerduty.png' %}" alt="PagerDuty" class="sponsor-image">
269+
<div class="sponsor-name">PagerDuty</div>
270+
<div class="sponsor-description">Monitoring</div>
271+
</a>
272+
</div>
273+
274+
{% endblock footer-content %}
237275

238276
</div>
239277
</div>

0 commit comments

Comments
 (0)