hacks.html
This file
Path
docs/_templates/hacks.html
54 lines · 1.6 KiB · HTML
Last changed by
peeps be stealin'!Kenneth Reitzbefore adoptionf90c311
History of this fileTake it
sphinx is now working properly on RTD (grrrR)Kenneth Reitzbefore adoptiondbefff6
lines 1–4why, one step back1<!-- Alabaster (krTheme++) Hacks -->23<!-- CSS Adjustments (I'm very picky.) -->4<style type="text/css">docs: widen things upKenneth Reitzbefore adoption60b591e
lines 5–6why, one step back56 /* Rezzy requires precise alignment. */sphinx is now working properly on RTD (grrrR)Kenneth Reitzbefore adoptiondbefff6
line 7why, one step back7 img.logo {margin-left: -20px!important;}docs: widen things upKenneth Reitzbefore adoption60b591e
lines 8–9why, one step back89 /* "Quick Search" should be capitalized. */sphinx is now working properly on RTD (grrrR)Kenneth Reitzbefore adoptiondbefff6
line 10why, one step back10 div#searchbox h3 {text-transform: capitalize;}docs: widen things upKenneth Reitzbefore adoption60b591e
lines 11–14why, one step back1112 /* Make the document a little wider, less code is cut-off. */13 div.document {width: 1008px;}14clean up codeblock stylesKenneth Reitzbefore adoptionf422ace
lines 15–17why, one step back15 /* Much-improved spacing around code blocks. */16 div.highlight pre {padding: 11px 14px;}17docs: widen things upKenneth Reitzbefore adoption60b591e
lines 18–21why, one step back18 /* Remain Responsive! */19 @media screen and (max-width: 1008px) {20 div.sphinxsidebar {display: none;}21 div.document {width: 100%!important;}better codeblocks on mobileKenneth Reitzbefore adoptionf631060
lines 22–24why, one step back2223 /* Have code blocks escape the document right-margin. */24 div.highlight pre {margin-right: -30px;}docs: widen things upKenneth Reitzbefore adoption60b591e
line 25why, one step back25 }clean up codeblock stylesKenneth Reitzbefore adoptionf422ace
line 26why, one step back26sphinx is now working properly on RTD (grrrR)Kenneth Reitzbefore adoptiondbefff6
lines 27–36why, one step back27</style>2829<!-- Analytics tracking for Kenneth. -->30<script type="text/javascript">31 var _gauges = _gauges || [];32 (function() {33 var t = document.createElement('script');34 t.type = 'text/javascript';35 t.async = true;36 t.id = 'gauges-tracker';peeps be stealin'!Kenneth Reitzbefore adoptionf90c311
line 37why, one step back37 t.setAttribute('data-site-id', '56ca7a57c88d9011080024dd');sphinx is now working properly on RTD (grrrR)Kenneth Reitzbefore adoptiondbefff6
lines 38–43why, one step back38 t.setAttribute('data-track-path', 'https://track.gaug.es/track.gif');39 t.src = 'https://d36ee2fcip1434.cloudfront.net/track.js';40 var s = document.getElementsByTagName('script')[0];41 s.parentNode.insertBefore(t, s);42 })();43</script>docs: widen things upKenneth Reitzbefore adoption60b591e
lines 44–47why, one step back4445<!-- There are no more hacks. -->46<!-- இڿڰۣ-ڰۣ— -->47<!-- Love, Kenneth Reitz -->cheat codeKenneth Reitzbefore adoption1b1f4ac
lines 48–54why, one step back4849<script src="{{ pathto('_static/', 1) }}/konami.js"></script>50<script>51 var easter_egg = new Konami('http://fortunes.herokuapp.com/random/raw');52</script>5354<!-- That was not a hack. That was art. -->