Clean up of sass file.

Added nested elements to classes to reduce repeated code.