Skip to content

Commit

Permalink
Doc: Tweak link colors from css config
Browse files Browse the repository at this point in the history
Closes #120
  • Loading branch information
jschueller committed Nov 29, 2024
1 parent 580e546 commit e1a0688
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doc/_static/sphxglr.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/* hide intersphinx links from code cells
* xref https://sphinx-gallery.github.io/stable/configuration.html#stylizing-code-links-using-css */
a[class^="sphx-glr-backref-module-"] {
text-decoration: none;
color: inherit;
}
2 changes: 2 additions & 0 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ["_static"]

html_css_files = ['sphxglr.css']

# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.
html_last_updated_fmt = "%b %d, %Y"
Expand Down

0 comments on commit e1a0688

Please sign in to comment.