ant-design/site/templates/home.html

277 lines
5.6 KiB
HTML
Raw Normal View History

2015-06-04 17:59:27 +08:00
{% extends "layout.html" %}
2015-06-04 17:05:28 +08:00
2015-06-04 18:25:08 +08:00
{% block bodyAttribute %}class="index-page"{% endblock %}
2015-06-04 17:05:28 +08:00
{% block content %}
2016-01-11 11:20:22 +08:00
<link href="http://fonts.useso.com/css?family=Raleway:600,500,400,300" rel="stylesheet" type="text/css">
2016-01-19 14:18:57 +08:00
<div id="list"></div>
2016-01-07 23:47:14 +08:00
<section id="banner"></section>
<section id="page1" class="page"></section>
<section id="page2" class="page"></section>
<section id="page3" class="page"></section>
<section id="page4" class="page"></section>
2015-06-04 17:05:28 +08:00
<style>
2016-01-07 23:47:14 +08:00
.main-wrapper {
background: transparent;
width: auto;
margin: 0;
border-radius: 0;
padding: 0;
overflow: unset;
display: inline;
2016-01-08 16:01:37 +08:00
min-height: 600px;
2016-01-07 23:47:14 +08:00
}
#home-page,
#home-page > div {
height: 100%;
2016-01-07 16:52:27 +08:00
}
header {
position: fixed;
z-index: 999;
2016-01-07 19:50:14 +08:00
background: rgba(0, 0, 0, 0.25);
2016-01-07 16:52:27 +08:00
border-bottom: 1px solid transparent;
transition: border .5s cubic-bezier(0.455, 0.03, 0.515, 0.955), background .5s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}
2016-01-07 17:47:56 +08:00
header .nav ul li a {
color: #eee;
}
2016-01-07 16:52:27 +08:00
.nav ul li a {
transition: color 0.5s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}
.search {
border-left-color: rgba(235, 237, 238, .5);
transition: border 0.5s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}
.search #autoComplete .ant-select-selection {
background: transparent;
}
#banner {
position: relative;
height: 100%;
width: 100%;
2016-01-14 11:08:25 +08:00
background: url("https://os.alipayobjects.com/rmsportal/GhjqstwSgxBXrZS.png") no-repeat center / cover;
2016-01-07 16:52:27 +08:00
}
.banner-text-wrapper {
position: absolute;
2016-01-07 17:31:29 +08:00
left: 10%;
2016-01-11 18:53:01 +08:00
top: 58%;
2016-01-07 16:52:27 +08:00
color: #fff;
text-align: right;
}
header.home-nav-bottom {
background: rgba(255, 255, 255, 0.9);
border-bottom-color: #EBEDEE;
}
.home-nav-bottom .search {
border-left-color: #EBEDEE;
}
.home-nav-bottom .nav a {
color: #666;
}
2016-01-11 11:20:22 +08:00
.banner-text-wrapper h2 {
2016-01-07 16:52:27 +08:00
font-size: 40px;
font-weight: normal;
2016-01-11 11:20:22 +08:00
font-family: 'Raleway';
2016-01-07 16:52:27 +08:00
}
2016-01-11 11:20:22 +08:00
.banner-text-wrapper h2 p {
2016-01-07 16:52:27 +08:00
color: #FF3171;
display: inline-block;
}
.banner-text-wrapper .line {
2016-01-07 20:51:13 +08:00
width: 0.8px;
height: 76px;
2016-01-07 16:52:27 +08:00
position: absolute;
2016-01-07 20:51:13 +08:00
background: rgba(255, 255, 255, .44);
2016-01-19 14:18:57 +08:00
background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.03));
background-image: -moz-linear-gradient(top, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.03));
background-image: -ms-linear-gradient(top, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.03));
background-image: -o-linear-gradient(top, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.03));
2016-01-07 20:51:13 +08:00
top: 16px;
2016-01-07 16:52:27 +08:00
right: -25px;
}
.banner-text-wrapper > p {
margin: 10px auto 30px;
font-size: 16px;
}
.banner-text-wrapper a {
float: right;
width: 155px;
height: 45px;
border-radius: 6px;
border: 1px solid #00AAEE;
color: #00AAEE;
font-size: 18px;
background: transparent;
transition: box-shadow .45s ease-out;
text-align: center;
line-height: 42px;
}
.banner-text-wrapper a:hover {
box-shadow: 0 0 10px #00AAEE;
}
.banner-text-wrapper a span {
margin-left: 15px;
}
2016-01-07 17:24:44 +08:00
.down {
text-align: center;
position: absolute;
bottom: 30px;
color: rgba(255, 255, 255, .75);
left: 50%;
margin-left: -7px;
}
2016-01-07 16:52:27 +08:00
section {
height: 100%;
width: 100%;
background: #fff;
}
.page {
min-height: 700px;
}
.content-wrapper {
width: 100%;
height: 100%;
max-width: 1850px;
margin: auto;
overflow: hidden;
}
.content-wrapper .image-wrapper {
width: 65%;
float: left;
position: relative;
}
.image1 {
background: url("https://t.alipayobjects.com/images/T1Ch8kXfpdXXXXXXXX.png") no-repeat right / 841px;
height: 511px;
top: 50%;
margin-top: -256px;
}
.image2 {
background: url("https://t.alipayobjects.com/images/T1r5RkXotXXXXXXXXX.png") no-repeat left / 800px;
height: 474px;
top: 50%;
margin-top: -266px;
}
.image3 {
padding-right: 10%;
background: url("https://t.alipayobjects.com/images/T1nx0kXdFfXXXXXXXX.png") no-repeat right / 639px;
background-origin: content-box;
height: 500px;
top: 50%;
margin-top: -250px;
}
.image4 {
background: url("https://t.alipayobjects.com/images/T1lyJkXg4aXXXXXXXX.png") no-repeat center / 615px;
height: 364px;
margin: auto;
}
.content-wrapper .text-wrapper {
width: 35%;
float: left;
position: relative;
top: 20%;
left: 10px;
}
2016-01-11 11:20:22 +08:00
.content-wrapper .text-wrapper h2,
.content-wrapper .text-wrapper-bottom h2 {
2016-01-07 16:52:27 +08:00
font-size: 32px;
color: #666;
2016-01-11 11:20:22 +08:00
font-weight: normal;
2016-01-07 16:52:27 +08:00
}
.content-wrapper .text-wrapper p {
margin: 10px 0 20px;
font-size: 16px;
line-height: 28px;
color: #999999;
}
.content-wrapper .left-text {
padding-left: 10%;
}
.text-wrapper-bottom {
text-align: center;
margin: 10% auto 40px;
}
.text-wrapper-bottom p {
margin: 20px auto;
font-size: 16px;
line-height: 28px;
2016-01-07 23:47:14 +08:00
color: #999;
2016-01-07 16:52:27 +08:00
}
#footer {
background: #000;
}
2016-01-09 16:04:01 +08:00
.anticon-right {
transform: scale(0.6);
}
2016-01-13 22:03:21 +08:00
footer,
2016-01-07 16:52:27 +08:00
footer ul li > h2 {
2016-01-13 22:03:21 +08:00
color: #999;
2016-01-07 16:52:27 +08:00
}
2016-01-07 17:24:44 +08:00
footer ul li > a {
2016-01-07 23:47:14 +08:00
color: #eee;
2016-01-07 16:52:27 +08:00
}
2016-01-19 14:18:57 +08:00
#list {
position: fixed;
z-index: 9998;
top: 50%;
right: 20px;
width: 6px;
margin-top: -35px;
}
.list-point {
width: 6px;
height: 6px;
background: #00AAEE;
border-radius: 6px;
float: left;
margin: 4px auto;
opacity: 0.5;
cursor: pointer;
transition: opacity .3s;
}
.list-point:hover, .list-point.active {
opacity: 1;
}
2015-06-04 17:05:28 +08:00
</style>
{% endblock %}