put the css outside of the logic

Hey Dory,
This shouldn't change anything other than the layout of the css information.
It does make it nicer to look at though.