Add SASS mixins and use them.

Reduces code duplication and makes things cleaner.