Parking is prohibited:

Locations where parking is prohibited include within 15 feet of a fire hydrant, within 20 feet of a crosswalk at an intersection, and within 50 feet of the nearest rail at a rail crossing. Only park where it is legal and safe to do so.
DMV Writen Test