Coffee real ads

master
Nick Sergeant 2012-02-27 09:42:29 -05:00
parent c0d692888f
commit a0f8a50c99
3 changed files with 35 additions and 10 deletions

View File

@ -859,6 +859,19 @@ section.main {
text-decoration: none; }
section.main aside.main section.ad div.meta a:hover {
text-decoration: underline; }
section.main aside.main section.ad.coffee {
margin-bottom: 27px; }
section.main aside.main section.ad.coffee p {
margin: 7px 0 0 0; }
section.main aside.main section.ad.coffee > div {
height: auto !important;
margin-bottom: 0 !important; }
section.main aside.main section.ad.coffee > div div:nth-child(1) {
margin-bottom: 6px !important; }
section.main aside.main section.ad.coffee > div div:nth-child(2) {
font: normal 11px/12px "Helvetica Neue", Helvetica, Arial, "Liberation Sans", FreeSans, sans-serif;
height: 12px;
margin: 0 !important; }
section.main aside.main section.tags {
margin: 0 15px 45px 15px; }
section.main aside.main section.tags h1 {

View File

@ -332,6 +332,26 @@ section.main {
}
}
}
&.coffee {
margin-bottom: 27px;
p {
margin: 7px 0 0 0;
}
& > div {
height: auto !important;
margin-bottom: 0 !important;
div:nth-child(1) {
margin-bottom: 6px !important;
}
div:nth-child(2) {
font: normal 11px/12px $Helvetica;
height: 12px;
margin: 0 !important;
}
}
}
}
section.tags {
margin: 0 15px 45px 15px;

View File

@ -117,16 +117,8 @@
</div>
{% block aside %}
<aside class="main">
<section class="ad">
<div class="asset">
<a href="http://www.adsbycoffee.org/">
<img src="https://snipt.s3.amazonaws.com/images/ad.png" alt="" />
Ads by Coffee is a non-profit advertising agency exclusively for charity organizations.
</a>
</div>
<div class="meta">
<a href="http://www.adsbycoffee.org/">Ads by Coffee</a>
</div>
<section class="ad coffee">
<script type="text/javascript" src="http://adsbycoffee.appspot.com/partner.js?publisher=ag1zfmFkc2J5Y29mZmVlchALEglQdWJsaXNoZXIY-VUM"></script>
</section>
{% block tags %}{% endblock %}
<nav class="footer">