ant-design/site/theme/template/Home/Banner/Logo.less

47 lines
708 B
Plaintext
Raw Normal View History

@import (reference) '../../../style/themes/index.less';
2019-12-26 15:27:52 +08:00
.home-card-logo {
position: relative;
display: inline-block;
max-width: 500px;
2019-12-26 15:27:52 +08:00
margin: 0 32px;
cursor: pointer;
.home-card-logo-icon {
position: absolute;
top: -38px;
left: 339px;
2019-12-26 15:27:52 +08:00
display: none;
width: 64px;
height: 64px;
}
.home-banner-mini {
display: block;
max-width: 100%;
}
2019-12-26 15:27:52 +08:00
.home-banner-normal {
display: none;
}
}
@media (min-width: @screen-sm-min) {
.home-card-logo {
height: 90px;
vertical-align: top;
.home-banner-mini {
display: none;
}
2019-12-26 15:27:52 +08:00
.home-banner-normal {
display: block;
}
2019-12-26 15:27:52 +08:00
.home-card-logo-icon {
display: block;
}
}
}