Refactor CSS. Move many style tags into stylesheets.