styling the ranking pages