Moving some inline styles into CSS