Converting vt100 format to css rules(as a string)