No need for extra spacing above the h1... I guess. It has made the top of the h1 to be off line with the top of the ToC.
diff --git a/src/main/org/freemarker/docgen/less/lib/layout/content.less b/src/main/org/freemarker/docgen/less/lib/layout/content.less
index c8b19af..a9076f9 100644
--- a/src/main/org/freemarker/docgen/less/lib/layout/content.less
+++ b/src/main/org/freemarker/docgen/less/lib/layout/content.less
@@ -92,10 +92,6 @@
 
     .title-wrapper {
       flex: 1;
-
-      @media (min-width: @screen-sm-min) {
-        padding-top: 15px;
-      }
     }
 
     h1 {