mirror of
https://github.com/readthedocs/sphinx_rtd_theme.git
synced 2025-02-25 18:55:21 -06:00
Style code block captions (#689)
* Give code block captions same permalink as other elems
* Style code block captions like table captions
* Revert "Give code block captions same permalink as other elems"
This reverts commit 4f7e6da246
.
This commit is contained in:
parent
8e376af4fc
commit
28e7c4a47a
@ -95,6 +95,13 @@
|
||||
font-size: 12px
|
||||
line-height: 1.4
|
||||
|
||||
.code-block-caption
|
||||
font-style: italic
|
||||
font-size: 85%
|
||||
line-height: 1
|
||||
padding: 1em 0
|
||||
text-align: center
|
||||
|
||||
@media print
|
||||
.codeblock, div[class^='highlight'], div[class^='highlight'] pre
|
||||
white-space: pre-wrap
|
||||
|
Loading…
Reference in New Issue
Block a user