Skip to content
Myr

hacks.html

This file

Path

docs/_templates/hacks.html

103 lines · 2.8 KiB · HTML

Last changed by

Merge pull request #4782 from sayzlim/masterKenneth Reitzbefore adoption8472dbd

History of this file

Take it

The walk stopped after 200 commits: lines older than 2c438ca point at it.

Create extensions.rstKenneth Reitzbefore adoption2c438ca

lines 1–56why, one step back
1<!-- 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–67why, one step back
57
58<!-- Native CPC by BuySellAds -->5960<script src="{{ pathto('_static/', 1) }}/native.js"></script>61<script>62 _native.init("CK7D62JU", {63 targetClass: 'native-js'64 });65</script>6667<div class="native-js">

ad byKenneth Reitzbefore adoptione7cce35

line 68why, one step back
68 <div class="native-sponsor">Sponsored Ad by #native_company# — Learn More</div>

Merge branch 'master' of github.com:requests/requestsKenneth Reitzbefore adoption79e28b7

lines 69–99why, one step back
69 <a href="#native_link#" class="native-flex">
70 <style>71 .native-js {72 background: linear-gradient(-30deg, #native_bg_color#E5, #native_bg_color#E5 45%, #native_bg_color# 45%) #fff;73 }7475 .native-details,76 .native-sponsor {77 color: #native_color# !important;78 }7980 .native-details:hover {81 color: #native_color_hover# !important;82 }8384 .native-cta {85 color: #native_cta_color#;86 background-color: #native_cta_bg_color#;87 }8889 .native-cta:hover {90 color: #native_cta_color_hover;91 background-color: #native_cta_bg_color_hover#;92 }93 </style>94 <div class="native-main">95 <img class="native-img" src="#native_logo#">96 <div class="native-details">97 <span class="native-company">#native_title#</span>98 <span class="native-desc">#native_desc#</span>99 </div>

Merge pull request #4782 from sayzlim/masterKenneth Reitzbefore adoption8472dbd

line 100why, one step back
100 <span class="native-cta">#native_cta#</span>

Merge branch 'master' of github.com:requests/requestsKenneth Reitzbefore adoption79e28b7

lines 101–103why, one step back
101 </div>
102 </a>103</div>