Refactoring code in geometry.css