A.
Whenever in this Code or in any ordinance or resolution of the village any act is prohibited or is made or declared to be unlawful or an offense or whenever in such Code, ordinance or resolution the doing of any act is required or the failure to do any act is declared to be unlawful, where no specific penalty is provided therefor, the violation of any such provision of this Code or any ordinance or resolution shall constitute disorderly conduct and shall be punished by a fine not exceeding $250 and, in the event of failure to pay the same, by imprisonment not exceeding 15 days, or both such fine and imprisonment. Each day any violation of any provision of this Code or of any such ordinance or resolution shall continue shall constitute a separate offense.
B.
In addition to the penalty hereinabove provided, any condition caused or permitted to exist in violation of any of the provisions of this Code or any such ordinance or resolution shall be deemed a public nuisance and may be, by the village, abated as provided by law, and each day that such condition continues shall be regarded as a new and separate offense.