update pages and box-shadow style