about.less
2.87 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
@import url(/modules/css/config.less);
.about-section {
background: #595e65 url(../img/bg_about.png) no-repeat 50% 0;
height: 482px;
.layout-row {
color: #fff;
width: 1140px;
padding-top: 70px;
padding-left: 520px;
position: relative;
.content {
//float: left;
position: absolute;
left: 0;
top: 60px;
width: 480px;
}
.ul {
//float: right;
max-width: 610px;
margin-left: auto;
margin-top: 80px;
.flex();
a {
color: #fff;
}
li {
width: 178px;
height: 187px;
border: 1px solid #999b9e;
box-sizing: border-box;
padding-top: 108px;
font: 28px/70px '黑体';
text-align: center;
&:hover {
background-color: rgba(255, 255, 255, 0.3);
}
}
.reset {
background: url(../img/icon_reset.png) no-repeat 50% 38px;
}
.relax {
background: url(../img/icon_relax.png) no-repeat 50% 38px;
}
.renew {
background: url(../img/icon_renew.png) no-repeat 50% 38px;
}
}
}
h2 {
text-align: center;
}
.mt30 {
margin-top: 30px;
}
}
@media only screen and (min-width: 768px) and (max-width: 1142px) {
.about-section .layout-row .content {
position: static;
margin: 30px auto 0;
width: 720px;
}
.about-section .layout-row {
width: auto;
padding-left: 0;
}
.about-section .layout-row .ul {
max-width: none;
width: 720px;
margin: 40px auto 0;
padding-bottom: 80px;
}
.about-section {
background: #595e65 url(../img/bg_about.png) repeat-y 50% 0;
height: auto;
}
}
@media only screen and (max-width: 767px) {
.about-section {
background: #595e65 url(../img/bg_about.png) repeat-y 50% 0;
height: auto;
.layout-row {
color: #fff;
width: auto;
padding: 70px 20px;
text-align: justify;
position: relative;
.content {
//float: left;
position: static;
width: auto;
}
.ul {
//float: right;
max-width: none;
margin-top: 40px;
.flex();
a {
color: #fff;
}
li {
width: 178px;
height: 187px;
border: 1px solid #999b9e;
box-sizing: border-box;
padding-top: 108px;
font: 28px/70px '黑体';
text-align: center;
&:hover {
background-color: rgba(255, 255, 255, 0.3);
}
}
.reset {
background: url(../img/icon_reset.png) no-repeat 50% 38px;
}
.relax {
background: url(../img/icon_relax.png) no-repeat 50% 38px;
}
.renew {
background: url(../img/icon_renew.png) no-repeat 50% 38px;
}
}
}
h2 {
text-align: center;
}
.mt30 {
margin-top: 30px;
}
}
}