From 8551188ad680da3a6028d38eeda5f0e6358880cc Mon Sep 17 00:00:00 2001 From: Jesse Tan Date: Wed, 11 Apr 2018 14:20:19 +0200 Subject: [PATCH] Make code block line emphasis span entire line (#608) --- sass/_theme_rst.sass | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sass/_theme_rst.sass b/sass/_theme_rst.sass index 814281c0..edb6924a 100644 --- a/sass/_theme_rst.sass +++ b/sass/_theme_rst.sass @@ -79,6 +79,11 @@ font-family: $code-font-family display: block 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 font-size: 12px line-height: normal