Skip to content

Commit d7ca1b6

Browse files
committed
polish: polish footer and header
1 parent 314da82 commit d7ca1b6

File tree

2 files changed

+21
-6
lines changed

2 files changed

+21
-6
lines changed

Diff for: src/less/footer.less

+7-3
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,12 @@
161161

162162
//iPhone4、iPhone5、iPhone6
163163
@media (max-width: 600px) {
164-
.footer .qr_code_outer {
165-
left: 45%;
166-
margin-top: -50%;
164+
// .footer .qr_code_outer {
165+
// left: 45%;
166+
// margin-top: -50%;
167+
// }
168+
// TODO: sidebar
169+
.footer {
170+
display: none;
167171
}
168172
}

Diff for: src/less/header.less

+14-3
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,6 @@ nav.mobile-sidebar {
338338
@media only screen and (max-width: 600px) {
339339
.header {
340340
.container {
341-
padding: 5px;
342341
justify-content: space-between;
343342
}
344343
.nav-brand {
@@ -350,17 +349,29 @@ nav.mobile-sidebar {
350349
}
351350

352351
.nav-btn {
352+
text-align: center;
353353
background-color: rgba(0, 0, 0, 0.175);
354354
}
355355
}
356356

357-
@media only screen and (max-width: 360px) {
357+
@media only screen and (max-width: 375px) {
358358
.header {
359359
.nav-brand {
360360
height: 24px;
361361
}
362362
.search-wrapper {
363-
width: 10rem;
363+
width: 11rem;
364+
}
365+
}
366+
}
367+
368+
@media only screen and (max-width: 320px) {
369+
.header {
370+
.nav-brand {
371+
height: 22px;
372+
}
373+
.search-wrapper {
374+
width: 9rem;
364375
}
365376
}
366377
}

0 commit comments

Comments
 (0)