updated font css trick to work with safari and crhome