Moved styles from index to layout