updated the styles and structure of the how to for legend