ant-design/site/theme/static/header.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

48 lines
763 B
Plaintext

#header {
// ===================== Home Page =====================
&.home-header {
position: absolute;
top: 0;
right: 0;
left: 0;
max-width: 1280px;
margin-right: auto;
margin-left: auto;
background: transparent;
box-shadow: none;
#logo {
padding-right: 16px;
padding-left: 40px;
html.rtl & {
padding-right: 40px;
padding-left: 16px;
}
}
.ant-menu {
background: transparent;
}
}
}
@media (max-width: @screen-sm-min) {
#header.home-header {
.ant-row {
.ant-col {
margin: 0 auto;
a {
padding-right: 0;
padding-left: 0;
}
&:last-child {
display: none;
}
}
}
}
}