diff options
author | Kenneth Reitz <me@kennethreitz.org> | 2018-09-10 11:05:14 -0400 |
---|---|---|
committer | Kenneth Reitz <me@kennethreitz.org> | 2018-09-10 11:05:14 -0400 |
commit | 79e28b7f03510804d824d2dc76ba4a273bc7ddce (patch) | |
tree | 0d578ff2d68f88b14a79416571786713d348fbdb /docs/_templates | |
parent | e976ea839b55e07f01a962c5bb38bedb543a2df7 (diff) | |
parent | 2072888e28574c3b821181a7a3442ebcf239cba9 (diff) | |
download | python-requests-79e28b7f03510804d824d2dc76ba4a273bc7ddce.tar.gz |
Merge branch 'master' of github.com:requests/requests
Diffstat (limited to 'docs/_templates')
-rw-r--r-- | docs/_templates/hacks.html | 47 | ||||
-rw-r--r-- | docs/_templates/sidebarintro.html | 2 |
2 files changed, 48 insertions, 1 deletions
diff --git a/docs/_templates/hacks.html b/docs/_templates/hacks.html index b04b1afa..68f0438c 100644 --- a/docs/_templates/hacks.html +++ b/docs/_templates/hacks.html @@ -54,3 +54,50 @@ </script> <!-- That was not a hack. That was art. --> + +<!-- Native CPC by BuySellAds --> + +<script src="{{ pathto('_static/', 1) }}/native.js"></script> +<script> + _native.init("CK7D62JU", { + targetClass: 'native-js' + }); +</script> + +<div class="native-js"> + <div class="native-sponsor">Sponsored by #native_company# — Learn More</div> + <a href="#native_link#" class="native-flex"> + <style> + .native-js { + background: linear-gradient(-30deg, #native_bg_color#E5, #native_bg_color#E5 45%, #native_bg_color# 45%) #fff; + } + + .native-details, + .native-sponsor { + color: #native_color# !important; + } + + .native-details:hover { + color: #native_color_hover# !important; + } + + .native-cta { + color: #native_cta_color#; + background-color: #native_cta_bg_color#; + } + + .native-cta:hover { + color: #native_cta_color_hover; + background-color: #native_cta_bg_color_hover#; + } + </style> + <div class="native-main"> + <img class="native-img" src="#native_logo#"> + <div class="native-details"> + <span class="native-company">#native_title#</span> + <span class="native-desc">#native_desc#</span> + </div> + <span class="native-cta">#native_cta#</span> + </div> + </a> +</div> diff --git a/docs/_templates/sidebarintro.html b/docs/_templates/sidebarintro.html index 4aa4bddf..88251989 100644 --- a/docs/_templates/sidebarintro.html +++ b/docs/_templates/sidebarintro.html @@ -16,7 +16,7 @@ <p>Sponsored by <strong><a href="https://linode.com/">Linode</a></strong> and <a href="http://docs.python-requests.org/en/master/community/sponsors/#patron-sponsors">other wonderful organizations</a>.</p> -<script async type="text/javascript" src="//cdn.carbonads.com/carbon.js?zoneid=1673&serve=C6AILKT&placement=pythonrequestsorg" id="_carbonads_js"></script> +<script async type="text/javascript" src="//cdn.carbonads.com/carbon.js?zoneid=1673&serve=CKYI5K3E&placement=pythonrequestsorg" id="_carbonads_js"></script> <h3>Stay Informed</h3> <p>Receive updates on new releases and upcoming projects.</p> |