Refactored CSS by removing repitions of attributes