Gazeta.ru reports on this; the protesters were arrested for violating a recently enacted St. Petersburg law that bans “propaganda of homosexuality among minors,” which apparently covers any pro-homosexuality messages in a public place where minors may be present. For more, in Russian, see here and here.