Skip to content

Commit 271b0fa

Browse files
committed
Update header
1 parent ed3d977 commit 271b0fa

File tree

2 files changed

+27
-31
lines changed

2 files changed

+27
-31
lines changed

_includes/header.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ <h1 class="cg-masthead-title">
2222
</a>
2323
</p>
2424

25-
<script src="https://cdn.fusionads.net/fusion.js?zoneid=1332&serve=C6SDP2Y&placement=codeguide" id="_fusionads_js"></script>
25+
<script async src="//cdn.carbonads.com/carbon.js?serve=CKYI52JU&placement=codeguide" id="_carbonads_js"></script>
2626
</div>
2727
</header>

_sass/_ads.scss

Lines changed: 26 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,34 @@
1-
/* Ads
2-
-------------------------------------------------- */
1+
// stylelint-disable declaration-no-important, selector-max-id
32

4-
#fusionads {
3+
//
4+
// Carbon ads
5+
//
6+
7+
#carbonads {
8+
position: static;
59
display: block;
6-
max-width: 18rem;
7-
padding: 1rem;
8-
margin: 0 auto;
9-
overflow: hidden; /* clearfix */
10-
font-size: .8rem;
11-
line-height: 1.3;
10+
max-width: 400px;
11+
padding: 15px 15px 15px 160px;
12+
margin: 2rem 0;
13+
overflow: hidden;
14+
font-size: .8125rem;
15+
line-height: 1.4;
1216
text-align: left;
13-
background-color: rgba(0,0,0,.2);
14-
}
15-
.fusion-text,
16-
.fusion-poweredby {
17-
display: block;
18-
color: #fff;
19-
}
20-
.fusion-text:hover,
21-
.fusion-poweredby:hover {
22-
text-decoration: none;
17+
background-color: rgba(0, 0, 0, .05);
18+
19+
a {
20+
color: rgba(255,255,255,.75);
21+
text-decoration: none;
22+
}
2323
}
24-
.fusion-img {
24+
25+
.carbon-img {
2526
float: left;
26-
margin-right: 1rem;
27-
}
28-
.fusion-poweredby {
29-
display: block !important;
30-
margin-top: .5rem;
27+
margin-left: -145px;
3128
}
3229

33-
@media (min-width: 40em) {
34-
#fusionads {
35-
max-width: 16rem;
36-
font-size: .7rem;
37-
}
30+
.carbon-poweredby {
31+
display: block;
32+
margin-top: .75rem;
33+
color: rgba(255,255,255,.5) !important;
3834
}

0 commit comments

Comments
 (0)