Extract repetitive CSS inline styles

Inline styles slow down rendering proportionally to containers number