diff --git a/docs/spec/font.md b/docs/spec/font.md
index bc09d3af17..3c92a114bd 100644
--- a/docs/spec/font.md
+++ b/docs/spec/font.md
@@ -26,29 +26,29 @@ font-family: "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Micros
## 字体使用规范
-
-
-
+
+
+
主标题
-
+
我是标题
加粗
#666
16px
-
+
次级标题
-
+
我是标题
加粗
#666
14px
-
+
小标题
-
+
我是标题
加粗
#666
@@ -90,28 +90,28 @@ font-family: "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Micros
-
-
+
+
Main Head
-
+
I am example text
bold
#666
16px
-
+
Sub Head
-
+
I am example text
bold
#666
14px
-
+
Small Head
-
+
I am example text
bold
#666
@@ -175,19 +175,25 @@ font-family: "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Micros
font-size: 14px;
width: 100px;
}
-.font-text {
+.font-type h1,
+.font-type h2,
+.font-type h3,
+.font-type .font-text {
width: 300px;
}
-.font-text span {
- margin-right: 8px;
+.font-type h1 span,
+.font-type h2 span,
+.font-type h3 span,
+.font-type .font-text span {
+ margin-right: 0.6em;
}
-.head-1 h1 {
+.font-type h1 {
font-size: 16px;
}
-.head-2 h2 {
+.font-type h2 {
font-size: 14px;
}
-.head-3 h3 {
+.font-type h3 {
font-size: 12px;
}
.disabled-text .font-text {
diff --git a/site/theme/static/highlight.less b/site/theme/static/highlight.less
index bbcdb0e507..199808f28a 100644
--- a/site/theme/static/highlight.less
+++ b/site/theme/static/highlight.less
@@ -124,7 +124,7 @@ pre[class*="language-"] {
.token.url,
.language-css .token.string,
.style .token.string {
- color: #a67f59;
+ color: #690;
background: hsla(0, 0%, 100%, .5);
}