move main image caption styles to separate file