take common css out of each template