From e8129ccb9122e8a8ebdca06b8be5e0b64e1f0552 Mon Sep 17 00:00:00 2001 From: Artur Arseniev Date: Tue, 16 Apr 2019 00:32:38 +0200 Subject: [PATCH] Add new carbon adds to the index --- index.html | 5 +++-- js/carbon.js | 27 +++++++++++++++++++++++++++ stylesheets/stylesheet.css | 16 +++++++++++++++- 3 files changed, 45 insertions(+), 3 deletions(-) create mode 100644 js/carbon.js diff --git a/index.html b/index.html index 2c4255d79..550230b27 100644 --- a/index.html +++ b/index.html @@ -62,7 +62,7 @@ Features - Documentation + Docs @@ -101,7 +101,8 @@ - +
+
diff --git a/js/carbon.js b/js/carbon.js new file mode 100644 index 000000000..91cffac57 --- /dev/null +++ b/js/carbon.js @@ -0,0 +1,27 @@ +var loadAd = function() { + if(typeof _bsa !== 'undefined' && _bsa) { + _bsa.init('custom', 'CK7I62QJ', 'placement:grapesjscom', { + target: '#native-carbon', + template: '', + }); + } +}; + +(function(){ + var scr = document.createElement('script'); + scr.src = '//m.servedby-buysellads.com/monetization.js'; + scr.onload = loadAd; + document.head.appendChild(scr); +})(); diff --git a/stylesheets/stylesheet.css b/stylesheets/stylesheet.css index 5eceb3718..81e8bd01f 100644 --- a/stylesheets/stylesheet.css +++ b/stylesheets/stylesheet.css @@ -766,7 +766,8 @@ a { border: 1px solid rgba(0,0,0,0.1); } -#carbonads span { +.carbon-wrap, +.carbon-link { display: block; overflow: hidden; text-align: left; @@ -785,6 +786,19 @@ a { border-radius: 3px; } +.carbon-cta-c { + text-align: right; + padding-top: 5px; +} + +.carbon-cta { + display: inline-block; + padding: 4px 10px; + border-radius: 3px; + font-weight: bold; + font-size: 12px; +} + #carbonads a { color: rgba(255,255,255,0.95); text-shadow: none;