change layout code so that img and text align center
added padding and color to the list layout