functional php : list styling