Skip to content

Commit 4774df9

Browse files
authored
Merge pull request #37 from jklymak/doc-make-links-clearer
FIX: make links clearer
2 parents 05ce3ce + 8ef23e3 commit 4774df9

File tree

2 files changed

+14
-9
lines changed

2 files changed

+14
-9
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: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,20 @@
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-
1+
/* rgb #11557c */
72
html[data-theme="light"] {
3+
--pst-color-primary: hsl(202, 76%, 28%);
84
--pst-color-text-base: rgb(51, 51, 51);
5+
--sd-color-primary-text: rgb(250, 250, 250);
6+
--pst-color-link: hsl(202, 76%, 25%);
97
}
108

119
html[data-theme="dark"] {
12-
--pst-color-primary: #65baeaff;
13-
--pst-color-text-base: rgb(240, 240, 240);
10+
--pst-color-primary: rgb(70, 152, 198);
11+
--pst-color-text-base: rgb(250, 250, 250);
12+
--sd-color-primary-text: rgb(51, 51, 51);
13+
--pst-color-link: hsl(202, 53%, 80%);
14+
}
15+
16+
:root {
17+
--pst-color-link-hover: var(--pst-color-secondary);
1418
}
1519

1620
.sidebar-cheatsheets, .sidebar-donate {

0 commit comments

Comments
 (0)