From f1bd8a4d2bee311eba7945bfc879db6c4b012af2 Mon Sep 17 00:00:00 2001 From: benjobs Date: Sat, 8 Jun 2024 16:27:25 +0800 Subject: [PATCH] [Improve] style minor improvement --- src/css/custom/index.less | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/css/custom/index.less b/src/css/custom/index.less index 4f64b4cea..70a2ddfc6 100644 --- a/src/css/custom/index.less +++ b/src/css/custom/index.less @@ -160,10 +160,10 @@ article[itemprop="blogPost"] { } code { - background-color: #edf2fa; border: none; word-break: normal; padding: 3px 4px; + color: var(--ifm-color-primary-light); border-radius: 4px; span { font-style: normal !important; @@ -171,8 +171,8 @@ code { } [data-theme='dark'] code { - background-color: var(--ifm-code-background) !important; font-weight: bolder; + color: unset; } .markdown h1:first-child { @@ -429,7 +429,6 @@ prism-code { color: crimson; } - /* Font colors on the ANSI compatibilty page */ .text-warning { color: var(--click-color-warning-text) !important;