diff --git a/src/styles/ArticleBase.less b/src/styles/ArticleBase.less index 701e4b9..c5be5e9 100644 --- a/src/styles/ArticleBase.less +++ b/src/styles/ArticleBase.less @@ -134,7 +134,6 @@ } th { - text-align: center; background-color: #f8f9fa; padding: 0.75rem; border-bottom: solid 1px #EEEEEE; @@ -169,6 +168,13 @@ background-color: #f2f2f2; } } + + // 其下面的code标签样式 + code { + background-color: var(--vh-color-default); + padding: .125rem .375rem; + font-size: 0.8125rem; + } } // 自定义组件样式