use :extend in thumbnail Less

Reduces redundancy in the CSS.