ant-design/site/templates/home.html

232 lines
4.3 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-06 15:38:36 +08:00
<script src="{{static_url('../dist/home.js')}}"></script>
2015-06-04 17:05:28 +08:00
<style>
2016-01-07 16:52:27 +08:00
html, body, div, section, {
font-family: 'PingFang SC', "Helvetica Neue", Helvetica, "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", SimSun, sans-serif;
}
2016-01-07 17:54:38 +08:00
.index-page {
min-height: 600px;
}
2016-01-07 16:52:27 +08:00
header {
position: fixed;
z-index: 999;
2016-01-07 17:47:56 +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
.main-wrapper {
display: none;
}
.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%;
background: url("https://t.alipayobjects.com/images/T1OhFkXfpgXXXXXXXX.png") no-repeat center / cover;
}
.banner-text-wrapper {
position: absolute;
2016-01-07 17:31:29 +08:00
left: 10%;
2016-01-07 16:52:27 +08:00
top: 60%;
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;
}
.banner-text-wrapper h1 {
font-size: 40px;
font-weight: normal;
}
.banner-text-wrapper h1 p {
color: #FF3171;
display: inline-block;
}
.banner-text-wrapper .line {
width: 1px;
height: 80px;
position: absolute;
background: #fff;
top: 10px;
right: -25px;
opacity: 0.5;
}
.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;
}
.content-wrapper .text-wrapper h1 {
font-size: 32px;
color: #666;
}
.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;
color: #999999;
}
#footer {
background: #000;
}
footer ul li > h2 {
color: #656975;
}
2016-01-07 17:24:44 +08:00
footer ul li > a {
2016-01-07 16:52:27 +08:00
color: #BEC4C8
}
2015-06-04 17:05:28 +08:00
</style>
{% endblock %}