From 12e552add4d3b495b96a7edcba5706cd1a531578 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guillaume=20Perr=C3=A9al?= <guillaume.perreal@inrae.fr> Date: Wed, 6 May 2020 17:19:55 +0200 Subject: [PATCH] =?UTF-8?q?Utilise=20un=20fond=20color=C3=A9=20plut=C3=B4t?= =?UTF-8?q?=20qu'une=20ombre=20pour=20les=20bouts=20de=20code.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/css/theme/source/inrae.scss | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/src/css/theme/source/inrae.scss b/src/css/theme/source/inrae.scss index d7f9a6f..58b4bbc 100644 --- a/src/css/theme/source/inrae.scss +++ b/src/css/theme/source/inrae.scss @@ -54,9 +54,24 @@ $heading4Size: 1em; div.sourceCode { margin: 0 !important; + } + + code { + font-size: 80%; + background: #00a3a610; + } + + pre { + background: #00a3a610; + border: solid 1px #00a3a6; + padding: 5px; + border-radius: 10px; + font-size: inherit; + margin: 0; + box-shadow: none; - pre { - margin: 10px; + code { + background: none; } } } -- GitLab