Refactored CSS in layout head