changed css properties accordingly