re-add margin and footnumber styling to document styles