A Swedish high jumper at the world championships competed with her fingernails painted in the colors of the rainbow on Thursday, showing support for gays and lesbians in the face of a new anti-gay law recently passed in Russia.

Emma Green Tregaro, who won a bronze medal at the 2005 worlds, posted a picture of her fingers on social media site Instagram, saying “Nails painted in the colors of the rainbow.” She followed that with several hashtags, including “(hash)pride” and “(hash)moscow2013.”

“The first thing that happened when I came to Moscow and pulled my curtains aside was that I saw the rainbow and that felt a little ironic,” Green Tregaro said in a video posted on the website of Swedish newspaper Expressen . . .