apply css and time info