From fef257a9b10b8464c62f9b5ac2cf88d45502fe4b Mon Sep 17 00:00:00 2001 From: afc163 Date: Sat, 16 May 2015 16:02:32 +0800 Subject: [PATCH] tag iconfont --- static/style.css | 14 +++++++++++++- theme/templates/layout.html | 2 +- theme/theme.js | 1 - 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/static/style.css b/static/style.css index 891f453ae9..8c35177dff 100644 --- a/static/style.css +++ b/static/style.css @@ -1006,10 +1006,22 @@ footer ul li > a { top: -10px; background: #fff; padding: 0 1em; - color: #999; + color: #888; font-weight: bold; } +.code-box-title:before { + font-family: iconfont; + content: "\e607"; + font-size: 16px; + vertical-align: middle; + line-height: 22px; + position: relative; + margin-right: 6px; + top: -1px; + color: #ccc; +} + .code-box-description { font-size: 12px; } diff --git a/theme/templates/layout.html b/theme/templates/layout.html index 727d50cc4d..a810d49fb1 100644 --- a/theme/templates/layout.html +++ b/theme/templates/layout.html @@ -9,7 +9,7 @@ {% block title %}Ant Design{% endblock %} - + diff --git a/theme/theme.js b/theme/theme.js index 2a047b583c..2e88b99032 100644 --- a/theme/theme.js +++ b/theme/theme.js @@ -53,7 +53,6 @@ module.exports = function(nico) { var ret = []; Object.keys(pages).forEach(function(key) { var page = pages[key]; - console.log(key, directory); if (key.indexOf(directory + '/demo/') === 0) { ret.push(page); }