Skip to content

Doc: mention color css property to hide links#1412

Merged
larsoner merged 1 commit intosphinx-gallery:masterfrom
jschueller:linkcolor
Dec 2, 2024
Merged

Doc: mention color css property to hide links#1412
larsoner merged 1 commit intosphinx-gallery:masterfrom
jschueller:linkcolor

Conversation

@jschueller
Copy link
Copy Markdown
Contributor

@jschueller jschueller commented Nov 29, 2024

Setting "colors: inherit" in the css helps to hide the links from code cells (#1409) in my case, so it can be useful to mention

a[class^="sphx-glr-backref-module-"] {
    text-decoration: none;
    color: inherit;
}

@lucyleeow
Copy link
Copy Markdown
Contributor

I'm going to leave this for @larsoner because I am very bad with css

@larsoner larsoner merged commit 48d6092 into sphinx-gallery:master Dec 2, 2024
@larsoner
Copy link
Copy Markdown
Contributor

larsoner commented Dec 2, 2024

Thanks @jschueller !

@jschueller jschueller deleted the linkcolor branch December 2, 2024 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants