styling thumbnails and overriding foundation core