update responsive, add home footer style

This commit is contained in:
jljsj 2018-01-19 18:17:10 +08:00
parent 32023c24e5
commit 7b90be6326
3 changed files with 28 additions and 2 deletions

View File

@ -109,7 +109,7 @@
"delegate": "^3.1.2",
"docsearch.js": "^2.5.2",
"dora-plugin-upload": "^0.3.1",
"enquire-js": "^0.1.1",
"enquire-js": "^0.1.2",
"enzyme": "^3.1.0",
"enzyme-adapter-react-16": "^1.0.0",
"enzyme-to-json": "^3.1.2",

View File

@ -44,7 +44,7 @@
}
}
@media only screen and (max-width: @screen-md) {
@media only screen and (max-width: 767.99px) {
#header {
text-align: center;
#logo {

View File

@ -41,6 +41,32 @@ function getStyle() {
width: 50%;
float: right;
}
footer .footer-wrap{
width: 100%;
padding: 0;
}
footer .bottom-bar{
margin: auto;
max-width: 1200px;
padding: 16px 24px;
}
footer .bottom-bar{
border-top: none;
}
footer .footer-wrap .ant-row{
width: 100%;
max-width: 1200px;
padding: 86px 24px 93px 24px;
margin: auto;
}
@media only screen and (max-width: 767.99px) {
#footer .footer-wrap{
padding: 40px 24px
}
footer .footer-wrap .ant-row {
padding: 0;
}
}
`;
}