function to get all styles on page