Skip to content

Commit

Permalink
Add Carbon Ads
Browse files Browse the repository at this point in the history
  • Loading branch information
tommy351 committed Aug 1, 2017
1 parent 4a541a3 commit 380a83e
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 2 deletions.
5 changes: 4 additions & 1 deletion themes/navy/layout/partial/sidebar.swig
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
<aside id="sidebar" role="navigation">
<div class="inner">{{ doc_sidebar('sidebar') }}</div>
<div class="inner">
{{ doc_sidebar('sidebar') }}
<script async type="text/javascript" src="//cdn.carbonads.com/carbon.js?zoneid=1673&serve=C6AILKT&placement=carbonadsnet" id="_carbonads_js"></script>
</div>
</aside>
35 changes: 34 additions & 1 deletion themes/navy/source/css/_partial/sidebar.styl
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,37 @@
&.current
color: color-link
&:hover
color: color-link-hover
color: color-link-hover

#carbonads
display: block
overflow: hidden
margin-top: 40px
max-width: 130px
text-align: left
font-size: 13px
line-height: 1.5
a
color: inherit
text-decoration: none
&:hover
color: inherit
span
display: block
overflow: hidden

.carbon-img
display: block
margin: 0 auto 8px
line-height: 1

.carbon-text
display: block
margin-bottom: 8px

.carbon-poweredby
display: block
text-transform: uppercase
letter-spacing: 1px
font-size: 9px
line-height: 1

0 comments on commit 380a83e

Please sign in to comment.