extracted styles from index