refactored css and ruby files