It seems `margin-top` for `h6` tags [does not follow the decreasing sequence](https://github.com/vincentdoerig/latex-css/blob/master/style.css#L701)
It seems
margin-topforh6tags does not follow the decreasing sequence