refactored inline css