| 1 |
<!-- Alabaster (krTheme++) Hacks --> |
| 2 |
|
| 3 |
<!-- CSS Adjustments (I'm very picky.) --> |
| 4 |
<style type="text/css"> |
| 5 |
|
| 6 |
/* Rezzy requires precise alignment. */ |
| 7 |
img.logo {margin-left: -20px!important;} |
| 8 |
|
| 9 |
/* "Quick Search" should be capitalized. */ |
| 10 |
div#searchbox h3 {text-transform: capitalize;} |
| 11 |
|
| 12 |
/* Make the document a little wider, less code is cut-off. */ |
| 13 |
div.document {width: 1008px;} |
| 14 |
|
| 15 |
/* Much-improved spacing around code blocks. */ |
| 16 |
div.highlight pre {padding: 11px 14px;} |
| 17 |
|
| 18 |
/* Remain Responsive! */ |
| 19 |
@media screen and (max-width: 1008px) { |
| 20 |
div.sphinxsidebar {display: none;} |
| 21 |
div.document {width: 100%!important;} |
| 22 |
|
| 23 |
/* Have code blocks escape the document right-margin. */ |
| 24 |
div.highlight pre {margin-right: -30px;} |
| 25 |
} |
| 26 |
</style> |
| 27 |
|
| 28 |
<!-- Native CPC by BuySellAds --> |
| 29 |
|
| 30 |
<script type="text/javascript" src="//m.servedby-buysellads.com/monetization.js"></script> |
| 31 |
|
| 32 |
<div id="native-ribbon"> |
| 33 |
</div> |
| 34 |
|
| 35 |
<script> |
| 36 |
_bsa.init('custom', 'CK7D62JU', 'placement:pythonrequestsorg', |
| 37 |
{ |
| 38 |
target: '#native-ribbon', |
| 39 |
template: ` |
| 40 |
<div class="native-sponsor">Sponsored by ##company## — Learn More</div> |
| 41 |
<a href="##link##" class="native-flex"> |
| 42 |
<style> |
| 43 |
#native-ribbon #_custom_ { |
| 44 |
background: linear-gradient(-30deg, ##backgroundColor##E5, ##backgroundColor##E5 45%, ##backgroundColor## 45%) #fff; |
| 45 |
} |
| 46 |
|
| 47 |
.native-details, |
| 48 |
.native-sponsor, |
| 49 |
.native-bsa { |
| 50 |
color: ##textColor## !important; |
| 51 |
} |
| 52 |
|
| 53 |
.native-details:hover { |
| 54 |
color: ##textColorHover## !important; |
| 55 |
} |
| 56 |
|
| 57 |
.native-cta { |
| 58 |
color: ##ctaTextColor##; |
| 59 |
background-color: ##ctaBackgroundColor##; |
| 60 |
} |
| 61 |
|
| 62 |
.native-cta:hover { |
| 63 |
color: ##ctaTextColorHover##; |
| 64 |
background-color: ##ctaBackgroundColorHover##; |
| 65 |
} |
| 66 |
</style> |
| 67 |
<div class="native-main"> |
| 68 |
<img class="native-img" src="##logo##"> |
| 69 |
<div class="native-details"> |
| 70 |
<span class="native-company">##title##</span> |
| 71 |
<span class="native-desc">##description##</span> |
| 72 |
</div> |
| 73 |
</div> |
| 74 |
<span class="native-cta">##callToAction##</span> |
| 75 |
</a> |
| 76 |
</div> |
| 77 |
` |
| 78 |
} |
| 79 |
); |
| 80 |
</script> |