Give code block captions same permalink as other elems

This commit is contained in:
Jesse Tan 2018-10-17 22:04:16 +02:00
parent 4a3d790e61
commit 4f7e6da246

View File

@ -165,7 +165,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