Changeset - dff5fe2e6e58
[Not reviewed]
0 2 0
Bradley Kuhn (bkuhn) - 12 years ago 2012-08-27 14:38:06
bkuhn@ebb.org
Attempt to do CSS that makes the sponsors list look nice.
2 files changed with 18 insertions and 4 deletions:
0 comments (0 inline, 0 general)
www/conservancy/static/conservancy.css
Show inline comments
...
 
@@ -186,48 +186,62 @@ a.feedlink /* RSS icon */ { display: block; float: right; font-size: 10pt; }
 
blockquote, div.quote /* div.quote is used by conservancy whitepaper */ {
 
  margin-left: 2em;
 
  margin-right: 2em;
 
  padding-left: 1em;
 
  padding-right: 1em;
 
  border: 1px solid #fff;
 
  background: #eee;
 
}
 

	
 
.newsgraphic { float: right; }
 
.newsgraphic img { border: 1px solid #000; }
 

	
 
.secondary_info { font-size: 83%; }
 
.next_page_button { float: right; }
 
.document_format { border: 1px solid #888; padding: .2em; background: #fff99d;}
 
.copyright_info { font-size: 90%; }
 
hr.footnote-separator { width: 80%; margin-left: auto; margin-right: auto; }
 

	
 
/* Resources pages */
 
div.download-formats { margin-top: 2em; margin-bottom: 2em; }
 
.download-formats p { display: inline; }
 
#mainContent .download-formats ul { display: inline; list-style: none;
 
                                    padding-left: 0; }
 
.download-formats ul li { display: inline; padding-left: 2em; }
 

	
 
/* Resources - book styles */
 
hr.chapter-separator { display: none; }
 
h2.likechapterHead { text-align: center; }
 
h2.chapterHead { text-align: center; }
 
#mainContent ul.author { list-style-type: none; padding-left: 0; }
 
#mainContent div.footnotes { font-style: normal; } /* remove italics */
 
span.sectionToc { padding-left: 2em; } /* indent TOC properly */
 
span.subsectionToc { padding-left: 4em; }
 
span.subsubsectionToc { padding-left: 6em;}
 
.js, .js p, .js p.bibitem, .js p.bibitem-p { background-color: #cde7e9; }
 

	
 
body.conservancy-overview #navbar ul li.overview a,
 
body.conservancy-Members #navbar ul li.Members a,
 
body.conservancy-news #navbar ul li.news a,
 
body.conservancy-blog #navbar ul li.blog a,
 
body.conservancy-About #navbar ul li.About a,
 
body.conservancy-donate #navbar ul li.donate a,
 
body.conservancy-sponsors #navbar ul li.sponsors a /* NO COMMA HERE! */
 
{ 
 
    color: #000033;
 
    font-weight: bold;
 
    background: #fff url(/img/nav-bg-up.png) top repeat-x;
 
}
 

	
 
#sponsor ul {
 
  clear: all;
 
}
 
#sponsor li {
 
  width: 100%;
 
  float: left;
 
  height: 250px;
 
  line-height: 100px;
 
  text-align: center;
 
  list-style: none;
 
  border: 1px solid #ccc;
 
  margin-right: 5px;
 
}
www/conservancy/static/sponsors/index.html
Show inline comments
 
{% extends "base_conservancy.html" %}
 
{% block subtitle %}Sponsors - {% endblock %}
 
{% block category %}sponsors{% endblock %}
 
{% block content %}
 

	
 
<h1>Conservancy Sponsors</h1>
 

	
 
<p>Conservancy relies on donations from the general public to support its
 
work, and asks everyone to <a href="/donate">to donate generously</a>.
 
The sponsors listed below (in alphabetical order) have donated
 
substantially in the past twelve months to support the ongoing work of
 
Conservancy.  These sponsors support our work through financial
 
contributions.  Conservancy graciously thanks these sponsors for their
 
support, but doesn't necessarily endorse nor promote any specific activity
 
of any of its sponsors.</p>
 

	
 
<ul>
 
<li><img src="/img/sponsors/gandi.png" height="65" width="171" alt="Gandi.Net" /></li>
 
<li><img src="/img/sponsors/google.gif" height="77" width="176" alt="Google" /></li>
 
<li><img src="/img/sponsors/linuxfoundation.png" height="76" width="250" alt="Linux Foundation" /></li>
 
<ul id="sponsor">
 
<li id="sponsor"><img src="/img/sponsors/gandi.png" height="65" width="171" alt="Gandi.Net" /></li>
 
<li id="sponsor"><img src="/img/sponsors/google.gif" height="77" width="176" alt="Google" /></li>
 
<li id="sponsor"><img src="/img/sponsors/linuxfoundation.png" height="76" width="250" alt="Linux Foundation" /></li>
 
</ul>
 

	
 
<!-- This section will be added when we have in-kind contributions -->
 

	
 
<!-- <h3>In-Kind Donation of Services</h3> -->
 

	
 
<!-- <p>Conservancy would also like to thank the following companies who have -->
 
<!--   donated services and/or resources in-kind to support Conservancy's -->
 
<!--   work.</p> -->
 

	
 
<!-- <ul> -->
 
<!-- </ul> -->
 
{% endblock %}
0 comments (0 inline, 0 general)