From ac2cca94e409564959886a309c768ebedf3da99b Mon Sep 17 00:00:00 2001 From: PCloud Date: Sat, 18 May 2024 00:02:59 +0100 Subject: [PATCH] feat: improve inline code blocks inside links --- assets/css/_partial/_single/_code.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/assets/css/_partial/_single/_code.scss b/assets/css/_partial/_single/_code.scss index d139563de..537651946 100644 --- a/assets/css/_partial/_single/_code.scss +++ b/assets/css/_partial/_single/_code.scss @@ -34,6 +34,11 @@ code:not(.chroma) { color: var(--global-font-color); } +a > code:not(.chroma) { + /* Inline code blocks inside links */ + color: var(--single-link-color); +} + .highlight, .gist {