diff --git a/src/pydata_sphinx_theme/assets/styles/base/_base.scss b/src/pydata_sphinx_theme/assets/styles/base/_base.scss index ae4b2675e..4b13eda1a 100644 --- a/src/pydata_sphinx_theme/assets/styles/base/_base.scss +++ b/src/pydata_sphinx_theme/assets/styles/base/_base.scss @@ -22,7 +22,6 @@ body { p { margin-bottom: 1.15rem; font-size: 1em; - color: var(--pst-color-text-base); /* section header in docstring pages */ &.rubric { diff --git a/src/pydata_sphinx_theme/assets/styles/components/_prev-next.scss b/src/pydata_sphinx_theme/assets/styles/components/_prev-next.scss index 69d040d52..8f562286c 100644 --- a/src/pydata_sphinx_theme/assets/styles/components/_prev-next.scss +++ b/src/pydata_sphinx_theme/assets/styles/components/_prev-next.scss @@ -5,6 +5,7 @@ width: 100%; p { + color: var(--pst-color-text-muted); margin: 0 0.3em; line-height: 1.3em; } diff --git a/src/pydata_sphinx_theme/assets/styles/components/header/_header-logo.scss b/src/pydata_sphinx_theme/assets/styles/components/header/_header-logo.scss index dabff4701..216baa09e 100644 --- a/src/pydata_sphinx_theme/assets/styles/components/header/_header-logo.scss +++ b/src/pydata_sphinx_theme/assets/styles/components/header/_header-logo.scss @@ -17,6 +17,7 @@ // If there's no logo image, we use a p element w/ the site title p { + color: var(--pst-color-text-base); margin-bottom: 0; } @@ -27,16 +28,9 @@ width: auto; } - // remove underline from brand title on default state - a { - text-decoration: none; - } - &:hover { + &:hover, + &:visited:hover { @include link-style-hover; - } - &:visited { - &:hover { - @include link-style-hover; - } + color: var(--pst-color-text-base); } }