Extracted some common styles into mixins.