Refactored repeated styles into separate css file