Skip to content
Permalink
Browse files

Added fusion ads

  • Loading branch information...
stevestreza committed Aug 14, 2013
1 parent 528511c commit a03b6cef9dda36c4f2d85a22a0f9d27d747ef3d2
Showing with 67 additions and 17 deletions.
  1. +36 −0 scss/css/devcenter.scss
  2. +31 −17 views/layout.hbs
@@ -16,6 +16,14 @@
"foundation/components/panels",
"foundation/components/forms";

header h1 {
line-height: 100px;
}

#header-divider hr {
margin-top: 0;
}

.site {
height: 44px;
line-height: 44px;
@@ -57,3 +65,31 @@
.sortKey {
display: none;
}


// Ads

#fusion_ad {
font-size: 14px;
width: 100%;
height: 100px;
padding: 10px;

span.fusionentire > a:first-child {
display: block;
float: left;
}

.fusionimg {
margin-right: 10px;
}

.fusiontext {
margin-bottom: 1em;
}

> a:before {
content: "\a";
white-space: pre;
}
}
@@ -20,15 +20,22 @@
<!-- Header -->

<header class="row">
<div class="large-12 columns">
<div class="large-8 columns">
<h1>{{{title}}}</h1>
<hr />
</div>
<!-- <div class="large-4 columns">
<p><img src="http://placehold.it/130x100&text=[ad]" /></p>
</div> -->
<div class="large-4 columns">
<div id="fusion_ad">
<a href="http://fusionads.net">Powered by Fusion</a>
</div>
</div>
</header>

<div id="header-divider" class="row">
<div class="large-12 columns">
<hr />
</div>
</div>

{{{body}}}

<!-- Footer -->
@@ -105,18 +112,25 @@
</script>

<script type="text/javascript">
var _gauges = _gauges || [];
(function() {
var t = document.createElement('script');
t.type = 'text/javascript';
t.async = true;
t.id = 'gauges-tracker';
t.setAttribute('data-site-id', '5201a211108d7b01d7000194');
t.src = '//secure.gaug.es/track.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(t, s);
})();
var _gauges = _gauges || [];
(function() {
var t = document.createElement('script');
t.type = 'text/javascript';
t.async = true;
t.id = 'gauges-tracker';
t.setAttribute('data-site-id', '5201a211108d7b01d7000194');
t.src = '//secure.gaug.es/track.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(t, s);
})();
</script>
<script type="text/javascript">
(function(){
var fusion = document.createElement('script');
fusion.src = window.location.protocol + '//adn.fusionads.net/api/1.0/ad.js?zoneid=285&rand=' + Math.floor(Math.random()*9999999);
fusion.async = true;
(document.head || document.getElementsByTagName('head')[0]).appendChild(fusion);
})();
</script>

</body>
</html>

0 comments on commit a03b6ce

Please sign in to comment.
You can’t perform that action at this time.