From 1ac8756e15270480436cbff826597c3bbd3b624e Mon Sep 17 00:00:00 2001 From: ruinivist Date: Sun, 29 Mar 2026 02:41:40 +0000 Subject: [PATCH] styles: add inline code background --- quartz/styles/custom.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/quartz/styles/custom.scss b/quartz/styles/custom.scss index 81348ee..931bc9b 100644 --- a/quartz/styles/custom.scss +++ b/quartz/styles/custom.scss @@ -49,6 +49,11 @@ hyphens: none; } +// Inline code background, initial version for code inside paragraphs. +p > code { + background-color: color-mix(in srgb, var(--lightgray) 20%, transparent); +} + // Dual-image floating media effect used by the custom float-image syntax. .floating-image { @media all and (max-width: 800px) {