add style for periodic numbers
remove outdated styles
change indentation