Fix idents and make all CSS consistent

This is just a general tidy up to fix up the loose indents, spacing and conventions.