Fix gaps at the bottom of images and make clock css more general.