Skip to content

Commit 0df19d0

Browse files
committed
adjust reponsive style
1 parent 2b968ff commit 0df19d0

File tree

1 file changed

+16
-24
lines changed

1 file changed

+16
-24
lines changed

static/css/mobile.css

+16-24
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,8 @@
2727

2828
/* ipad pro vertical screen & mobile */
2929
@media (max-width: 1024px) {
30-
.main .container {
31-
position: static;
32-
}
3330
.main section {
34-
position: relative;
31+
height: auto;
3532
}
3633
.main section .section-content {
3734
width: auto !important;
@@ -261,10 +258,11 @@
261258

262259
/* section.first */
263260
.main .first {
264-
height: auto;
261+
overflow: visible;
262+
}
263+
.main .first .container {
265264
min-height: 1.8rem;
266265
padding: 0.88rem 0 2.6rem;
267-
overflow: visible;
268266
}
269267
.main .first .section-content {
270268
top: 0.88rem;
@@ -275,6 +273,7 @@
275273
line-height: 1.43;
276274
}
277275
.main .first .section-link {
276+
font-size: 0.14rem;
278277
text-align: center;
279278
margin-top: 0.12rem;
280279
}
@@ -305,8 +304,7 @@
305304
}
306305

307306
/* section.second */
308-
.main .second {
309-
height: auto;
307+
.main .second .container {
310308
min-height: 4.88rem;
311309
padding: 1.65rem 0 4.52rem;
312310
}
@@ -364,8 +362,7 @@
364362
}
365363

366364
/* section.third */
367-
.main .third {
368-
height: auto;
365+
.main .third .container{
369366
min-height: 2.76rem;
370367
padding: 0.8rem 0 4.48rem;
371368
}
@@ -407,8 +404,7 @@
407404
}
408405

409406
/* section.fourth */
410-
.main .fourth {
411-
height: auto;
407+
.main .fourth .container{
412408
min-height: 3.2rem;
413409
padding: 0.8rem 0 5.62rem;
414410
}
@@ -439,8 +435,7 @@
439435
}
440436

441437
/* section.fifth */
442-
.main .fifth {
443-
height: auto;
438+
.main .fifth .container{
444439
min-height: 3.04rem;
445440
padding: 0.2rem 0 5.2rem;
446441
}
@@ -471,8 +466,7 @@
471466
}
472467

473468
/* section.sixth */
474-
.main .sixth {
475-
height: auto;
469+
.main .sixth .container{
476470
min-height: 1.52rem;
477471
padding: 0.8rem 0 4rem;
478472
}
@@ -540,7 +534,7 @@
540534
.sixth .section-img69 {
541535
top: auto;
542536
left: 1.45rem;
543-
bottom: -0.2rem;
537+
bottom: -0.25rem;
544538
width: 0.72rem;
545539
height: 0.56rem;
546540
}
@@ -582,8 +576,7 @@
582576
}
583577

584578
/* section.seventh */
585-
.main .seventh {
586-
height: auto;
579+
.main .seventh .container{
587580
min-height: 2.8rem;
588581
padding: 0;
589582
}
@@ -603,9 +596,9 @@
603596
}
604597
.seventh .section-img71 {
605598
top: -0.15rem;
606-
left: 0;
607-
width: 6.5rem;
608-
height: 2.85rem;
599+
left: 1.15rem;
600+
width: 1.43rem;
601+
height: 0.46rem;
609602
}
610603
.seventh .section-img72 {
611604
top: 0.1rem;
@@ -615,8 +608,7 @@
615608
}
616609

617610
/* section.eighth */
618-
.main .eighth {
619-
height: auto;
611+
.main .eighth .container{
620612
min-height: 2.34rem;
621613
padding: 0;
622614
}

0 commit comments

Comments
 (0)