From 139a56abee34ce6d71338fdebb8bdf58c23f826e Mon Sep 17 00:00:00 2001 From: Jesse Tan Date: Tue, 4 Dec 2018 16:41:13 +0100 Subject: [PATCH] Style caption link for code and literal blocks (#690) --- docs/changelog.rst | 2 ++ sass/_theme_rst.sass | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index 7c660d68..e5736672 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -14,8 +14,10 @@ New Features Fixes ----- +* Style caption link for code and literal blocks * Fix inconsistent font size and line height for autodoc "raises" and "returns" (#267) + Other Changes -------------- diff --git a/sass/_theme_rst.sass b/sass/_theme_rst.sass index ad19eb68..7e7542df 100644 --- a/sass/_theme_rst.sass +++ b/sass/_theme_rst.sass @@ -172,7 +172,7 @@ @extend h2 // This is the #href that shows up on hover. Sphinx's is terrible so I hack it away. - h1, h2, h3, h4, h5, h6, dl dt, p.caption, table > caption + h1, h2, h3, h4, h5, h6, dl dt, p.caption, table > caption, .code-block-caption .headerlink visibility: hidden font-size: 14px