This repository was archived by the owner on Feb 8, 2021. It is now read-only.
File tree 9 files changed +55
-15
lines changed
9 files changed +55
-15
lines changed Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ run `npm run build` , build to dist folder
14
14
15
15
## Deploy
16
16
17
- ` pm2 start website. sh`
17
+ run ` ./build. sh` , build to dist folder
18
18
19
- ## Restart
19
+ ## Quotas Update
20
20
21
- ` pm2 restart website `
21
+ modify ` js/quotas.json ` , confirm it's a valid JSON file
Original file line number Diff line number Diff line change @@ -61,6 +61,10 @@ $whiteGray: #fcfcfc;
61
61
display : none;
62
62
}
63
63
}
64
+ @media (--small-viewport) {
65
+ position : static;
66
+ padding-bottom : 10px ;
67
+ }
64
68
}
65
69
66
70
html , body {
Original file line number Diff line number Diff line change @@ -14,6 +14,10 @@ body > .main .container {
14
14
padding-left : 70px ;
15
15
padding-right : 70px ;
16
16
}
17
+ @media (--small-viewport) {
18
+ padding-left : 10px ;
19
+ padding-right : 10px ;
20
+ }
17
21
.fa-heart {
18
22
color : # ca0000 ;
19
23
font-size : 32px ;
Original file line number Diff line number Diff line change 2
2
background : url (/assets/features_bg1.svg);
3
3
background-size : contain;
4
4
overflow : hidden;
5
+ @media (--small-viewport) {
6
+ background-size : auto;
7
+ }
5
8
.bg {
6
9
position : absolute;
7
10
left : -150px ;
18
21
}
19
22
}
20
23
.intro-wrap {
21
- @media (--laptop-viewport) {
22
- transform : scale (0.85 );
23
- padding : 10px ;
24
- }
25
24
padding : 100px 10px 50px 10px ;
26
25
display : flex;
27
26
align-items : flex-start;
30
29
width : 100% ;
31
30
margin : 0 auto;
32
31
max-width : 1224px ;
32
+ @media (--laptop-viewport) {
33
+ transform : scale (0.85 );
34
+ padding : 10px ;
35
+ }
36
+ @media (--small-viewport) {
37
+ flex-direction : column;
38
+ padding : 20px 10px 20px 10px ;
39
+ }
33
40
.list {
34
41
list-style : circle;
35
42
margin-left : 16px ;
40
47
.intro-title {
41
48
@mixin title;
42
49
position : relative;
50
+ @media (--small-viewport) {
51
+ text-align : center;
52
+ margin-bottom : 50px ;
53
+ & ::after {
54
+ display : none;
55
+ }
56
+ }
43
57
}
44
58
& .right {
45
59
flex-flow : row-reverse;
49
63
left : auto;
50
64
}
51
65
}
66
+ @media (--small-viewport) {
67
+ flex-direction : column;
68
+ }
52
69
}
53
70
.intro-line {
54
71
width : 600px ;
55
72
justify-content : space-between;
73
+ @media (--small-viewport) {
74
+ width : auto;
75
+ }
56
76
}
57
77
.intro {
58
78
margin-bottom : 20px ;
59
79
text-align : left;
60
80
display : flex;
61
81
align-items : flex-start;
82
+ @media (--small-viewport) {
83
+ flex-direction : column;
84
+ text-align : center;
85
+ }
62
86
.image {
63
87
min-width : 100px ;
64
88
margin-right : 40px ;
89
+ @media (--small-viewport) {
90
+ margin : 0 auto;
91
+ margin-bottom : 10px ;
92
+ }
65
93
}
66
94
.info {
67
95
text-align : left;
96
+ @media (--small-viewport) {
97
+ text-align : center;
98
+ }
68
99
.head {
69
100
font-family : 'Fjalla One' ;
70
101
font-weight : bold;
Original file line number Diff line number Diff line change 109
109
font-size : 14px ;
110
110
font-style : italic;
111
111
@media (--small-viewport) {
112
- width : 40px ;
113
- height : 40px ;
114
- line-height : 40px ;
112
+ display : none;
115
113
}
116
114
& : hover {
117
115
opacity : 0.9 ;
Original file line number Diff line number Diff line change @@ -36,6 +36,9 @@ $itemStart: 3.16em;
36
36
.icon {
37
37
width : 65px ;
38
38
margin-bottom : 5px ;
39
+ @media (--small-viewport) {
40
+ width : 55px ;
41
+ }
39
42
}
40
43
.name {
41
44
font-size : 18px ;
Original file line number Diff line number Diff line change 1
1
@media (--small-viewport ) {
2
- # index .container > .cases {
2
+ # index .container .cases {
3
3
4
4
5
5
.content .group {
Original file line number Diff line number Diff line change 1
1
@media (--small-viewport ) {
2
- # index .container > .intro {
2
+ # index .container .intro {
3
3
& , & .right { flex-direction : column; }
4
4
& .right .title { border-left : 0 ; }
5
5
.title {
Original file line number Diff line number Diff line change 1
1
@media (--ipad-viewport) {
2
- # index .container > .prices {
2
+ # index .container .prices {
3
3
.content {
4
4
.slider {
5
5
min-width : 50em ;
14
14
15
15
16
16
@media (--small-than-ipad-viewport) {
17
- # index .container > .prices {
17
+ # index .container .prices {
18
18
.content {
19
19
.slider {
20
20
min-width : 30em ;
28
28
}
29
29
30
30
@media (--small-viewport) {
31
- # index .container > .prices {
31
+ # index .container .prices {
32
32
.content {
33
33
.items {
34
34
min-width : 20em ;
You can’t perform that action at this time.
0 commit comments