factor out common css styling to app.css