Improve spacing on docs pages with better h* margins

Inspired by GitHub’s