Refactored thumbnails styles