added styles to pin idex and show pages