Browse Source

tag iconfont

pull/4/head
afc163 10 years ago
parent
commit
fef257a9b1
  1. 14
      static/style.css
  2. 2
      theme/templates/layout.html
  3. 1
      theme/theme.js

14
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;
}

2
theme/templates/layout.html

@ -9,7 +9,7 @@
<title>{% block title %}Ant Design{% endblock %}</title>
<link rel="stylesheet" href="/static/normalize.css">
<link rel="stylesheet" href="/static/style.css">
<link rel="stylesheet" href="//at.alicdn.com/t/font_1429685559_8155303.css">
<link rel="stylesheet" href="//at.alicdn.com/t/font_1431763241_3066776.css">
<link rel="stylesheet" href="/static/tomorrow.css">
<script src="https://a.alipayobjects.com/jquery/jquery/1.11.1/jquery.js"></script>
<script src="/static/script.js"></script>

1
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);
}

Loading…
Cancel
Save