Refactor duplicate code for custom.css.scss.