From a574b10e55a9d905fc0c5178d5b6a4e8937a150d Mon Sep 17 00:00:00 2001 From: Struchkov Mark Date: Sun, 8 Sep 2024 14:02:57 +0300 Subject: [PATCH] code block style --- quartz/styles/custom.scss | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/quartz/styles/custom.scss b/quartz/styles/custom.scss index cd902bf75..b00e90e69 100644 --- a/quartz/styles/custom.scss +++ b/quartz/styles/custom.scss @@ -68,4 +68,17 @@ h4 { .page article p>strong { color: var(--secondary); +} + +:not(pre)>code { + background: #e5eff5; + border: 1px solid var(--secondary); + border-radius: 6px; + color: #903; + font-size: .85em; + padding: .24rem .4rem .19rem; + text-shadow: none; + vertical-align: 0; + white-space: normal; + word-break: break-word; } \ No newline at end of file