diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html
index b6bfee68..5bbb3cca 100644
--- a/docs/_layouts/default.html
+++ b/docs/_layouts/default.html
@@ -107,12 +107,22 @@
padding-top: .5em;
padding-bottom: .5em;
}
+ .toc-item-H1 { margin-left: 0px; }
+ .toc-item-H2 { margin-left: 8px; }
+ .toc-item-H3, .toc-item-H4, .toc-item-H5, .toc-item-H6 { margin-left: 16px; }