diff --git a/docs/_static/css/custom.css b/docs/_static/css/custom.css new file mode 100644 index 00000000..213a36e0 --- /dev/null +++ b/docs/_static/css/custom.css @@ -0,0 +1,42 @@ +body { + background: #fafafa; + font-family: "Georgia", Times, serif; + font-size: 14px; + color: black; +} + +.wy-nav-side { + font-family: "Georgia", Times, serif; + font-size: 13px; + color: black; + background: #fafafa; +} + +.wy-side-nav-search, .wy-nav-top { + background: #fafafa; + color: black +} + +a.icon.icon-home { + color: #11557C; +} + +a.reference.internal { + font-size: 13px; +} + +.wy-nav-content { + background: #fafafa; +} + +.wy-content-wrap { + background: #fafafa; +} + +.wy-menu-vertical a { + color: #43464b; +} + +a:hover { + color: lightgrey; +} diff --git a/docs/conf.py b/docs/conf.py index e297573a..ec31bd3f 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -74,6 +74,8 @@ # so a file named "default.css" will overwrite the builtin "default.css". html_static_path = ['_static'] +html_css_files = ['css/custom.css'] + # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] diff --git a/docs/index.rst b/docs/index.rst index 21f2df15..8d127741 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -9,7 +9,7 @@ In particular, you can: To achieve this, mpl_interactions provides: -* A way to control the output of pyplot functions (e.g. ``plot`` and ``hist``) with sliders +* A way to control the output of pyplot functions (e.g. ``plot`` and ``hist``) with sliders. * A function to compare horizontal and vertical slices of heatmaps. * A function allowing zooming using the scroll wheel.