css/template: use thumbnail and add text-overflow handling