Refactor portal styles.