update pages css and markup