Whenever in this article any act is prohibited or is made or declared to be unlawful or an offense; or whenever in this article 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, the violation of that provision shall be punished by a fine not to exceed $500.00 and the costs of imprisonment for not more than 60 days; or work on the public works of the county for not more than 60 days, or by any one or more of these punishments. Each day any violation of this article shall continue shall constitute a separate offense.