add css rules for event details