hacks.html
This file
Path
docs/_templates/hacks.html
110 lines · 2.9 KiB · HTML
Last changed by
Merge pull request #4978 from sayzlim/masterKenneth Reitzbefore adoption5eb7337
History of this fileTake it
The walk stopped after 200 commits: lines older than e4d214d point at it.
Merge pull request #4749 from derlin/masterNate Prewittbefore adoptione4d214d
lines 1–56why, 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 }2627</style>282930<!-- Analytics tracking for Kenneth. -->31<script type="text/javascript">32 var _gauges = _gauges || [];33 (function() {34 var t = document.createElement('script');35 t.type = 'text/javascript';36 t.async = true;37 t.id = 'gauges-tracker';38 t.setAttribute('data-site-id', '56ca7a57c88d9011080024dd');39 t.setAttribute('data-track-path', 'https://track.gaug.es/track.gif');40 t.src = 'https://d36ee2fcip1434.cloudfront.net/track.js';41 var s = document.getElementsByTagName('script')[0];42 s.parentNode.insertBefore(t, s);43 })();44</script>454647<!-- There are no more hacks. -->48<!-- இڿڰۣ-ڰۣ— -->49<!-- Love, Kenneth Reitz -->5051<script src="{{ pathto('_static/', 1) }}/konami.js"></script>52<script>53 var easter_egg = new Konami('http://fortunes.herokuapp.com/random/raw');54</script>5556<!-- That was not a hack. That was art. -->Merge branch 'master' of github.com:requests/requestsKenneth Reitzbefore adoption79e28b7
lines 57–59why, one step back5758<!-- Native CPC by BuySellAds -->59Merge pull request #4978 from sayzlim/masterKenneth Reitzbefore adoption5eb7337
line 60why, one step back60<script type="text/javascript" src="//m.servedby-buysellads.com/monetization.js"></script>Merge branch 'master' of github.com:requests/requestsKenneth Reitzbefore adoption79e28b7
line 61why, one step back61Merge pull request #4978 from sayzlim/masterKenneth Reitzbefore adoption5eb7337
lines 62–71why, one step back62<div id="native-ribbon">63</div>6465<script>66_bsa.init('custom', 'CK7D62JU', 'placement:pythonrequestsorg',67 {68 target: '#native-ribbon',69 template: `70<div class="native-sponsor">Sponsored by ##company## — Learn More</div>71 <a href="##link##" class="native-flex">Merge branch 'master' of github.com:requests/requestsKenneth Reitzbefore adoption79e28b7
line 72why, one step back72 <style>Merge pull request #4978 from sayzlim/masterKenneth Reitzbefore adoption5eb7337
lines 73–75why, one step back73 #native-ribbon #_custom_ {74 background: linear-gradient(-30deg, ##backgroundColor##E5, ##backgroundColor##E5 45%, ##backgroundColor## 45%) #fff;75 }Merge branch 'master' of github.com:requests/requestsKenneth Reitzbefore adoption79e28b7
line 76why, one step back76Merge pull request #4978 from sayzlim/masterKenneth Reitzbefore adoption5eb7337
lines 77–81why, one step back77 .native-details,78 .native-sponsor,79 .native-bsa {80 color: ##textColor## !important;81 }Merge branch 'master' of github.com:requests/requestsKenneth Reitzbefore adoption79e28b7
line 82why, one step back82Merge pull request #4978 from sayzlim/masterKenneth Reitzbefore adoption5eb7337
lines 83–85why, one step back83 .native-details:hover {84 color: ##textColorHover## !important;85 }Merge branch 'master' of github.com:requests/requestsKenneth Reitzbefore adoption79e28b7
line 86why, one step back86Merge pull request #4978 from sayzlim/masterKenneth Reitzbefore adoption5eb7337
lines 87–90why, one step back87 .native-cta {88 color: ##ctaTextColor##;89 background-color: ##ctaBackgroundColor##;90 }Merge branch 'master' of github.com:requests/requestsKenneth Reitzbefore adoption79e28b7
line 91why, one step back91Merge pull request #4978 from sayzlim/masterKenneth Reitzbefore adoption5eb7337
lines 92–95why, one step back92 .native-cta:hover {93 color: ##ctaTextColorHover##;94 background-color: ##ctaBackgroundColorHover##;95 }Merge branch 'master' of github.com:requests/requestsKenneth Reitzbefore adoption79e28b7
lines 96–97why, one step back96 </style>97 <div class="native-main">Merge pull request #4978 from sayzlim/masterKenneth Reitzbefore adoption5eb7337
line 98why, one step back98 <img class="native-img" src="##logo##">Merge branch 'master' of github.com:requests/requestsKenneth Reitzbefore adoption79e28b7
line 99why, one step back99 <div class="native-details">Merge pull request #4978 from sayzlim/masterKenneth Reitzbefore adoption5eb7337
lines 100–101why, one step back100 <span class="native-company">##title##</span>101 <span class="native-desc">##description##</span>Merge branch 'master' of github.com:requests/requestsKenneth Reitzbefore adoption79e28b7
lines 102–103why, one step back102 </div>103 </div>Merge pull request #4978 from sayzlim/masterKenneth Reitzbefore adoption5eb7337
line 104why, one step back104 <span class="native-cta">##callToAction##</span>Merge branch 'master' of github.com:requests/requestsKenneth Reitzbefore adoption79e28b7
lines 105–106why, one step back105 </a>106</div>Merge pull request #4978 from sayzlim/masterKenneth Reitzbefore adoption5eb7337
lines 107–110why, one step back107`108 }109 );110</script>