This is an automated email from the ASF dual-hosted git repository.
benjobs pushed a commit to branch dev
in repository
https://gitbox.apache.org/repos/asf/incubator-streampark-website.git
The following commit(s) were added to refs/heads/dev by this push:
new 0decfe3a [Improve] code block style improvement (#382)
0decfe3a is described below
commit 0decfe3ae702d317e24a895fc9b8a1c74314a413
Author: benjobs <[email protected]>
AuthorDate: Sat Jun 8 16:29:34 2024 +0800
[Improve] code block style improvement (#382)
* [Improve] code style improvement
* [Improve] style minor improvement
---------
Co-authored-by: benjobs <[email protected]>
---
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 4f64b4ce..70a2ddfc 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;