mirror of
https://github.com/kristoferjoseph/flexboxgrid.git
synced 2026-01-24 23:16:48 +00:00
Adds ads
This commit is contained in:
File diff suppressed because one or more lines are too long
2
css/index.min.css
vendored
2
css/index.min.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -254,6 +254,29 @@ code {
|
||||
display: block;
|
||||
visibility: visible;
|
||||
}
|
||||
#carbonads {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
#carbonads a,
|
||||
#carbonads a:active,
|
||||
#carbonads a:hover,
|
||||
#carbonads a:visited {
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
}
|
||||
.carbon-wrap {
|
||||
display: flex;
|
||||
max-width: 18.75rem;
|
||||
margin-top: 2rem;
|
||||
}
|
||||
.carbon-img {
|
||||
margin-right: 0.5rem;
|
||||
}
|
||||
.carbon-poweredby {
|
||||
opacity: 0.5;
|
||||
}
|
||||
@media only screen and (min-width: 48rem) {
|
||||
body {
|
||||
font-size: 16px;
|
||||
|
||||
@@ -765,6 +765,11 @@
|
||||
code.src = 'js/index.js';
|
||||
var script = document.getElementsByTagName('script')[0];
|
||||
script.parentNode.insertBefore(code, script);
|
||||
var ad = document.createElement('script');
|
||||
var target = document.querySelector('.hero')
|
||||
ad.id = "_carbonads_js"
|
||||
ad.src = '//cdn.carbonads.com/carbon.js?zoneid=1673&serve=C6AILKT&placement=flexboxgridcom'
|
||||
target.appendChild(ad)
|
||||
});
|
||||
}());
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user