(a) Whenever in this Code any act is prohibited or is made or declared to be unlawful or an offense, or whenever herein 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 such provision shall be punishable as for a misdemeanor as provided by the laws of this state. (b) Each day during which any violation of this Code shall continue shall constitute a separate offense. (c) In addition to the penalties provided in this section, any condition caused or permitted to exist in violation of any of the provisions of this Code or any ordinance shall be deemed a public nuisance, and may be abated by the county as provided by law, and each day during which such condition continues shall be regarded as a new and separate offense.