add css to event types