ant-design/site/theme/template/Layout/Header/Logo.less
二货机器人 b926c535ea
docs: site build script update (#32984)
* chore: rm color-less

* refactor: MV theme to variable

* docs: fix header

* chore: clean up

* chore: enable esbuild
2021-11-23 18:57:59 +08:00

41 lines
775 B
Plaintext

@import '../../../static/theme.less';
@import (reference) '../../../../../components/style/themes/index.less';
@import './index.less';
#logo {
height: @header-height;
padding-left: 40px;
overflow: hidden;
color: @site-heading-color;
font-weight: bold;
font-size: 18px;
font-family: PuHuiTi, @font-family, sans-serif;
line-height: @header-height;
letter-spacing: -0.18px;
white-space: nowrap;
text-decoration: none;
.ant-row-rtl & {
float: right;
padding-right: 40px;
padding-left: 0;
}
img {
height: 32px;
margin-right: 12px;
.ant-row-rtl & {
margin-right: 0;
margin-left: 16px;
}
}
}
@media only screen and (max-width: @mobile-max-width) {
#logo {
padding-right: 0;
padding-left: 0;
}
}