From 138656ee238d498e5f7a978554a5d2eb8e1c6323 Mon Sep 17 00:00:00 2001 From: Patrick Spek Date: Thu, 11 Oct 2018 07:55:16 +0200 Subject: Add "Hackerrank solutions: Python 3 and Perl 6 (part 2)" --- css/main.less | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) (limited to 'css/main.less') diff --git a/css/main.less b/css/main.less index af1605f..4a5019c 100644 --- a/css/main.less +++ b/css/main.less @@ -32,18 +32,28 @@ table { width: 100%; } -figure.highlight pre, pre.pygments { +figure.highlight { border: 2px solid @blockBorderColor; - padding: 8px; + background-color: @blockBackgroundColor; + + pre, pre.pygments { + margin: 0; + padding: 6px 6px; + } + + .code-link { + border-top: 1px dotted @blockBorderColor; + padding: 3px 8px; + text-align: right; + } } code { - background-color: @blockBackgroundColor; padding: 2px; } div.container { - max-width: 900px; + max-width: @mainWidth; margin: 0 auto 0.5em auto; padding-top: 1em; } -- cgit v1.1