Skip to content

Commit d4e863d

Browse files
committed
FIX: make links clearer
1 parent 05ce3ce commit d4e863d

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

docs/index.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ Welcome to Matplotlib Sphinx Theme's documentation!
66
:caption: Contents:
77

88
This is the official Sphinx theme for Matplotlib documentation.
9-
It extends the ``pydata_sphinx_theme`` project, but adds custom
9+
It extends the ``pydata_sphinx_theme`` project https://pydata-sphinx-theme.readthedocs.io/en/stable/,
10+
but adds custom
1011
styling and a navigation bar.
1112

1213
When creating a Matplotlib subproject you can include this theme by changing this

mpl_sphinx_theme/static/css/style.css

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
1-
html[data-theme="light"], html[data-theme="dark"] {
2-
--pst-color-primary: #11557c;
3-
--pst-color-link: rgb(17, 85, 124);
4-
--pst-color-link-hover: rgb(0, 60, 99);
5-
}
6-
71
html[data-theme="light"] {
2+
--pst-color-primary: #11557c;
83
--pst-color-text-base: rgb(51, 51, 51);
94
}
105

@@ -13,6 +8,9 @@ html[data-theme="dark"] {
138
--pst-color-text-base: rgb(240, 240, 240);
149
}
1510

11+
--pst-color-link: var(--pst-color-primary);
12+
--pst-color-link-hover: var(--pst-color-secondary);
13+
1614
.sidebar-cheatsheets, .sidebar-donate {
1715
margin: 2.75rem 0;
1816
}

0 commit comments

Comments
 (0)