Skip to content
This repository was archived by the owner on May 25, 2023. It is now read-only.

Commit e8423d0

Browse files
committed
Add Carbon Ads.
1 parent 0e92a4d commit e8423d0

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

css/vendor/carbon.css

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#carbonads {
2+
box-sizing: border-box;
3+
max-width: 300px;
4+
min-height: 130px;
5+
padding: 15px 15px 15px 160px;
6+
margin: 0;
7+
border-radius: 4px;
8+
font-size: 13px;
9+
line-height: 1.4;
10+
background-color: rgba(0, 0, 0, 0.05);
11+
}
12+
#carbonads .carbon-img {
13+
float: left;
14+
margin-left: -145px;
15+
}
16+
#carbonads .carbon-poweredby {
17+
display: block;
18+
color: #777 !important;
19+
}

index.html

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@
3131
integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u"
3232
crossorigin="anonymous"
3333
/>
34+
<!--[if gte IE 9]><!-->
35+
<!-- Carbon Ads styles -->
36+
<link rel="stylesheet" href="css/vendor/carbon.css" />
37+
<!--<![endif]-->
3438
<!-- Generic page styles -->
3539
<style>
3640
#navigation {
@@ -149,6 +153,17 @@ <h1 id="title">jQuery File Upload Demo</h1>
149153
<tbody class="files"></tbody>
150154
</table>
151155
</form>
156+
<!--[if gte IE 9]><!-->
157+
<!-- Carbon Ads -->
158+
<p>
159+
<script
160+
async
161+
type="text/javascript"
162+
src="//cdn.carbonads.com/carbon.js?serve=CKYIL53M&placement=blueimpgithubio"
163+
id="_carbonads_js"
164+
></script>
165+
</p>
166+
<!--<![endif]-->
152167
<div class="panel panel-default">
153168
<div class="panel-heading">
154169
<h3 class="panel-title">Demo Notes</h3>

0 commit comments

Comments
 (0)