The gay mayor of San Francisco clearly side-stepped the law when permitting marriage licenses to same-sex couples.You get dumber by the day. It doesn't say anything about SSM being illegal.
Illegality means an action breaks a law and has a course of punishment, criminal or civil. Not one SS couple has ever gone to jail for being married.
Governor Schwarzenegger ordered state Attorney General to "obtain a definitive judicial resolution" of the controversy. Supreme Court of California halted the weddings. The Attorney General brought lawsuit against San Francisco.