From 010bb23cd2200f13a481ce49f7195f9f7c3cc741 Mon Sep 17 00:00:00 2001 From: Willem Leuverink Date: Thu, 18 Jan 2024 10:41:31 +0100 Subject: [PATCH] update inline code block style --- docs/_sass/custom/custom.scss | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/_sass/custom/custom.scss b/docs/_sass/custom/custom.scss index afc7c24..fd77f7d 100644 --- a/docs/_sass/custom/custom.scss +++ b/docs/_sass/custom/custom.scss @@ -67,6 +67,14 @@ div.highlighter-rouge div.highlight { border-radius: 0.5rem; } +// Inline code +:not(pre,figure)>code { + padding: 0.2em 0.4em; + display: inline-block; + background-color: #261939; + border: 1px solid #413257; +} + // Search results .search-results { background-color: #2E2A33A3;