Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
wanjj_1210
ant-design
提交
85e33fd3
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,发现更多精彩内容 >>
提交
85e33fd3
编写于
5月 16, 2015
作者:
A
afc163
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update index page
上级
937a7603
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
78 addition
and
5 deletion
+78
-5
static/style.css
static/style.css
+67
-4
theme/templates/layout.html
theme/templates/layout.html
+11
-1
未找到文件。
static/style.css
浏览文件 @
85e33fd3
...
...
@@ -677,14 +677,10 @@ footer ul li > a {
@keyframes
xLeft
{
0
%
{
opacity
:
0
;
/*transform:translateX(-50px);*/
margin-left
:
-100px
;
}
100
%
{
opacity
:
1
;
/*transform: translateX(-50px);*/
margin-left
:
0px
;
}
}
...
...
@@ -935,6 +931,27 @@ footer ul li > a {
}
}
@-webkit-keyframes
rotateCircle
{
0
%
{
-webkit-transform-origin
:
50%
50%
;
-webkit-transform
:
rotate
(
0deg
);
}
100
%
{
-webkit-transform-origin
:
50%
50%
;
-webkit-transform
:
rotate
(
360deg
);
}
}
@keyframes
rotateCircle
{
0
%
{
transform-origin
:
50%
50%
;
transform
:
rotate
(
0deg
);
}
100
%
{
transform-origin
:
50%
50%
;
transform
:
rotate
(
360deg
);
}
}
/* 首页有动画 */
.index-page
.nav
{
-webkit-animation
:
yTopMatrix
.5s
ease-out
.5s
backwards
;
...
...
@@ -1068,3 +1085,49 @@ footer ul li > a {
.code-box
pre
code
{
border
:
none
;
}
.entry
{
position
:
absolute
;
top
:
20%
;
left
:
10%
;
z-index
:
100
;
color
:
#707E88
;
font-family
:
Consolas
;
}
.entry-title
{
font-size
:
48px
;
text-transform
:
uppercase
;
line-height
:
1
;
margin-bottom
:
5px
;
}
.entry-slogan
{
color
:
#9EADB2
;
}
a
.entry-link
{
margin-top
:
20px
;
border
:
1px
solid
rgba
(
95
,
108
,
119
,
0.3
);
border-radius
:
50px
;
color
:
#5F6C77
;
display
:
block
;
text-align
:
center
;
padding
:
8px
0
;
width
:
140px
;
transition
:
all
0.3s
ease
;
}
a
.entry-link
:hover
{
border-color
:
#5F6C77
;
}
a
.entry-link
.iconfont
{
margin-right
:
3px
;
display
:
inline-block
;
}
a
.entry-link
:hover
.iconfont
{
-webkit-animation
:
rotateCircle
0.5s
1
ease-in
;
animation
:
rotateCircle
0.5s
1
ease-in
;
}
theme/templates/layout.html
浏览文件 @
85e33fd3
...
...
@@ -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_143176
3644_2809389
.css"
>
<link
rel=
"stylesheet"
href=
"//at.alicdn.com/t/font_143176
5342_9023364
.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>
...
...
@@ -62,6 +62,16 @@
{%- if post.filepath === 'README.md' %}
<!-- 首页 -->
<div
class=
"main"
>
<div
class=
"entry"
>
<div
class=
"entry-title"
>
Ant
<br>
Design
</div>
<div
class=
"entry-slogan"
>
Design for ease.
</div>
<a
class=
"entry-link"
href=
"/docs/start"
>
<i
class=
"iconfont icon-lego"
></i>
开始使用
</a>
</div>
<div
class=
"main-box"
id=
"main"
>
<div
class=
"banner-box"
>
<div
id=
"bannerAnim"
></div>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录