refactor pages#show styles