contact.less
2.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
.contact-section {
height: 740px;
background: url(../img/bg_contact.png) no-repeat 50% 0;
overflow: hidden;
.main-content {
margin-left: 180px;
width: 530px;
height: 742px;
background: #fff;
box-shadow: 0 0 1px 1px #ccc;
box-sizing: border-box;
padding: 70px 50px 0;
p {
margin-top: 10px;
font-size: 18px;
color: #4a494a;
}
.tc {
//text-align: center;
//padding: 70px 0 40px;
margin-top: 20px;
}
.phone {
font: 40px/50px 'LiHei Pro';
color: #000;
position: relative;
padding-left: 50px;
margin-left: 12%;
&:before {
position: absolute;
left: 0;
top: 2px;
background: url(../img/phone.png);
width: 44px;
height: 44px;
content: ' ';
background-size: cover;
}
//text-align: center;
}
}
h2 {
text-align: center;
}
.t-cn {
color: #4a494a;
}
.t-en {
color: #9b9a9b;
//padding-bottom: 20px;
margin: 18px 0 30px;
}
}
@media only screen and (max-width: 767px){
.contact-section {
height: 740px;
background: url(../img/bg_contact.png) no-repeat 50% 0;
overflow: hidden;
.main-content {
margin: 50px 20px 0;
height: auto;
background: #fff;
box-shadow: 0 0 1px 1px #ccc;
box-sizing: border-box;
padding: 50px 20px 20px;
width: auto;
p {
//margin-top: 30px;
font-size: 17px;
color: #4a494a;
}
.tc {
//text-align: center;
// padding: 35px 0 20px;
}
.phone {
font: 34px/50px 'LiHei Pro';
color: #000;
position: relative;
padding-left: 42px;
margin-left: 0;
&:before {
position: absolute;
left: 0;
top: 7px;
background: url(../img/phone.png);
width: 36px;
height: 36px;
content: ' ';
background-size: cover;
}
//text-align: center;
}
}
}
}