Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
wanjj_1210
ant-design
提交
058bb0b5
A
ant-design
项目概览
wanjj_1210
/
ant-design
与 Fork 源项目一致
从无法访问的项目Fork
通知
10
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
A
ant-design
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
058bb0b5
编写于
5月 26, 2015
作者:
A
afc163
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add iconfont for home page
上级
306d106a
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
30 addition
and
5 deletion
+30
-5
static/style.css
static/style.css
+26
-1
theme/templates/code.html
theme/templates/code.html
+1
-1
theme/templates/layout.html
theme/templates/layout.html
+3
-3
未找到文件。
static/style.css
浏览文件 @
058bb0b5
@font-face
{
font-family
:
"iconfont-home"
;
src
:
url('//at.alicdn.com/t/font_1431765342_6775353.eot')
;
/* IE9*/
src
:
url('//at.alicdn.com/t/font_1431765342_6775353.eot?#iefix')
format
(
'embedded-opentype'
),
/* IE6-IE8 */
url('//at.alicdn.com/t/font_1431765342_6775353.woff')
format
(
'woff'
),
/* chrome銆乫irefox */
url('//at.alicdn.com/t/font_1431765342_6775353.ttf')
format
(
'truetype'
),
/* chrome銆乫irefox銆乷pera銆丼afari, Android, iOS 4.2+*/
url('//at.alicdn.com/t/font_1431765342_6775353.svg#iconfont')
format
(
'svg'
);
/* iOS 4.1- */
}
.iconfont-home
{
font-family
:
"iconfont-home"
!important
;
font-size
:
16px
;
font-style
:
normal
;
-webkit-font-smoothing
:
antialiased
;
-webkit-text-stroke-width
:
0.2px
;
-moz-osx-font-smoothing
:
grayscale
;
}
.icon-tag
:before
{
content
:
"\e607"
;
}
.icon-lego
:before
{
content
:
"\e600"
;
}
.icon-all
:before
{
content
:
"\e601"
;
}
.icon-chevron
:before
{
content
:
"\e602"
;
}
.icon-externallink
:before
{
content
:
"\e603"
;
}
.icon-download
:before
{
content
:
"\e604"
;
}
.icon-github
:before
{
content
:
"\e605"
;
}
.icon-code
:before
{
content
:
"\e606"
;
}
html
{
text-rendering
:
optimizeLegibility
;
-webkit-font-smoothing
:
antialiased
;
-moz-osx-font-smoothing
:
grayscale
;
}
html
,
body
{
height
:
100%
;
}
...
...
@@ -1042,7 +1067,7 @@ footer ul li > a {
}
.code-box-title
:before
{
font-family
:
iconfont
;
font-family
:
iconfont
-home
;
content
:
"\e607"
;
font-size
:
16px
;
vertical-align
:
middle
;
...
...
theme/templates/code.html
浏览文件 @
058bb0b5
...
...
@@ -8,6 +8,6 @@
<p
class=
"code-box-description"
>
{{ post.meta.description }}
</p>
<span
class=
"collapse iconfont icon-chevron"
></span>
<span
class=
"collapse iconfont
-home
icon-chevron"
></span>
</div>
</div>
theme/templates/layout.html
浏览文件 @
058bb0b5
...
...
@@ -65,7 +65,7 @@
</div>
<div
class=
"entry-slogan"
>
Design for ease.
</div>
<a
class=
"entry-link"
href=
"/docs/start"
>
<i
class=
"iconfont icon-lego"
></i>
<i
class=
"iconfont
-home
icon-lego"
></i>
开始使用
</a>
</div>
...
...
@@ -91,7 +91,7 @@
{{ post.title }} {{ post.meta.chinese }}
{%- if post.meta.API %}
<a
class=
"api-link"
href=
"http://{{ post.meta.API }}"
target=
"_blank"
>
<i
class=
"iconfont icon-externallink"
></i>
<i
class=
"iconfont
-home
icon-externallink"
></i>
API 使用说明
</a>
{%- endif %}
...
...
@@ -100,7 +100,7 @@
{%- if post.meta.template === 'component' %}
<h2
class=
"component-demos"
>
组件演示
<i
class=
"iconfont icon-all"
title=
"展开全部代码"
></i>
<i
class=
"iconfont
-home
icon-all"
title=
"展开全部代码"
></i>
</h2>
<div
class=
"code-boxes waterfall"
data-col-min-width=
"400"
data-default-container-width=
"800"
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录