Style caption link for code and literal blocks (#690)

This commit is contained in:
Jesse Tan 2018-12-04 16:41:13 +01:00 committed by Aaron Carlisle
parent b9bf19f5be
commit 139a56abee
2 changed files with 3 additions and 1 deletions

View File

@ -14,8 +14,10 @@ New Features
Fixes Fixes
----- -----
* Style caption link for code and literal blocks
* Fix inconsistent font size and line height for autodoc "raises" and "returns" (#267) * Fix inconsistent font size and line height for autodoc "raises" and "returns" (#267)
Other Changes Other Changes
-------------- --------------

View File

@ -172,7 +172,7 @@
@extend h2 @extend h2
// This is the #href that shows up on hover. Sphinx's is terrible so I hack it away. // 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 .headerlink
visibility: hidden visibility: hidden
font-size: 14px font-size: 14px