Moving styles to db