From 2effeac60419356df08632c4806e62c0b4de61cd Mon Sep 17 00:00:00 2001 From: afc163 Date: Tue, 26 Apr 2016 16:14:07 +0800 Subject: [PATCH] fix markdown style --- site/common/styles/demo.less | 1 + site/common/styles/markdown.less | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/site/common/styles/demo.less b/site/common/styles/demo.less index dc9afba4d1..f5206b8ba0 100644 --- a/site/common/styles/demo.less +++ b/site/common/styles/demo.less @@ -79,6 +79,7 @@ .code-box-meta h4, .code-box-meta p { margin: 0; + width: 93%; } .code-box-meta blockquote { diff --git a/site/common/styles/markdown.less b/site/common/styles/markdown.less index 4e3e502c93..934722d414 100644 --- a/site/common/styles/markdown.less +++ b/site/common/styles/markdown.less @@ -84,6 +84,12 @@ .markdown code { margin: 0 3px; + background: #f7f7f7; + padding: 1px 6px; + border-radius: 3px; + color: #777; + font-size: .8rem; + border: 1px solid #e9e9e9; } .markdown pre {