From 74845b4a0ee24907b624ae993d9a912eadd758c5 Mon Sep 17 00:00:00 2001 From: PLanCompS <18308236+pdmosses@users.noreply.github.com> Date: Sat, 4 Jul 2020 21:17:18 +0200 Subject: [PATCH] Update code.scss Fixed more layout details. Numbers of selectors still to be fixed. --- _sass/code.scss | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/_sass/code.scss b/_sass/code.scss index 0d70d1a..72fa336 100644 --- a/_sass/code.scss +++ b/_sass/code.scss @@ -49,7 +49,8 @@ figure.highlight { // With linenos: -figure.highlight > pre > code, figure.highlight > code { +figure.highlight > pre > code, +figure.highlight > code { td, td > pre { @@ -64,7 +65,7 @@ figure.highlight > pre > code, figure.highlight > code { td.gutter { padding-right: 1rem; } - + pre { margin-top: 0; line-height: 2; @@ -74,7 +75,6 @@ figure.highlight > pre > code, figure.highlight > code { padding-bottom: 0; border-bottom: 0; } - } // Jekyll 4.1.1: figure.highlight > pre > code > div > table > ... @@ -92,7 +92,6 @@ figure.highlight > code .table-wrapper { padding: $sp-3; } - .highlighter-rouge { margin-bottom: $sp-3; }