ant-design/site/theme/static/footer.less
米老朱 6936599aef Enhance stylelint rules (#14803)
* rename .stylelintrc to .stylelintrc.json for explicit file type

* add new npm script lint-fix:style

* fix pseudo-element with double colon

* function name should be lower except ignored functions

* support stylelint declaration-block-no-ignored-properties rule

* support sorted CSS properties order for readability and consistency

* autofix order of all styles by lint-fix:style script

* remove double slash comments after selector

* replace .stylelintignore with ignoreFiles in .stylelintrc.json
2019-02-15 10:48:07 +08:00

81 lines
1.5 KiB
Plaintext

@import './colors';
@padding-space: 24px;
footer {
position: relative;
z-index: 9;
clear: both;
margin-left: -1px;
color: rgba(255, 255, 255, 0.65);
font-size: 14px;
background-color: #000;
.ant-row {
text-align: center;
.footer-center {
display: inline-block;
text-align: left;
> h2 {
position: relative;
margin: 0 auto 24px;
font-weight: 500;
font-size: 16px;
> .title-icon {
width: 27px;
margin-right: 16px;
}
> .anticon {
position: absolute;
top: 3px;
left: -22px;
color: #aaa;
font-size: 16px;
}
}
> div {
margin: 12px 0;
}
}
}
.footer-wrap {
position: relative;
padding: 86px @padding-space 93px @padding-space;
border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}
.bottom-bar {
margin: 0;
padding: 16px @padding-space;
overflow: hidden;
font-size: 16px;
font-family: Avenir, @font-family, sans-serif;
line-height: 32px;
text-align: center;
a {
margin-left: 4px;
color: rgba(255, 255, 255, 0.65);
&:hover {
color: #fff;
}
}
.translate-button {
text-align: left;
}
.heart {
color: #f73f51;
font-size: 22px;
}
}
a {
color: rgba(255, 255, 255, 0.9);
}
h2 {
color: rgba(255, 255, 255, 1);
& > span {
color: rgba(255, 255, 255, 1);
}
}
}