CSS function list works sort of, but has extra lines