diff --git a/docs/_templates/hacks.html b/docs/_templates/hacks.html
index 997f8b23..4763b26b 100644
--- a/docs/_templates/hacks.html
+++ b/docs/_templates/hacks.html
@@ -12,11 +12,15 @@
/* Make the document a little wider, less code is cut-off. */
div.document {width: 1008px;}
+ /* Much-improved spacing around code blocks. */
+ div.highlight pre {padding: 11px 14px;}
+
/* Remain Responsive! */
@media screen and (max-width: 1008px) {
div.sphinxsidebar {display: none;}
div.document {width: 100%!important;}
}
+