Skip to content
Myr

hacks.html

This file

Path

docs/_templates/hacks.html

47 lines · 1.4 KiB · HTML

Last changed by

better codeblocks on mobileKenneth Reitzbefore adoptionf631060

History of this file

Take it

sphinx is now working properly on RTD (grrrR)Kenneth Reitzbefore adoptiondbefff6

lines 1–4why, one step back
1<!-- 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 back
5
6 /* Rezzy requires precise alignment. */

sphinx is now working properly on RTD (grrrR)Kenneth Reitzbefore adoptiondbefff6

line 7why, one step back
7 img.logo {margin-left: -20px!important;}

docs: widen things upKenneth Reitzbefore adoption60b591e

lines 8–9why, one step back
8
9 /* "Quick Search" should be capitalized. */

sphinx is now working properly on RTD (grrrR)Kenneth Reitzbefore adoptiondbefff6

line 10why, one step back
10 div#searchbox h3 {text-transform: capitalize;}

docs: widen things upKenneth Reitzbefore adoption60b591e

lines 11–14why, one step back
11
12 /* Make the document a little wider, less code is cut-off. */13 div.document {width: 1008px;}14

clean up codeblock stylesKenneth Reitzbefore adoptionf422ace

lines 15–17why, one step back
15 /* Much-improved spacing around code blocks. */
16 div.highlight pre {padding: 11px 14px;}17

docs: widen things upKenneth Reitzbefore adoption60b591e

lines 18–21why, one step back
18 /* 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 back
22
23 /* 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 back
25 }

clean up codeblock stylesKenneth Reitzbefore adoptionf422ace

line 26why, one step back
26

sphinx is now working properly on RTD (grrrR)Kenneth Reitzbefore adoptiondbefff6

lines 27–43why, one step back
27</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';37 t.setAttribute('data-site-id', '4ddc27f6613f5d186d000007');38 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 back
44
45<!-- There are no more hacks. -->46<!-- இڿڰۣ-ڰۣ— -->47<!-- Love, Kenneth Reitz -->