adjusts styles to work better with more public themes.