delete dirty css code and create partials for layouts