Refactored css to work on the server