mirror of
https://github.com/readthedocs/sphinx_rtd_theme.git
synced 2025-02-25 18:55:21 -06:00
Make code block line emphasis span entire line (#608)
This commit is contained in:
parent
af3ff632f1
commit
8551188ad6
@ -79,6 +79,11 @@
|
|||||||
font-family: $code-font-family
|
font-family: $code-font-family
|
||||||
display: block
|
display: block
|
||||||
overflow: auto
|
overflow: auto
|
||||||
|
& .hll
|
||||||
|
// Line emphasis spans full width
|
||||||
|
display: block
|
||||||
|
margin: 0 -1 * $base-line-height / 2
|
||||||
|
padding: 0 $base-line-height / 2
|
||||||
pre.literal-block, div[class^='highlight'] pre, .linenodiv pre
|
pre.literal-block, div[class^='highlight'] pre, .linenodiv pre
|
||||||
font-size: 12px
|
font-size: 12px
|
||||||
line-height: normal
|
line-height: normal
|
||||||
|
Loading…
Reference in New Issue
Block a user