Move to AdPack/BSA
This commit is contained in:
parent
c5d4632352
commit
7832c9ee55
|
@ -140,27 +140,6 @@ nav#primary {
|
||||||
margin: 32px auto 32px auto;
|
margin: 32px auto 32px auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.influads {
|
|
||||||
margin: 32px auto 32px auto;
|
|
||||||
font-size: 12px;
|
|
||||||
text-align: center;
|
|
||||||
|
|
||||||
.influads_text {
|
|
||||||
margin-top: 3px;
|
|
||||||
margin-bottom: 6px;
|
|
||||||
|
|
||||||
a {
|
|
||||||
color: $concrete;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.influads_powered_div {
|
|
||||||
a {
|
|
||||||
color: $silver;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#content {
|
#content {
|
||||||
margin: 12px;
|
margin: 12px;
|
||||||
|
|
||||||
|
@ -303,3 +282,56 @@ form {
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
body .one {
|
||||||
|
.bsa_it_ad {
|
||||||
|
background: transparent;
|
||||||
|
border: none;
|
||||||
|
font-family: inherit;
|
||||||
|
padding: 68px 15px 0 10px;
|
||||||
|
margin: 0;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.bsa_it_ad:hover img {
|
||||||
|
-moz-box-shadow: 0 0 3px #000;
|
||||||
|
-webkit-box-shadow: 0 0 3px #000;
|
||||||
|
box-shadow: 0 0 3px #000;
|
||||||
|
}
|
||||||
|
|
||||||
|
.bsa_it_ad .bsa_it_i {
|
||||||
|
display: block;
|
||||||
|
padding: 0;
|
||||||
|
float: none;
|
||||||
|
margin: 0 0 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.bsa_it_ad .bsa_it_i img {
|
||||||
|
padding: 0;
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.bsa_it_ad .bsa_it_t {
|
||||||
|
padding: 3px 0;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.bsa_it_ad .bsa_it_d {
|
||||||
|
padding: 0;
|
||||||
|
font-size: 11px;
|
||||||
|
color: #696969;
|
||||||
|
}
|
||||||
|
|
||||||
|
.bsa_it_p {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
body #bsap_aplink,
|
||||||
|
body #bsap_aplink:hover {
|
||||||
|
display: block;
|
||||||
|
font-size: 10px;
|
||||||
|
margin: 3px 15px 0;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
@ -25,6 +25,15 @@
|
||||||
%title= "#{@item[:title]} — ariejan.net"
|
%title= "#{@item[:title]} — ariejan.net"
|
||||||
|
|
||||||
%body
|
%body
|
||||||
|
:javascript
|
||||||
|
(function(){
|
||||||
|
var bsa = document.createElement('script');
|
||||||
|
bsa.type = 'text/javascript';
|
||||||
|
bsa.async = true;
|
||||||
|
bsa.src = '//s3.buysellads.com/ac/bsa.js';
|
||||||
|
(document.getElementsByTagName('head')[0]||document.getElementsByTagName('body')[0]).appendChild(bsa);
|
||||||
|
})();
|
||||||
|
|
||||||
%header#title
|
%header#title
|
||||||
%h1= link_to "ariejan.net", "https://ariejan.net/"
|
%h1= link_to "ariejan.net", "https://ariejan.net/"
|
||||||
|
|
||||||
|
|
|
@ -21,17 +21,6 @@
|
||||||
})();
|
})();
|
||||||
|
|
||||||
%section#sidebar
|
%section#sidebar
|
||||||
%aside.influads
|
%aside.adpack
|
||||||
#influad
|
.bsarocks.bsap_a40a34b3f2d124df05e7c20ddaa79bd8#bsap_1287881
|
||||||
- if ENV['NANOC_ENV'] == "development"
|
%a(href="http://adpacks.com" id="bsap_aplink") via Ad Packs
|
||||||
.influads_block
|
|
||||||
.influads_img
|
|
||||||
%img(src="http://placehold.it/130x100&text=Influad%20(130x100)" width="130" height="100")
|
|
||||||
.influads_text
|
|
||||||
= link_to "The exquisite, low-cost way to design, send, and track email.", "#"
|
|
||||||
.influads_powered_div
|
|
||||||
= link_to "Powered by InfluAds", "#"
|
|
||||||
- else
|
|
||||||
:plain
|
|
||||||
<div id='influads_block' class='influads_block'></div>
|
|
||||||
<script type='text/javascript'>(function(){var acc='acc_933d676_pub';var st='nocss';var or='130';var e=document.getElementsByTagName('script')[0];var d=document.createElement('script');d.src=('https:' == document.location.protocol ?'https://' : 'http://') +'engine.influads.com/show/'+or+'/'+st+'/'+acc;d.type='text/javascript';d.async=true;d.defer=true; e.parentNode.insertBefore(d,e);})();</script>
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user