hacks.html
This file
Path
docs/_templates/hacks.html
80 lines · 2.0 KiB · HTML
Last changed by
Not known.
History of this fileTake it
The walk stopped after 200 commits: lines older than 24dfbfd point at it.
Update quickstart.rst : fixing brotlicffi link (#6044)Chavithrabefore adoption24dfbfd
lines 1–80why, one step back1<!-- Alabaster (krTheme++) Hacks -->23<!-- CSS Adjustments (I'm very picky.) -->4<style type="text/css">56 /* Rezzy requires precise alignment. */7 img.logo {margin-left: -20px!important;}89 /* "Quick Search" should be capitalized. */10 div#searchbox h3 {text-transform: capitalize;}1112 /* Make the document a little wider, less code is cut-off. */13 div.document {width: 1008px;}1415 /* Much-improved spacing around code blocks. */16 div.highlight pre {padding: 11px 14px;}1718 /* Remain Responsive! */19 @media screen and (max-width: 1008px) {20 div.sphinxsidebar {display: none;}21 div.document {width: 100%!important;}2223 /* Have code blocks escape the document right-margin. */24 div.highlight pre {margin-right: -30px;}25 }26</style>2728<!-- Native CPC by BuySellAds -->2930<script type="text/javascript" src="//m.servedby-buysellads.com/monetization.js"></script>3132<div id="native-ribbon">33</div>3435<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 }4647 .native-details,48 .native-sponsor,49 .native-bsa {50 color: ##textColor## !important;51 }5253 .native-details:hover {54 color: ##textColorHover## !important;55 }5657 .native-cta {58 color: ##ctaTextColor##;59 background-color: ##ctaBackgroundColor##;60 }6162 .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>