duration calcuations in parser, update css on main page