seperate styles from index file