apply the style to all pages