ant-design/site/theme/static/footer.less
ddcat1115 daf596a898
Upgrade antd 3.0 site style (#8324)
* 3.0 site update

* update footer

* improve
2017-11-27 15:36:58 +08:00

78 lines
1.4 KiB
Plaintext

@import './colors';
@padding-space: 114px;
footer.dark {
background-color: #000;
color: rgba(255, 255, 255, 0.65);
a {
color: #fff;
}
h2 {
color: rgba(255, 255, 255, 1);
& > span {
color: rgba(255, 255, 255, 1);
}
}
.bottom-bar {
border-top: 1px solid rgba(255, 255, 255, 0.25);
overflow: hidden;
}
}
footer {
border-top: 1px solid @border-color;
clear: both;
font-size: 12px;
background: #fff;
position: relative;
z-index: 100;
color: @text-color;
box-shadow: 0 1000px 0 1000px #fff;
.ant-row {
text-align: center;
.footer-center {
display: inline-block;
text-align: left;
> h2 {
font-size: 14px;
margin: 0 auto 24px;
font-weight: 500;
position: relative;
> .anticon {
font-size: 16px;
position: absolute;
left: -22px;
top: 3px;
color: #aaa;
}
}
> div {
margin: 12px 0;
}
}
}
.footer-wrap {
position: relative;
padding: 86px @padding-space 70px @padding-space;
}
.bottom-bar {
border-top: 1px solid @border-color;
text-align: right;
padding: 20px @padding-space;
margin: 0;
line-height: 24px;
a {
color: rgba(255, 255, 255, 0.65);
&:hover {
color: #fff;
}
}
.build-tool {
text-align: left;
width: 200px;
margin: 0 auto;
}
}
}