mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-14 16:19:15 +08:00
b926c535ea
* chore: rm color-less * refactor: MV theme to variable * docs: fix header * chore: clean up * chore: enable esbuild
48 lines
763 B
Plaintext
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;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|