share some styles between slides and single page