Refactored the layout stylesheet.