From 5a0c7977f0f4223f66c4c9af04f670e8ee44a63e Mon Sep 17 00:00:00 2001 From: afc163 Date: Sun, 7 Jun 2015 17:18:14 +0800 Subject: [PATCH] update iconfont page style --- components/iconfont/index.md | 284 +++++++++++++++++------------------ static/style.css | 6 +- 2 files changed, 143 insertions(+), 147 deletions(-) diff --git a/components/iconfont/index.md b/components/iconfont/index.md index 6886d30bb0..fda30e4a5f 100644 --- a/components/iconfont/index.md +++ b/components/iconfont/index.md @@ -3,6 +3,7 @@ - category: CSS - chinese: 字体图标 - order: 1 +- nodemos: true --- @@ -14,8 +15,6 @@ ``` -**注**: 通过覆盖 @iconfont-css-prefix 即可修改 icon 基类。 - ## 图标列表 ### 一:方向性图标 @@ -23,107 +22,107 @@ @@ -132,107 +131,107 @@ @@ -241,266 +240,267 @@ diff --git a/static/style.css b/static/style.css index 7baa5cefae..bd269161d9 100644 --- a/static/style.css +++ b/static/style.css @@ -515,17 +515,13 @@ footer ul li > a { font-size: 14px; } -.markdown h1, .markdown h2, .markdown h3, .markdown h4, .markdown h5, .markdown h6 { color: #5C6B77; -} - -.markdown h2 { - margin: 2.5em 0 1em 0; + margin: 1.8em 0 1em 0; } .markdown p,