take css out of templates. declare it globally