ant-design/site/theme/static/home.less

188 lines
4.1 KiB
Plaintext
Raw Normal View History

2016-03-03 17:23:08 +08:00
#list {
2016-03-23 22:36:26 +08:00
position: fixed;
z-index: 9998;
top: 50%;
right: 20px;
width: 6px;
margin-top: -35px;
2016-03-03 17:23:08 +08:00
}
.list-point {
2016-03-23 22:36:26 +08:00
width: 6px;
height: 6px;
2016-11-22 14:53:35 +08:00
background: #0ae;
2016-11-13 18:58:02 +08:00
border-radius: @border-radius-base;
2016-03-23 22:36:26 +08:00
float: left;
margin: 4px auto;
opacity: 0.5;
cursor: pointer;
transition: opacity .3s;
2016-03-03 17:23:08 +08:00
}
.list-point:hover, .list-point.active {
2016-03-23 22:36:26 +08:00
opacity: 1;
2016-03-03 17:23:08 +08:00
}
2016-11-21 17:48:39 +08:00
.banner-wrapper {
2016-03-23 22:36:26 +08:00
position: relative;
width: 100%;
overflow: hidden;
2016-03-23 22:36:26 +08:00
background: url("https://os.alipayobjects.com/rmsportal/GhjqstwSgxBXrZS.png") no-repeat center / cover;
2016-02-29 14:08:40 +08:00
}
2016-03-03 17:23:08 +08:00
.banner-text-wrapper {
2016-03-23 22:36:26 +08:00
position: absolute;
2016-09-23 15:03:23 +08:00
left: 13%;
top: 53%;
2016-03-23 22:36:26 +08:00
color: #fff;
text-align: right;
2016-09-29 11:21:19 +08:00
font-family: Lato, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", SimSun, sans-serif;
2016-03-03 17:23:08 +08:00
}
.banner-text-wrapper h2 {
2016-03-23 22:36:26 +08:00
font-size: 40px;
font-weight: normal;
2016-04-18 18:56:25 +08:00
font-family: 'Raleway', 'Hiragino Sans GB';
white-space: nowrap;
2016-03-03 17:23:08 +08:00
}
.banner-text-wrapper h2 p {
2016-03-23 22:36:26 +08:00
color: #FF3171;
display: inline-block;
2016-03-03 17:23:08 +08:00
}
.banner-text-wrapper .line {
2016-03-23 22:36:26 +08:00
width: 0.8px;
height: 76px;
position: absolute;
background: rgba(255, 255, 255, .44);
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));
top: 16px;
right: -25px;
2016-03-03 17:23:08 +08:00
}
.banner-text-wrapper > p {
2016-03-23 22:36:26 +08:00
margin: 10px auto 24px;
font-size: 16px;
2016-03-03 17:23:08 +08:00
}
2016-03-14 15:00:11 +08:00
.banner-text-wrapper .start-button {
2016-03-23 22:36:26 +08:00
margin-bottom: 24px;
2016-09-23 15:03:23 +08:00
text-align: right;
2016-03-14 15:00:11 +08:00
2016-03-23 22:36:26 +08:00
> a {
2016-09-23 15:03:23 +08:00
display: inline-block;
2016-09-26 12:28:10 +08:00
height: 40px;
2016-09-08 17:48:55 +08:00
padding: 0 16px;
2016-11-13 18:58:02 +08:00
border-radius: @border-radius-base;
2016-11-22 14:53:35 +08:00
border: 1px solid #0ae;
color: #0ae;
2016-09-26 12:28:10 +08:00
font-size: 15px;
2016-03-23 22:36:26 +08:00
background: transparent;
transition: box-shadow .45s ease-out;
text-align: center;
2016-09-26 12:28:10 +08:00
line-height: 36px;
2016-09-23 15:03:23 +08:00
margin-left: 8px;
2016-03-23 22:36:26 +08:00
}
> a:hover {
2016-11-22 14:53:35 +08:00
box-shadow: 0 0 10px #0ae;
2016-03-23 22:36:26 +08:00
}
2016-03-03 17:23:08 +08:00
}
2016-03-14 15:00:11 +08:00
.banner-text-wrapper .github-btn {
2016-03-23 22:36:26 +08:00
float: right;
line-height: 14px;
2016-03-24 11:03:32 +08:00
text-align: left;
2016-03-14 15:00:11 +08:00
2016-03-23 22:36:26 +08:00
a:hover {
color: #333;
}
2016-03-03 17:23:08 +08:00
}
2016-03-14 15:00:11 +08:00
2016-03-03 17:23:08 +08:00
.down {
2016-03-23 22:36:26 +08:00
text-align: center;
position: absolute;
bottom: 30px;
color: rgba(255, 255, 255, .75);
left: 50%;
margin-left: -7px;
2016-03-03 17:23:08 +08:00
}
.page {
2016-03-23 22:36:26 +08:00
min-height: 700px;
2016-11-21 17:48:39 +08:00
height: 100vh;
2016-03-03 17:23:08 +08:00
}
.content-wrapper {
2016-03-23 22:36:26 +08:00
width: 100%;
max-width: 1500px;
2016-03-23 22:36:26 +08:00
margin: auto;
overflow: hidden;
background: #fff;
2016-02-29 14:08:40 +08:00
2016-03-23 22:36:26 +08:00
.image-wrapper {
width: 65%;
float: left;
position: relative;
}
2016-03-03 17:23:08 +08:00
2016-03-23 22:36:26 +08:00
.text-wrapper {
width: 35%;
float: left;
position: relative;
top: 20%;
left: 10px;
2016-09-29 15:46:29 +08:00
font-family: Lato, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", SimSun, sans-serif;
z-index: 1;
2016-03-23 22:36:26 +08:00
}
.text-wrapper h2,
.text-wrapper-bottom h2 {
font-size: 32px;
color: @text-color;
2016-03-23 22:36:26 +08:00
font-weight: normal;
white-space: nowrap;
2016-03-23 22:36:26 +08:00
}
.text-wrapper p {
margin: 10px 0 20px;
font-size: 16px;
line-height: 28px;
color: #999999;
}
.left-text {
padding-left: 10%;
}
2016-02-29 14:08:40 +08:00
}
2016-03-03 17:23:08 +08:00
.image1 {
2016-03-23 22:36:26 +08:00
background: url("https://t.alipayobjects.com/images/T1Ch8kXfpdXXXXXXXX.png") no-repeat right / 841px;
height: 511px;
top: 50%;
margin-top: -256px;
2016-03-03 17:23:08 +08:00
}
.image2 {
2016-03-23 22:36:26 +08:00
background: url("https://t.alipayobjects.com/images/T1r5RkXotXXXXXXXXX.png") no-repeat left / 800px;
height: 474px;
top: 50%;
margin-top: -266px;
2016-03-03 17:23:08 +08:00
}
.image3 {
2016-03-23 22:36:26 +08:00
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;
2016-03-03 17:23:08 +08:00
}
.image4 {
2016-03-23 22:36:26 +08:00
background: url("https://t.alipayobjects.com/images/T1lyJkXg4aXXXXXXXX.png") no-repeat center / 615px;
height: 364px;
margin: auto;
2016-03-03 17:23:08 +08:00
}
.text-wrapper-bottom {
2016-03-23 22:36:26 +08:00
text-align: center;
margin: 10% auto 40px;
2016-03-03 17:23:08 +08:00
}
.text-wrapper-bottom p {
2016-03-23 22:36:26 +08:00
margin: 20px auto;
font-size: 16px;
line-height: 28px;
color: #999;
}